2013-07-26 22:38:34 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"device": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"name": {
|
|
|
|
"type":"string",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type":"string",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"output": {
|
|
|
|
"type":"string",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"interval": {
|
|
|
|
"type":"integer",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"rate": {
|
|
|
|
"type":"integer",
|
|
|
|
"required":true
|
|
|
|
}
|
2013-08-15 21:11:02 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2013-07-26 22:38:34 +02:00
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties": {
|
2013-08-21 21:50:17 +02:00
|
|
|
"hsv" : {
|
|
|
|
"type" : "object",
|
|
|
|
"required" : true,
|
|
|
|
"properties" : {
|
|
|
|
"saturationGain" : {
|
|
|
|
"type" : "number",
|
|
|
|
"required" : true,
|
|
|
|
"minimum" : 0.0
|
|
|
|
},
|
|
|
|
"valueGain" : {
|
|
|
|
"type" : "number",
|
|
|
|
"required" : true,
|
|
|
|
"minimum" : 0.0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties" : false
|
|
|
|
},
|
2013-07-26 22:38:34 +02:00
|
|
|
"red": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"blacklevel": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
2013-08-15 21:11:02 +02:00
|
|
|
},
|
|
|
|
"whitelevel": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"threshold": {
|
|
|
|
"type":"number",
|
2013-08-21 21:50:17 +02:00
|
|
|
"required":true,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 1.0
|
2013-07-26 22:38:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"green": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
2013-08-21 21:50:17 +02:00
|
|
|
"blacklevel": {
|
2013-07-26 22:38:34 +02:00
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
2013-08-21 21:50:17 +02:00
|
|
|
"whitelevel": {
|
2013-07-26 22:38:34 +02:00
|
|
|
"type":"number",
|
|
|
|
"required":true
|
2013-08-21 21:50:17 +02:00
|
|
|
},
|
|
|
|
"threshold": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 1.0
|
2013-07-26 22:38:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"blue": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
2013-08-21 21:50:17 +02:00
|
|
|
"whitelevel": {
|
2013-07-26 22:38:34 +02:00
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"blacklevel": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
2013-08-21 21:50:17 +02:00
|
|
|
},
|
|
|
|
"threshold": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 1.0
|
2013-07-26 22:38:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"leds": {
|
|
|
|
"type":"array",
|
|
|
|
"required":true,
|
|
|
|
"items": {
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"index": {
|
|
|
|
"type":"integer",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"hscan": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties": {
|
|
|
|
"minimum": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"maximum": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"vscan": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties": {
|
|
|
|
"minimum": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"maximum": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|