hyperion.ng/effects/schema/candle.schema.json

74 lines
1.4 KiB
JSON
Raw Normal View History

{
"type":"object",
"script" : "candle.py",
2017-04-27 14:29:07 +02:00
"title":"edt_eff_candle_header",
"required":true,
"properties":{
"candles": {
"type": "string",
2017-04-27 14:29:07 +02:00
"title":"edt_eff_whichleds",
"enum" : ["all","all-together","list"],
"default" : "all",
"options" : {
"enum_titles" : ["edt_eff_enum_all", "edt_eff_enum_all-together", "edt_eff_enum_list"]
},
"propertyOrder" : 1
},
"ledlist": {
"type": "string",
2017-04-27 14:29:07 +02:00
"title":"edt_eff_ledlist",
"default" : "1,11,21",
2017-04-27 14:29:07 +02:00
"options": {
"dependencies": {
"candles": "list"
}
},
"propertyOrder" : 2
},
"color": {
"type": "array",
2017-04-27 14:29:07 +02:00
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,138,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 3
},
"colorShift": {
2017-04-27 14:29:07 +02:00
"type": "integer",
"title":"edt_eff_colorshift",
"default": 1,
"minimum" : 0,
"maximum": 30,
"append" : "edt_append_percent",
"propertyOrder" : 4
},
"brightness": {
2017-04-27 14:29:07 +02:00
"type": "integer",
"title":"edt_eff_brightness",
"default": 100,
"minimum" : 1,
"maximum": 100,
"step" : 10,
"append" : "edt_append_percent",
"propertyOrder" : 5
},
"sleepTime": {
"type": "number",
2017-04-27 14:29:07 +02:00
"title":"edt_eff_sleeptime",
"default": 0.15,
"minimum" : 0.01,
"maximum": 1,
"step": 0.01,
"append" : "edt_append_s",
"propertyOrder" : 6
}
},
"additionalProperties": false
}