mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
ee7a596d53
- Moved transform of led values to before the device write so transform changes are taken into account
69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["transform"]
|
|
},
|
|
"transform": {
|
|
"type": "object",
|
|
"required": true,
|
|
"properties": {
|
|
"saturationGain" : {
|
|
"type" : "double",
|
|
"required" : false,
|
|
"minimum" : 0.0
|
|
},
|
|
"valueGain" : {
|
|
"type" : "double",
|
|
"required" : false,
|
|
"minimum" : 0.0
|
|
},
|
|
"threshold": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "double",
|
|
"minimum": 0.0,
|
|
"maximum": 1.0
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"gamma": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "double",
|
|
"minimum": 0.0
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"blacklevel": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "double"
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"whitelevel": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "double"
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|