Azure Device Update for IoT Hub update manifest
Azure Device Update for IoT Hub update manifest
| Type | object |
|---|---|
| File match |
*.updatemanifest.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/azure-device-update-for-iot-hub-update-manifest/latest.json |
| Source | https://www.schemastore.org/azure-deviceupdate-update-manifest-5.json |
Versions
Validate with Lintel
npx @lintel/lintel check
JSON schema of update manifest sent by Device Update for IoT Hub to device agent during deployment.
Properties
One of
Definitions
Manifest containing metadata of the detached, downloadable, complete update manifest.
Full update manifest containing metadata of the update being deployed.
1 nested properties
Map of '#/definitions/fileId' to file metadata.
Date & time update was created in ISO 8601 format.
Server generated file identifier to be used for retrieving file metadata and download URL.
Installation instruction step that performs code execution.
'fileId' of update files that agent will pass to handler.
Installation instruction step that installs another update.
Server generated file identifier to be used for retrieving file metadata and download URL.
Examples
{
"manifestVersion": "4",
"updateId": {
"provider": "Microsoft",
"name": "Toaster",
"version": "1.0"
},
"compatibility": [
{
"deviceManufacturer": "Microsoft",
"deviceModel": "Toaster"
}
],
"instructions": {
"steps": [
{
"handler": "microsoft/script:1",
"handlerProperties": {
"arguments": "--pre-install"
},
"files": [
"fileId0"
]
},
{
"type": "reference",
"detachedManifestFileId": "fileId1"
}
]
},
"files": {
"fileId0": {
"filename": "configure.sh",
"sizeInBytes": 718,
"hashes": {
"sha256": "mcB5SexMU4JOOzqmlJqKbue9qMskWY3EI/iVjJxCtAs="
},
"relatedFiles": [
{
"filename": "in1_in2_deltaupdate.dat",
"sizeInBytes": 102910752,
"hashes": {
"sha256": "2MIldV8LkdKenjJasgTHuYi+apgtNQ9FeL2xsV3ikHY="
},
"properties": {
"microsoft.sourceFileHashAlgorithm": "sha256",
"microsoft.sourceFileHash": "YmFYwnEUddq2nZsBAn5v7gCRKdHx+TUntMz5tLwU+24="
}
}
],
"downloadHandler": {
"id": "microsoft/delta:1"
}
},
"fileId1": {
"filename": "microsoft.sensor.1.0.updatemanifest.json",
"sizeInBytes": 2048,
"hashes": {
"sha256": "789s9PDfX4uA9wFUubyC30BWkLFbgmpkpmz1fEdqo2U="
}
}
},
"createdDateTime": "2021-09-28T18:32:01.8404544Z"
}