
schema.firmware.FirmwareUpdateProgressInfo.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A FirmwareUpdateProgressInformation following the convention of http://microformats.org/wiki/hcard",
"type": "object",
"properties": {
"connectionId": { "type": "string" },
"node": { "$ref": "../NodeAddress.json#/definitions/nodeAddress" },
"progress" : { "type" : "integer" },
"total" : { "type" : "integer" },
"status" : { "$ref": "#/definitions/simpleFirmwareUpdateStatus" },
"msgKey" : { "type": "string" },
"msgKeyArgs" : { "type" : "array" },
"updateStatus" : { "$ref": "#/definitions/firmwareUpdateStatus" }
},
"required": ["connectionId", "node"],
"definitions": {
"firmwareUpdateStatus": {
"description": "A FirmwareUpdateStatus following the convention of http://microformats.org/wiki/hcard",
"type": "string",
"enum": ["None", "Prepare", "EntryPassed", "DataTransfer", "DataTransferPassed", "ExitPassed", "PrepareFailed", "DataTransferFailed", "NodeLost"],
"javaEnums": [
{
"name": "None"
}, {
"name": "Prepare"
}, {
"name": "EntryPassed"
}, {
"name": "DataTransfer"
}, {
"name": "DataTransferPassed"
}, {
"name": "ExitPassed"
}, {
"name": "PrepareFailed"
}, {
"name": "DataTransferFailed"
}, {
"name": "NodeLost"
}
]
},
"simpleFirmwareUpdateStatus": {
"description": "A SimpleFirmwareUpdateStatus following the convention of http://microformats.org/wiki/hcard",
"type": "integer",
"enum": ["0", "1", "2", "3"],
"javaEnums": [
{
"name": "UNKNOWN"
}, {
"name": "RUNNING"
}, {
"name": "FINISHED"
}, {
"name": "FAILED"
}
]
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy