shutdown.schema.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "type":"object",
  3. "script" : "shutdown.py",
  4. "title":"edt_eff_systemshutdown_header",
  5. "required":true,
  6. "properties":{
  7. "speed": {
  8. "type": "number",
  9. "title":"edt_eff_speed",
  10. "default": 1.0,
  11. "minimum" : 0.3,
  12. "step" : 0.1,
  13. "propertyOrder" : 1
  14. },
  15. "alarm-color": {
  16. "type": "array",
  17. "title":"edt_eff_alarmcolor",
  18. "format":"colorpicker",
  19. "default": [255,0,0],
  20. "items" : {
  21. "type": "integer",
  22. "minimum": 0,
  23. "maximum": 255
  24. },
  25. "minItems": 3,
  26. "maxItems": 3,
  27. "propertyOrder" : 2
  28. },
  29. "post-color": {
  30. "type": "array",
  31. "title":"edt_eff_postcolor",
  32. "format" : "colorpicker",
  33. "default": [255,174,11],
  34. "items" : {
  35. "type": "integer",
  36. "minimum": 0,
  37. "maximum": 255
  38. },
  39. "minItems": 3,
  40. "maxItems": 3,
  41. "propertyOrder" : 3
  42. },
  43. "initial-blink": {
  44. "type": "boolean",
  45. "title":"edt_eff_initial_blink",
  46. "default": true,
  47. "propertyOrder" : 4
  48. },
  49. "set-post-color": {
  50. "type": "boolean",
  51. "title":"edt_eff_set_post_color",
  52. "default": true,
  53. "propertyOrder" : 5
  54. },
  55. "shutdown-enabled": {
  56. "type": "boolean",
  57. "title":"edt_eff_enableshutdown",
  58. "default": false,
  59. "propertyOrder" : 6
  60. }
  61. },
  62. "additionalProperties": false
  63. }