2016-04-02 00:04:11 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"command": {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"enum" : ["adjustment"]
|
|
|
|
},
|
2016-08-17 11:46:36 +02:00
|
|
|
"tan" : {
|
|
|
|
"type" : "integer"
|
|
|
|
},
|
2016-04-02 00:04:11 +02:00
|
|
|
"adjustment": {
|
|
|
|
"type": "object",
|
|
|
|
"required": true,
|
|
|
|
"properties": {
|
|
|
|
"id" : {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : false
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"red": {
|
2016-04-02 00:04:11 +02:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"green": {
|
2016-04-02 00:04:11 +02:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"blue": {
|
2016-04-02 00:04:11 +02:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
2017-01-06 14:25:55 +01:00
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"yellow": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"magenta": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"cyan": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"black": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"white": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type": "array",
|
|
|
|
"required": false,
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"gammaRed": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type" : "number",
|
|
|
|
"required" : false,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 100.0
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"gammaGreen": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type" : "number",
|
|
|
|
"required" : false,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 100.0
|
|
|
|
},
|
2017-02-08 14:36:28 +01:00
|
|
|
"gammaBlue": {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type" : "number",
|
|
|
|
"required" : false,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 100.0
|
|
|
|
},
|
2017-02-11 22:52:47 +01:00
|
|
|
"backlightThreshold" : {
|
2017-01-06 14:25:55 +01:00
|
|
|
"type" : "number",
|
|
|
|
"required" : false,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 1.0
|
|
|
|
},
|
2017-02-11 22:52:47 +01:00
|
|
|
"backlightColored" : {
|
|
|
|
"type" : "boolean",
|
|
|
|
"required" : false
|
|
|
|
},
|
2017-01-06 14:25:55 +01:00
|
|
|
"brightness" : {
|
|
|
|
"type" : "number",
|
|
|
|
"required" : false,
|
|
|
|
"minimum" : 0.0,
|
|
|
|
"maximum" : 1.0
|
2016-04-02 00:04:11 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|