hyperion.ng/effects/schema/snake.schema.json

39 lines
703 B
JSON
Raw Normal View History

{
"type":"object",
"script" : "snake.py",
"title":"Snake",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"Color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 1
},
"rotation-time": {
"type": "number",
"title":"Rotation time",
"default": 12.0,
"minimum" : 0.1,
"append" : "s",
"propertyOrder" : 2
},
"percentage": {
"type": "integer",
"title":"Length",
"default": 10,
"append" : "%",
"propertyOrder" : 3
}
},
"additionalProperties": false
}