light-clock.schema.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "type":"object",
  3. "script" : "light-clock.py",
  4. "title":"edt_eff_lightclock_header",
  5. "required":true,
  6. "properties":{
  7. "hour-color": {
  8. "type": "array",
  9. "title": "edt_eff_colorHour",
  10. "format": "colorpicker",
  11. "default": [0, 0, 255],
  12. "items": {
  13. "type": "integer",
  14. "minimum": 0,
  15. "maximum": 255
  16. },
  17. "minItems": 3,
  18. "maxItems": 3,
  19. "propertyOrder": 1
  20. },
  21. "minute-color": {
  22. "type": "array",
  23. "title": "edt_eff_colorMinute",
  24. "format": "colorpicker",
  25. "default": [0, 255, 0],
  26. "items": {
  27. "type": "integer",
  28. "minimum": 0,
  29. "maximum": 255
  30. },
  31. "minItems": 3,
  32. "maxItems": 3,
  33. "propertyOrder": 2
  34. },
  35. "second-color": {
  36. "type": "array",
  37. "title": "edt_eff_colorSecond",
  38. "format": "colorpicker",
  39. "default": [255, 0, 0],
  40. "items": {
  41. "type": "integer",
  42. "minimum": 0,
  43. "maximum": 255
  44. },
  45. "minItems": 3,
  46. "maxItems": 3,
  47. "propertyOrder": 3
  48. },
  49. "background-color": {
  50. "type": "array",
  51. "title": "edt_eff_backgroundColor",
  52. "format": "colorpicker",
  53. "default": [0, 0, 0],
  54. "items": {
  55. "type": "integer",
  56. "minimum": 0,
  57. "maximum": 255
  58. },
  59. "minItems": 3,
  60. "maxItems": 3,
  61. "propertyOrder": 4
  62. },
  63. "show_seconds": {
  64. "type": "boolean",
  65. "title":"edt_eff_showseconds",
  66. "default": true,
  67. "propertyOrder" : 5
  68. },
  69. "marker-enabled": {
  70. "type": "boolean",
  71. "title": "edt_eff_markerEnable",
  72. "default": false,
  73. "propertyOrder" : 6
  74. },
  75. "marker-depth": {
  76. "type": "integer",
  77. "title": "edt_eff_markerDepth",
  78. "default": 5,
  79. "minimum" : 0,
  80. "maximum" : 50,
  81. "append" : "edt_append_percent",
  82. "options": {
  83. "dependencies": {
  84. "marker-enabled": true
  85. }
  86. },
  87. "propertyOrder" : 7
  88. },
  89. "marker-width": {
  90. "type": "integer",
  91. "title": "edt_eff_markerWidth",
  92. "default": 5,
  93. "minimum" : 1,
  94. "maximum" : 25,
  95. "append" : "edt_append_percent",
  96. "options": {
  97. "dependencies": {
  98. "marker-enabled": true
  99. }
  100. },
  101. "propertyOrder" : 8
  102. },
  103. "marker-color": {
  104. "type": "array",
  105. "title":"edt_eff_colorMarker",
  106. "format":"colorpicker",
  107. "default": [255,255,255],
  108. "items" : {
  109. "type": "integer",
  110. "minimum": 0,
  111. "maximum": 255
  112. },
  113. "minItems": 3,
  114. "maxItems": 3,
  115. "options": {
  116. "dependencies": {
  117. "marker-enabled": true
  118. }
  119. },
  120. "propertyOrder" : 9
  121. }
  122. },
  123. "additionalProperties": false
  124. }