police.schema.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "type":"object",
  3. "script" : "police.py",
  4. "title":"edt_eff_police_header",
  5. "required":true,
  6. "properties":{
  7. "color_one": {
  8. "type": "array",
  9. "title":"edt_eff_colorone",
  10. "format":"colorpicker",
  11. "default": [255,0,0],
  12. "items" : {
  13. "type": "integer",
  14. "minimum": 0,
  15. "maximum": 255
  16. },
  17. "minItems": 3,
  18. "maxItems": 3,
  19. "propertyOrder" : 1
  20. },
  21. "color_two": {
  22. "type": "array",
  23. "title":"edt_eff_colortwo",
  24. "format":"colorpicker",
  25. "default": [0,0,255],
  26. "items" : {
  27. "type": "integer",
  28. "minimum": 0,
  29. "maximum": 255
  30. },
  31. "minItems": 3,
  32. "maxItems": 3,
  33. "propertyOrder" : 2
  34. },
  35. "colors_count": {
  36. "type": "integer",
  37. "title":"edt_eff_colorcount",
  38. "default": 10,
  39. "minimum" : 0,
  40. "propertyOrder" : 3
  41. },
  42. "rotation-time": {
  43. "type": "number",
  44. "title":"edt_eff_rotationtime",
  45. "default": 2.0,
  46. "minimum" : 0.1,
  47. "append" : "edt_append_s",
  48. "propertyOrder" : 4
  49. },
  50. "reverse": {
  51. "type": "boolean",
  52. "title":"edt_eff_reversedirection",
  53. "default": false,
  54. "propertyOrder" : 5
  55. }
  56. },
  57. "additionalProperties": false
  58. }