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