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": {
|
|
|
|
"red": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"adjust": {
|
|
|
|
"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",
|
|
|
|
"required":true
|
2013-07-26 22:38:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"green": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"adjust": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"blacklevel": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"blue": {
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"gamma": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"adjust": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
},
|
|
|
|
"blacklevel": {
|
|
|
|
"type":"number",
|
|
|
|
"required":true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|