hyperion.ng/libsrc/jsonserver/schema/schema-temperature.json
AEtHeLsYn a5a17776d4 BugFix
Former-commit-id: 8887ee93d5bcaa7ee13f4f5afb601a65d59ee113
2016-03-13 12:10:54 +01:00

42 lines
706 B
JSON

{
"type":"object",
"required":true,
"properties":{
"command": {
"type" : "string",
"required" : true,
"enum" : ["temperature"]
},
"temperature": {
"type": "object",
"required": true,
"properties": {
"id" : {
"type" : "string",
"required" : false
},
"red" : {
"type" : "integer",
"required" : false,
"minimum": 0,
"maximum": 255
},
"green" : {
"type" : "integer",
"required" : false,
"minimum": 0,
"maximum": 255
},
"blue" : {
"type" : "integer",
"required" : false,
"minimum": 0,
"maximum": 255
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}