schema-framegrabber.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "type" : "object",
  3. "title" : "edt_conf_fg_heading_title",
  4. "properties":
  5. {
  6. "enable": {
  7. "type": "boolean",
  8. "title": "edt_conf_general_enable_title",
  9. "required": true,
  10. "default": false,
  11. "propertyOrder": 1
  12. },
  13. "available_devices": {
  14. "type": "string",
  15. "title": "edt_conf_grabber_discovered_title",
  16. "default": "edt_conf_grabber_discovery_inprogress",
  17. "options": {
  18. "infoText": "edt_conf_grabber_discovered_title_info"
  19. },
  20. "propertyOrder": 2,
  21. "required": false
  22. },
  23. "device": {
  24. "type": "string",
  25. "title": "edt_conf_enum_custom",
  26. "options": {
  27. "hidden": true
  28. },
  29. "required": true,
  30. "default": "",
  31. "comment": "The 'available_devices' settings are dynamically inserted into the WebUI under PropertyOrder '2'.",
  32. "propertyOrder": 3
  33. },
  34. "device_inputs": {
  35. "type": "string",
  36. "title": "edt_conf_v4l2_input_title",
  37. "propertyOrder": 4,
  38. "required": false
  39. },
  40. "input": {
  41. "type": "integer",
  42. "title": "edt_conf_enum_custom",
  43. "minimum": 0,
  44. "default": 0,
  45. "options": {
  46. "hidden": true
  47. },
  48. "required": true,
  49. "propertyOrder": 5,
  50. "comment": "The 'device_inputs' settings are dynamically inserted into the WebUI under PropertyOrder '4'."
  51. },
  52. "resolutions": {
  53. "type": "string",
  54. "title": "edt_conf_v4l2_resolution_title",
  55. "propertyOrder": 6,
  56. "required": false
  57. },
  58. "width": {
  59. "type": "integer",
  60. "title": "edt_conf_enum_custom",
  61. "minimum": 10,
  62. "default": 80,
  63. "append": "edt_append_pixel",
  64. "options": {
  65. "hidden": true
  66. },
  67. "required": true,
  68. "propertyOrder": 9,
  69. "comment": "The 'resolutions' settings are dynamically inserted into the WebUI under PropertyOrder '6'."
  70. },
  71. "height": {
  72. "type": "integer",
  73. "title": "edt_conf_enum_custom",
  74. "append": "edt_append_pixel",
  75. "options": {
  76. "hidden": true
  77. },
  78. "required": true,
  79. "propertyOrder": 10,
  80. "comment": "The 'resolutions' settings are dynamically inserted into the WebUI under PropertyOrder '6'."
  81. },
  82. "framerates": {
  83. "type": "string",
  84. "title": "edt_conf_fg_frequency_Hz_title",
  85. "propertyOrder": 11,
  86. "required": false
  87. },
  88. "fps": {
  89. "type": "integer",
  90. "title": "edt_conf_enum_custom",
  91. "default":10,
  92. "append": "fps",
  93. "options": {
  94. "hidden": true
  95. },
  96. "required": true,
  97. "propertyOrder": 12,
  98. "comment": "The 'framerates' setting is dynamically inserted into the WebUI under PropertyOrder '11'."
  99. },
  100. "pixelDecimation": {
  101. "type": "integer",
  102. "title": "edt_conf_fg_pixelDecimation_title",
  103. "minimum": 1,
  104. "maximum": 30,
  105. "default": 8,
  106. "required": true,
  107. "propertyOrder": 13
  108. },
  109. "cropLeft": {
  110. "type": "integer",
  111. "title": "edt_conf_v4l2_cropLeft_title",
  112. "minimum": 0,
  113. "default": 0,
  114. "append": "edt_append_pixel",
  115. "propertyOrder": 14
  116. },
  117. "cropRight": {
  118. "type": "integer",
  119. "title": "edt_conf_v4l2_cropRight_title",
  120. "minimum": 0,
  121. "default": 0,
  122. "append": "edt_append_pixel",
  123. "propertyOrder": 15
  124. },
  125. "cropTop": {
  126. "type": "integer",
  127. "title": "edt_conf_v4l2_cropTop_title",
  128. "minimum": 0,
  129. "default": 0,
  130. "append": "edt_append_pixel",
  131. "propertyOrder": 16
  132. },
  133. "cropBottom": {
  134. "type": "integer",
  135. "title": "edt_conf_v4l2_cropBottom_title",
  136. "minimum": 0,
  137. "default": 0,
  138. "append": "edt_append_pixel",
  139. "propertyOrder": 17
  140. }
  141. },
  142. "additionalProperties" : false
  143. }