2017-08-04 12:01:45 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"script" : "police.py",
|
|
|
|
"title":"edt_eff_police_header",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"color_one": {
|
|
|
|
"type": "array",
|
|
|
|
"title":"edt_eff_colorone",
|
|
|
|
"format":"colorpicker",
|
|
|
|
"default": [255,0,0],
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3,
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"color_two": {
|
|
|
|
"type": "array",
|
|
|
|
"title":"edt_eff_colortwo",
|
|
|
|
"format":"colorpicker",
|
|
|
|
"default": [0,0,255],
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3,
|
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
|
|
|
"colors_count": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_eff_colorcount",
|
|
|
|
"default": 10,
|
|
|
|
"minimum" : 0,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
|
|
|
"rotation-time": {
|
|
|
|
"type": "number",
|
|
|
|
"title":"edt_eff_rotationtime",
|
|
|
|
"default": 2.0,
|
|
|
|
"minimum" : 0.1,
|
|
|
|
"append" : "edt_append_s",
|
|
|
|
"propertyOrder" : 4
|
|
|
|
},
|
|
|
|
"reverse": {
|
|
|
|
"type": "boolean",
|
|
|
|
"title":"edt_eff_reversedirection",
|
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 5
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|