hyperion.ng/libsrc/hyperion/schema/schema-leds.json
brindosch 8db85c9a5a
refactor: Led layout, clearAll (#703)
* add SSDP name field

* YALL - yet another led layout

* led layout migration

* add initial vscode config

* merge clearAll with clear, rename Hyperion::compStateChange

* simpler components api

* Corrected code formatting

+ triggered PR build

* fix: regression from #636

* Support for color patterns

Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2020-02-26 18:54:56 +01:00

64 lines
1.0 KiB
JSON

{
"type": "array",
"required": true,
"minItems": 1,
"items": {
"type": "object",
"required": true,
"properties": {
"hmin": {
"type": "number",
"minimum": 0,
"maximum": 1,
"required": true,
"default": 0
},
"hmax": {
"type": "number",
"minimum": 0,
"maximum": 1,
"required": true,
"default": 0.1
},
"vmin": {
"type": "number",
"minimum": 0,
"maximum": 1,
"required": true,
"default": 0
},
"vmax": {
"type": "number",
"minimum": 0,
"maximum": 1,
"required": true,
"default": 0.1
},
"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"
]
}
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
}