snake.schema.json 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "type":"object",
  3. "script" : "snake.py",
  4. "title":"edt_eff_snake_header",
  5. "required":true,
  6. "properties":{
  7. "color": {
  8. "type": "array",
  9. "title":"edt_eff_color",
  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. "background-color": {
  22. "type": "array",
  23. "title":"edt_eff_color",
  24. "format":"colorpicker",
  25. "default": [0,0,0],
  26. "items" : {
  27. "type": "integer",
  28. "minimum": 0,
  29. "maximum": 255
  30. },
  31. "minItems": 3,
  32. "maxItems": 3,
  33. "propertyOrder" : 2
  34. },
  35. "rotation-time": {
  36. "type": "number",
  37. "title":"edt_eff_rotationtime",
  38. "default": 12.0,
  39. "minimum" : 0.1,
  40. "append" : "edt_append_s",
  41. "propertyOrder" : 3
  42. },
  43. "percentage": {
  44. "type": "integer",
  45. "title":"edt_eff_length",
  46. "default": 10,
  47. "append" : "edt_append_percent",
  48. "propertyOrder" : 4
  49. }
  50. },
  51. "additionalProperties": false
  52. }