hyperion.ng/effects/schema/trails.schema.json
2017-04-27 14:29:07 +02:00

67 lines
1.2 KiB
JSON

{
"type":"object",
"script" : "trails.py",
"title":"edt_eff_trails_header",
"required":true,
"properties":{
"min_len": {
"type": "integer",
"title":"edt_eff_min_len",
"default": 2,
"minimum" : 1,
"propertyOrder" : 1
},
"max_len": {
"type": "integer",
"title":"edt_eff_max_len",
"default": 7,
"minimum" : 1,
"propertyOrder" : 2
},
"height": {
"type": "integer",
"title":"edt_eff_height",
"default": 8,
"minimum" : 1,
"propertyOrder" : 3
},
"trails": {
"type": "integer",
"title":"edt_eff_count",
"default": 3,
"minimum" : 1,
"propertyOrder" : 4
},
"speed": {
"type": "integer",
"title":"edt_eff_speed",
"default": 100,
"minimum" : 10,
"append" : "edt_append_ms",
"propertyOrder" : 5
},
"random": {
"type": "boolean",
"title":"edt_eff_colorrandom",
"default": false,
"propertyOrder" : 6
},
"color": {
"type": "array",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 7
}
},
"additionalProperties": false
}