hyperion.ng/libsrc/jsonserver/schema/schema-color.json

38 lines
559 B
JSON
Raw Normal View History

2013-08-18 12:02:17 +02:00
{
"type":"object",
"required":true,
"properties":{
"command": {
"type" : "string",
"required" : true,
"enum" : ["color"]
},
"tan" : {
"type" : "integer"
},
"priority": {
"type": "integer",
"minimum" : 1,
"maximum" : 253,
"required": true
},
"duration": {
"type": "integer",
"required": false
},
2017-02-21 12:02:01 +01:00
"origin": {
"type": "string",
"required": true
},
"color": {
"type": "array",
"required": true,
"items" :{
"type" : "integer"
},
"minItems": 3
}
},
"additionalProperties": false
2013-08-18 12:02:17 +02:00
}