hyperion.ng/effects/schema/sparks.schema.json
brindosch c433504b81 Webn (#2) (#358)
* upd

* upd

* typo

* update ieff

* typo

* ..

* try

* ..

* rm enum

* .

* .

* split initialeff

* upd schema

* ..

* upd

* .

* .

* .

* update

* update
2017-01-04 10:55:10 +01:00

69 lines
1.4 KiB
JSON

{
"type":"object",
"script" : "sparks.py",
"title":"edt_eff_sparks_header_title",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"edt_eff_color_title",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 1
},
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"default": 2.0,
"minimum" : 0.1,
"append" : "edt_append_s",
"propertyOrder" : 2
},
"sleep-time": {
"type": "number",
"title":"edt_eff_sleeptime_title",
"default": 0.05,
"minimum" : 0.01,
"propertyOrder" : 3
},
"brightness": {
"type": "number",
"title":"edt_eff_brightness_title",
"default": 100,
"minimum" : 1,
"step" : 10,
"append" : "edt_append_percent",
"propertyOrder" : 4
},
"saturation": {
"type": "number",
"title":"edt_eff_saturation_title",
"default": 100,
"minimum" : 1,
"step" : 10,
"append" : "edt_append_percent",
"propertyOrder" : 5
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"default": false,
"propertyOrder" : 6
},
"random-color": {
"type": "boolean",
"title":"edt_eff_colorrandom_title",
"default": false,
"propertyOrder" : 7
}
},
"additionalProperties": false
}