hyperion.ng/libsrc/hyperion/schema/schema-leds.json
brindosch b1fa085d64
Breaking Change: ledLayout, ledColorsStream (#614)
* 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
2019-08-25 16:32:19 +02:00

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
}
}