mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
b1fa085d64
* Remove clone & index in ledConfig * Additional index correction * Rename ledsConfig maximum and minimum in max and min * Rename ledsConfig hscan and vscan with h and v * Optimize ledColorsStream * tiny correction
73 lines
1.2 KiB
JSON
73 lines
1.2 KiB
JSON
{
|
|
"type":"array",
|
|
"required":true,
|
|
"minItems":1,
|
|
"items":
|
|
{
|
|
"type":"object",
|
|
"required" : true,
|
|
"properties":
|
|
{
|
|
"h":
|
|
{
|
|
"type":"object",
|
|
"required" : true,
|
|
"properties":
|
|
{
|
|
"min":
|
|
{
|
|
"type":"number",
|
|
"minimum" : 0,
|
|
"maximum" : 1,
|
|
"required":true,
|
|
"default" : 0
|
|
},
|
|
"max":
|
|
{
|
|
"type":"number",
|
|
"minimum" : 0,
|
|
"maximum" : 1,
|
|
"required":true,
|
|
"default" : 0.1
|
|
}
|
|
},
|
|
"additionalProperties" : false
|
|
},
|
|
"v":
|
|
{
|
|
"type":"object",
|
|
"required" : true,
|
|
"properties":
|
|
{
|
|
"min":
|
|
{
|
|
"type":"number",
|
|
"minimum" : 0,
|
|
"maximum" : 1,
|
|
"required":true,
|
|
"default" : 0
|
|
},
|
|
"max":
|
|
{
|
|
"type":"number",
|
|
"minimum" : 0,
|
|
"maximum" : 1,
|
|
"required":true,
|
|
"default" : 0.1
|
|
}
|
|
},
|
|
"additionalProperties" : false
|
|
},
|
|
"colorOrder":
|
|
{
|
|
"type": "string",
|
|
"enum" : ["rgb", "bgr", "rbg", "brg", "gbr", "grb"],
|
|
"options" : {
|
|
"enum_titles" : ["edt_conf_enum_rgb", "edt_conf_enum_bgr", "edt_conf_enum_rbg", "edt_conf_enum_brg", "edt_conf_enum_gbr", "edt_conf_enum_grb"]
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties" : false
|
|
}
|
|
}
|