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,
|
2017-03-30 06:20:20 +02:00
|
|
|
"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",
|
2017-03-24 10:17:36 +01:00
|
|
|
"minLength" : 4,
|
|
|
|
"maxLength" : 20,
|
2017-02-28 17:53:41 +01:00
|
|
|
"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
|
|
|
}
|