schema.firmware.FirmwareVersion.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
The newest version!
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"firmwareVersionType": {
"description": "A FirmwareVersion following the convention of http://microformats.org/wiki/hcard",
"type": "object",
"properties": {
"manufacturerId": { "type": "integer" },
"productId": { "type": "integer" },
"version": { "type": "string" },
"releaseDate": { "type": "string", "format": "date" },
"lastUpdate": { "type": "string", "format": "date-time", "customDateTimePattern" : "yyyy-MM-dd'T'HH:mm:ss",
"customTimezone": "UTC" },
"protocolVersion": { "type": "string" },
"state" : { "$ref": "#/definitions/firmwareStatusType" },
"origin" : { "$ref": "FirmwareRepoOrigin.json#/definitions/firmwareRepoOriginType" },
"changelog": {
"type": "array",
"items": {
"$ref" : "FirmwareDefines.json#/definitions/infoType"
}
},
"filename": { "type": "string" },
"sha1": { "type": "string" },
"link": { "type": "string" },
"revocationDate": { "type": "string", "format": "date" }
},
"required": ["version"]
},
"firmwareStatusType": {
"description": "A FirmwareStatusType following the convention of http://microformats.org/wiki/hcard",
"type": "string",
"enum": ["beta", "stable", "mandatory", "none"],
"javaEnums": [
{
"name": "Beta"
}, {
"name": "Stable"
}, {
"name": "Mandatory"
}, {
"name": "None"
}
]
}
}
}