Viridi · Schema

SaveOtaPackageInfoRequest

A JSON value representing the OTA Package.

CompanyEnergyEnergy StorageBatteryIoTIndustrial IoTEnergy ManagementManufacturingTelematicsMicrogrid

Properties

Name Type Description
id object JSON object with the ota package Id. Specify existing ota package Id to update the ota package. Referencing non-existing ota package id will cause error. Omit this field to create new ota package.
createdTime integer Timestamp of the ota package creation, in milliseconds
tenantId object JSON object with Tenant Id. Tenant Id of the ota package can't be changed.
deviceProfileId object JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.
type string OTA Package type.
title string OTA Package title.
version string OTA Package version.
tag string OTA Package tag.
url string OTA Package url.
hasData boolean Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set). If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profil
fileName string OTA Package file name.
contentType string OTA Package content type.
checksumAlgorithm string OTA Package checksum algorithm.
checksum string OTA Package checksum.
dataSize integer OTA Package data size.
usesUrl boolean Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.
additionalInfo object OTA Package description.
View JSON Schema on GitHub

JSON Schema

viridi-parente-save-ota-package-info-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/viridi-parente/main/json-schema/viridi-parente-save-ota-package-info-request-schema.json",
  "title": "SaveOtaPackageInfoRequest",
  "description": "A JSON value representing the OTA Package.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/viridi-parente-ota-package-controller-api-openapi.yml#/components/schemas/SaveOtaPackageInfoRequest",
  "properties": {
    "id": {
      "$ref": "#/$defs/OtaPackageId",
      "description": "JSON object with the ota package Id. Specify existing ota package Id to update the ota package. Referencing non-existing ota package id will cause error. Omit this field to create new ota package."
    },
    "createdTime": {
      "type": "integer",
      "format": "int64",
      "description": "Timestamp of the ota package creation, in milliseconds",
      "readOnly": true
    },
    "tenantId": {
      "$ref": "#/$defs/TenantId",
      "description": "JSON object with Tenant Id. Tenant Id of the ota package can't be changed.",
      "readOnly": true
    },
    "deviceProfileId": {
      "$ref": "#/$defs/DeviceProfileId",
      "description": "JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "OTA Package type.",
      "enum": [
        "FIRMWARE",
        "SOFTWARE"
      ],
      "readOnly": true
    },
    "title": {
      "type": "string",
      "description": "OTA Package title.",
      "readOnly": true
    },
    "version": {
      "type": "string",
      "description": "OTA Package version.",
      "readOnly": true
    },
    "tag": {
      "type": "string",
      "description": "OTA Package tag.",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "description": "OTA Package url.",
      "readOnly": true
    },
    "hasData": {
      "type": "boolean",
      "description": "Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set).  If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profile.",
      "readOnly": true
    },
    "fileName": {
      "type": "string",
      "description": "OTA Package file name.",
      "readOnly": true
    },
    "contentType": {
      "type": "string",
      "description": "OTA Package content type.",
      "readOnly": true
    },
    "checksumAlgorithm": {
      "type": "string",
      "description": "OTA Package checksum algorithm.",
      "enum": [
        "MD5",
        "SHA256",
        "SHA384",
        "SHA512",
        "CRC32",
        "MURMUR3_32",
        "MURMUR3_128"
      ],
      "readOnly": true
    },
    "checksum": {
      "type": "string",
      "description": "OTA Package checksum.",
      "readOnly": true
    },
    "dataSize": {
      "type": "integer",
      "format": "int64",
      "description": "OTA Package data size.",
      "readOnly": true
    },
    "usesUrl": {
      "type": "boolean",
      "description": "Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.",
      "readOnly": true
    },
    "additionalInfo": {
      "$ref": "#/$defs/JsonNode",
      "description": "OTA Package description."
    }
  },
  "$defs": {
    "DeviceProfileId": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the entity, time-based UUID v1"
        },
        "entityType": {
          "type": "string",
          "description": "string",
          "enum": [
            "DEVICE_PROFILE"
          ]
        }
      },
      "required": [
        "entityType",
        "id"
      ]
    },
    "JsonNode": {
      "description": "A value representing the any type (object or primitive)"
    },
    "OtaPackageId": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the entity, time-based UUID v1"
        },
        "entityType": {
          "type": "string",
          "description": "string",
          "enum": [
            "OTA_PACKAGE"
          ]
        }
      },
      "required": [
        "entityType",
        "id"
      ]
    },
    "TenantId": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the entity, time-based UUID v1"
        },
        "entityType": {
          "type": "string",
          "description": "string",
          "enum": [
            "TENANT"
          ]
        }
      },
      "required": [
        "entityType",
        "id"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/viridi-parente-save-ota-package-info-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.