2016-03-13 11:59:36 +01:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"command": {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"enum" : ["correction"]
|
|
|
|
},
|
|
|
|
"correction": {
|
|
|
|
"type": "object",
|
|
|
|
"required": true,
|
|
|
|
"properties": {
|
|
|
|
"id" : {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : false
|
|
|
|
},
|
|
|
|
"red" : {
|
2016-03-13 12:10:54 +01:00
|
|
|
"type" : "integer",
|
2016-03-13 11:59:36 +01:00
|
|
|
"required" : false,
|
2016-03-13 12:10:54 +01:00
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
2016-03-13 11:59:36 +01:00
|
|
|
},
|
|
|
|
"green" : {
|
2016-03-13 12:10:54 +01:00
|
|
|
"type" : "integer",
|
2016-03-13 11:59:36 +01:00
|
|
|
"required" : false,
|
2016-03-13 12:10:54 +01:00
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
2016-03-13 11:59:36 +01:00
|
|
|
},
|
|
|
|
"blue" : {
|
2016-03-13 12:10:54 +01:00
|
|
|
"type" : "integer",
|
2016-03-13 11:59:36 +01:00
|
|
|
"required" : false,
|
2016-03-13 12:10:54 +01:00
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
2016-03-13 11:59:36 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|