All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.firmware.FirmwareVersion.json Maven / Gradle / Ivy

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"
				}
			]
    	}
  	}
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy