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

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

There is a newer version: 2.0.29
Show newest version
{
    "$schema": "http://json-schema.org/draft-07/schema#",
	"definitions": {
		"manufacturerType": {
		    "description": "A manufacturer following the convention of http://microformats.org/wiki/hcard",
		    "type": "object",
		    "properties": {
        		"id": { "type": "integer" },
        		"extendedId": { "type": "integer" },
        		"name" : { "type": "string" },
        		"lastUpdate": { "type": "string", "format": "date-time", "customDateTimePattern" : "yyyy-MM-dd'T'HH:mm:ss",
            					"customTimezone": "UTC" }
		    }
	    },
	    "productsType": {
		    "description": "A product following the convention of http://microformats.org/wiki/hcard",
		    "type": "object",
		    "properties": {
        		"id": { "type": "integer" },
        		"name" : { "type": "string" },
		        "info": { 
		            "type": "array", 
		            "items": { 
		                "$ref" : "#/definitions/infoType"
		            } 
		        },        		
        		"image" : { "$ref": "#/definitions/imageType" },
		        "firmwares": { 
		            "type": "array", 
		            "items": { 
		                "$ref" : "FirmwareVersion.json#/definitions/firmwareVersionType"
		            } 
		        },
		        "options": { 
		            "type": "array", 
		            "items": { 
		                "$ref" : "#/definitions/optionType"
		            } 
		        },
		        "changelog": { 
		            "type": "array", 
		            "items": { 
		                "$ref" : "ChangeLog.json#/definitions/changeLogVersionType"
		            } 
		        }
		    }
	    },
	    "imageType": {
		    "description": "A product following the convention of http://microformats.org/wiki/hcard",
		    "type": "object",
		    "properties": {
        		"filename" : { "type": "string" },
        		"link" : { "type": "string" },
        		"sha1" : { "type": "string" }
		    }
	    },
	    "blacklistType": {
		    "description": "A blacklist following the convention of http://microformats.org/wiki/hcard",
		    "type": "array",
            "items": { 
                "type": "string"
            } 
	    },
	    "infoType": {
		    "description": "An Info following the convention of http://microformats.org/wiki/hcard",
		    "type": "object",
		    "properties": {
		        "lang": { "type": "string" },
		        "description" : { "type": "string" },
		        "link" : { "type": "string" }
		    },
		    "required": ["lang", "description"]
    	},
	    "optionType": {
		    "description": "An Option following the convention of http://microformats.org/wiki/hcard",
		    "type": "object",
		    "properties": {
		        "vid": { "type": "integer" },
		        "evid" : { "type": "integer" },
		        "pid" : { "type": "integer" },
		        "name" : { "type": "string" }
		    },
		    "required": ["vid", "evid", "pid"]
    	}
	    
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy