@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +126 -2
  3. package/conformance/authoring.json +2169 -0
  4. package/conformance/behavior.json +731 -0
  5. package/conformance/config-consumption.json +1531 -0
  6. package/conformance/expected-invalid.json +20 -0
  7. package/docs/audit.md +150 -0
  8. package/docs/conditional-fields.md +80 -0
  9. package/docs/draft-07-visual-support.md +43 -0
  10. package/docs/external-resources-proposal.md +536 -0
  11. package/docs/implementation-guide.md +180 -0
  12. package/docs/implementation-pitfalls.md +802 -0
  13. package/docs/implementation-web-typescript.md +41 -0
  14. package/docs/renderer-and-demo.md +1347 -0
  15. package/docs/renderer-selection.md +99 -0
  16. package/docs/spec.md +8321 -0
  17. package/docs/todo.md +149 -0
  18. package/examples/README.md +121 -0
  19. package/examples/additional-errors/README.md +169 -0
  20. package/examples/additional-errors/config.json +3 -0
  21. package/examples/additional-errors/data.json +11 -0
  22. package/examples/additional-errors/schema.json +56 -0
  23. package/examples/additional-errors/translations.json +64 -0
  24. package/examples/additional-errors/uischema.json +158 -0
  25. package/examples/additional-items-pagination/README.md +8 -0
  26. package/examples/additional-items-pagination/config.json +10 -0
  27. package/examples/additional-items-pagination/data.json +22 -0
  28. package/examples/additional-items-pagination/schema.json +30 -0
  29. package/examples/additional-items-pagination/translations.json +16 -0
  30. package/examples/additional-items-pagination/uischema.json +39 -0
  31. package/examples/additional-properties/README.md +188 -0
  32. package/examples/additional-properties/config.json +5 -0
  33. package/examples/additional-properties/data.json +31 -0
  34. package/examples/additional-properties/schema.json +78 -0
  35. package/examples/additional-properties/translations.json +80 -0
  36. package/examples/additional-properties/uischema.json +104 -0
  37. package/examples/ag-grid/README.md +62 -0
  38. package/examples/ag-grid/config.json +14 -0
  39. package/examples/ag-grid/data.json +124 -0
  40. package/examples/ag-grid/schema.json +48 -0
  41. package/examples/ag-grid/translations.json +58 -0
  42. package/examples/ag-grid/uischema.json +671 -0
  43. package/examples/array-choices/README.md +150 -0
  44. package/examples/array-choices/config.json +4 -0
  45. package/examples/array-choices/data.json +10 -0
  46. package/examples/array-choices/schema.json +68 -0
  47. package/examples/array-choices/translations.json +64 -0
  48. package/examples/array-choices/uischema.json +97 -0
  49. package/examples/array-controls/README.md +237 -0
  50. package/examples/array-controls/config.json +4 -0
  51. package/examples/array-controls/data.json +147 -0
  52. package/examples/array-controls/schema.json +374 -0
  53. package/examples/array-controls/translations.json +186 -0
  54. package/examples/array-controls/uischema.json +685 -0
  55. package/examples/array-detail-modes/README.md +11 -0
  56. package/examples/array-detail-modes/data.json +38 -0
  57. package/examples/array-detail-modes/schema.json +89 -0
  58. package/examples/array-detail-modes/translations.json +36 -0
  59. package/examples/array-detail-modes/uischema.json +73 -0
  60. package/examples/array-detail-modes/uischemas.d.mts +2 -0
  61. package/examples/array-detail-modes/uischemas.json +15 -0
  62. package/examples/boolean-controls/README.md +109 -0
  63. package/examples/boolean-controls/config.json +3 -0
  64. package/examples/boolean-controls/data.json +27 -0
  65. package/examples/boolean-controls/schema.json +98 -0
  66. package/examples/boolean-controls/translations.json +94 -0
  67. package/examples/boolean-controls/uischema.json +126 -0
  68. package/examples/button-actions/README.md +259 -0
  69. package/examples/button-actions/config.json +7 -0
  70. package/examples/button-actions/data.json +5 -0
  71. package/examples/button-actions/host.mjs +14 -0
  72. package/examples/button-actions/schema.json +20 -0
  73. package/examples/button-actions/translations.json +60 -0
  74. package/examples/button-actions/uischema.json +179 -0
  75. package/examples/catalog.json +634 -0
  76. package/examples/categorization/README.md +132 -0
  77. package/examples/categorization/config.json +7 -0
  78. package/examples/categorization/data.json +8 -0
  79. package/examples/categorization/schema.json +29 -0
  80. package/examples/categorization/translations.json +72 -0
  81. package/examples/categorization/uischema.json +288 -0
  82. package/examples/choice-controls/README.md +136 -0
  83. package/examples/choice-controls/config.json +10 -0
  84. package/examples/choice-controls/data.json +61 -0
  85. package/examples/choice-controls/schema.json +406 -0
  86. package/examples/choice-controls/translations.json +154 -0
  87. package/examples/choice-controls/uischema.json +575 -0
  88. package/examples/choice-controls/uischemas.d.mts +2 -0
  89. package/examples/choice-controls/uischemas.json +16 -0
  90. package/examples/code-editor/README.md +74 -0
  91. package/examples/code-editor/data.json +8 -0
  92. package/examples/code-editor/schema.json +28 -0
  93. package/examples/code-editor/translations.json +20 -0
  94. package/examples/code-editor/uischema.json +77 -0
  95. package/examples/collection-pagination/README.md +5 -0
  96. package/examples/collection-pagination/config.json +1 -0
  97. package/examples/collection-pagination/data.json +64 -0
  98. package/examples/collection-pagination/schema.json +23 -0
  99. package/examples/collection-pagination/translations.json +14 -0
  100. package/examples/collection-pagination/uischema.json +14 -0
  101. package/examples/color-control/README.md +151 -0
  102. package/examples/color-control/config.json +7 -0
  103. package/examples/color-control/data.json +11 -0
  104. package/examples/color-control/schema.json +61 -0
  105. package/examples/color-control/translations.json +76 -0
  106. package/examples/color-control/uischema.json +106 -0
  107. package/examples/combinators/README.md +223 -0
  108. package/examples/combinators/config.json +9 -0
  109. package/examples/combinators/data.json +23 -0
  110. package/examples/combinators/schema.json +232 -0
  111. package/examples/combinators/translations.json +178 -0
  112. package/examples/combinators/uischema.json +158 -0
  113. package/examples/conditional-fields/README.md +19 -0
  114. package/examples/conditional-fields/config.json +5 -0
  115. package/examples/conditional-fields/data.json +7 -0
  116. package/examples/conditional-fields/schema.json +59 -0
  117. package/examples/conditional-fields/translations.json +30 -0
  118. package/examples/conditional-fields/uischema.json +71 -0
  119. package/examples/container-validation-indicator/README.md +187 -0
  120. package/examples/container-validation-indicator/config.json +9 -0
  121. package/examples/container-validation-indicator/data.json +68 -0
  122. package/examples/container-validation-indicator/schema.json +222 -0
  123. package/examples/container-validation-indicator/translations.json +120 -0
  124. package/examples/container-validation-indicator/uischema.json +98 -0
  125. package/examples/cron-control/README.md +155 -0
  126. package/examples/cron-control/data.json +15 -0
  127. package/examples/cron-control/schema.json +72 -0
  128. package/examples/cron-control/translations.json +80 -0
  129. package/examples/cron-control/uischema.json +91 -0
  130. package/examples/destructive-confirmation/README.md +210 -0
  131. package/examples/destructive-confirmation/config.json +17 -0
  132. package/examples/destructive-confirmation/data.json +86 -0
  133. package/examples/destructive-confirmation/schema.json +204 -0
  134. package/examples/destructive-confirmation/translations.json +112 -0
  135. package/examples/destructive-confirmation/uischema.json +105 -0
  136. package/examples/draft-07-metaschema/README.md +11 -0
  137. package/examples/draft-07-metaschema/config.json +3 -0
  138. package/examples/draft-07-metaschema/data.json +25 -0
  139. package/examples/draft-07-metaschema/schema.json +172 -0
  140. package/examples/draft-07-metaschema/translations.json +10 -0
  141. package/examples/draft-07-metaschema/uischema.json +14 -0
  142. package/examples/dynamic-playground/README.md +95 -0
  143. package/examples/dynamic-playground/config.json +8 -0
  144. package/examples/dynamic-playground/configuration.json +152 -0
  145. package/examples/dynamic-playground/data.json +15 -0
  146. package/examples/dynamic-playground/dynamic-uischema.json +379 -0
  147. package/examples/dynamic-playground/host.mjs +37 -0
  148. package/examples/dynamic-playground/schema.json +48 -0
  149. package/examples/dynamic-playground/translations.json +76 -0
  150. package/examples/dynamic-playground/uischema.json +36 -0
  151. package/examples/editor-details/README.md +10 -0
  152. package/examples/editor-details/data.json +18 -0
  153. package/examples/editor-details/schema.json +49 -0
  154. package/examples/editor-details/translations.json +28 -0
  155. package/examples/editor-details/uischema.json +53 -0
  156. package/examples/editor-details/uischemas.d.mts +2 -0
  157. package/examples/editor-details/uischemas.json +14 -0
  158. package/examples/file-control/README.md +108 -0
  159. package/examples/file-control/data.json +28 -0
  160. package/examples/file-control/schema.json +89 -0
  161. package/examples/file-control/translations.json +46 -0
  162. package/examples/file-control/uischema.json +152 -0
  163. package/examples/group-layout/README.md +149 -0
  164. package/examples/group-layout/config.json +10 -0
  165. package/examples/group-layout/data.json +9 -0
  166. package/examples/group-layout/schema.json +51 -0
  167. package/examples/group-layout/translations.json +62 -0
  168. package/examples/group-layout/uischema.json +249 -0
  169. package/examples/index.d.ts +17 -0
  170. package/examples/index.js +69 -0
  171. package/examples/input-adornments/README.md +68 -0
  172. package/examples/input-adornments/data.json +41 -0
  173. package/examples/input-adornments/schema.json +207 -0
  174. package/examples/input-adornments/translations.json +106 -0
  175. package/examples/input-adornments/uischema.json +695 -0
  176. package/examples/job-application/README.md +23 -0
  177. package/examples/job-application/config.json +10 -0
  178. package/examples/job-application/data.json +68 -0
  179. package/examples/job-application/schema.json +196 -0
  180. package/examples/job-application/translations.json +388 -0
  181. package/examples/job-application/uischema.json +218 -0
  182. package/examples/job-application/uischemas.json +153 -0
  183. package/examples/json-editor/README.md +28 -0
  184. package/examples/json-editor/schema.json +1 -0
  185. package/examples/json-editor/translations.json +10 -0
  186. package/examples/json-editor/uischema.json +16 -0
  187. package/examples/json-inference/README.md +33 -0
  188. package/examples/json-inference/translations.json +10 -0
  189. package/examples/json-inference/uischema.json +16 -0
  190. package/examples/kitchen-sink/README.md +86 -0
  191. package/examples/kitchen-sink/config.json +14 -0
  192. package/examples/kitchen-sink/data.json +263 -0
  193. package/examples/kitchen-sink/invalid-data.json +263 -0
  194. package/examples/kitchen-sink/schema.json +515 -0
  195. package/examples/kitchen-sink/translations.json +270 -0
  196. package/examples/kitchen-sink/uischema.json +722 -0
  197. package/examples/label-interpolation/README.md +200 -0
  198. package/examples/label-interpolation/config.json +8 -0
  199. package/examples/label-interpolation/data.json +13 -0
  200. package/examples/label-interpolation/schema.json +64 -0
  201. package/examples/label-interpolation/translations.json +94 -0
  202. package/examples/label-interpolation/uischema.json +375 -0
  203. package/examples/layout-sizing/README.md +162 -0
  204. package/examples/layout-sizing/config.json +10 -0
  205. package/examples/layout-sizing/data.json +14 -0
  206. package/examples/layout-sizing/schema.json +58 -0
  207. package/examples/layout-sizing/translations.json +42 -0
  208. package/examples/layout-sizing/uischema.json +558 -0
  209. package/examples/markup-label/README.md +109 -0
  210. package/examples/markup-label/config.json +16 -0
  211. package/examples/markup-label/data.json +5 -0
  212. package/examples/markup-label/schema.json +24 -0
  213. package/examples/markup-label/translations.json +40 -0
  214. package/examples/markup-label/uischema.json +149 -0
  215. package/examples/mixed-control/README.md +164 -0
  216. package/examples/mixed-control/config.json +11 -0
  217. package/examples/mixed-control/data.json +70 -0
  218. package/examples/mixed-control/schema.json +221 -0
  219. package/examples/mixed-control/translations.json +158 -0
  220. package/examples/mixed-control/uischema.json +211 -0
  221. package/examples/null-control/README.md +111 -0
  222. package/examples/null-control/config.json +4 -0
  223. package/examples/null-control/data.json +6 -0
  224. package/examples/null-control/schema.json +36 -0
  225. package/examples/null-control/translations.json +42 -0
  226. package/examples/null-control/uischema.json +56 -0
  227. package/examples/numeric-controls/README.md +94 -0
  228. package/examples/numeric-controls/config.json +4 -0
  229. package/examples/numeric-controls/data.json +8 -0
  230. package/examples/numeric-controls/schema.json +52 -0
  231. package/examples/numeric-controls/translations.json +56 -0
  232. package/examples/numeric-controls/uischema.json +77 -0
  233. package/examples/object-control/README.md +220 -0
  234. package/examples/object-control/config.json +4 -0
  235. package/examples/object-control/data.json +62 -0
  236. package/examples/object-control/schema.json +252 -0
  237. package/examples/object-control/translations.json +160 -0
  238. package/examples/object-control/uischema.json +275 -0
  239. package/examples/object-control/uischemas.d.mts +2 -0
  240. package/examples/object-control/uischemas.json +59 -0
  241. package/examples/password-control/README.md +119 -0
  242. package/examples/password-control/config.json +3 -0
  243. package/examples/password-control/data.json +18 -0
  244. package/examples/password-control/schema.json +65 -0
  245. package/examples/password-control/translations.json +64 -0
  246. package/examples/password-control/uischema.json +94 -0
  247. package/examples/pre-touch-errors/README.md +176 -0
  248. package/examples/pre-touch-errors/config.json +4 -0
  249. package/examples/pre-touch-errors/data.json +5 -0
  250. package/examples/pre-touch-errors/schema.json +56 -0
  251. package/examples/pre-touch-errors/translations.json +68 -0
  252. package/examples/pre-touch-errors/uischema.json +85 -0
  253. package/examples/presentation/README.md +148 -0
  254. package/examples/presentation/config.json +9 -0
  255. package/examples/presentation/data.json +6 -0
  256. package/examples/presentation/schema.json +21 -0
  257. package/examples/presentation/translations.json +64 -0
  258. package/examples/presentation/uischema.json +210 -0
  259. package/examples/property-pagination/README.md +5 -0
  260. package/examples/property-pagination/config.json +1 -0
  261. package/examples/property-pagination/data.json +17 -0
  262. package/examples/property-pagination/schema.json +14 -0
  263. package/examples/property-pagination/translations.json +10 -0
  264. package/examples/property-pagination/uischema.json +24 -0
  265. package/examples/recursive-tree/README.md +49 -0
  266. package/examples/recursive-tree/config.json +1 -0
  267. package/examples/recursive-tree/data.json +40 -0
  268. package/examples/recursive-tree/schema.json +89 -0
  269. package/examples/recursive-tree/translations.json +42 -0
  270. package/examples/recursive-tree/uischema.json +84 -0
  271. package/examples/recursive-tree/uischemas.d.mts +2 -0
  272. package/examples/recursive-tree/uischemas.json +51 -0
  273. package/examples/split-layout/README.md +123 -0
  274. package/examples/split-layout/config.json +3 -0
  275. package/examples/split-layout/data.json +13 -0
  276. package/examples/split-layout/schema.json +50 -0
  277. package/examples/split-layout/translations.json +50 -0
  278. package/examples/split-layout/uischema.json +204 -0
  279. package/examples/string-controls/README.md +159 -0
  280. package/examples/string-controls/config.json +5 -0
  281. package/examples/string-controls/data.json +13 -0
  282. package/examples/string-controls/schema.json +70 -0
  283. package/examples/string-controls/translations.json +76 -0
  284. package/examples/string-controls/uischema.json +148 -0
  285. package/examples/table-row-details/README.md +69 -0
  286. package/examples/table-row-details/config.json +7 -0
  287. package/examples/table-row-details/data.json +280 -0
  288. package/examples/table-row-details/schema.json +61 -0
  289. package/examples/table-row-details/translations.json +56 -0
  290. package/examples/table-row-details/uischema.json +1303 -0
  291. package/examples/template-layout/README.md +250 -0
  292. package/examples/template-layout/config.json +9 -0
  293. package/examples/template-layout/data.json +20 -0
  294. package/examples/template-layout/host.mjs +13 -0
  295. package/examples/template-layout/schema.json +48 -0
  296. package/examples/template-layout/translations.json +70 -0
  297. package/examples/template-layout/uischema.json +177 -0
  298. package/examples/template-slots/README.md +19 -0
  299. package/examples/template-slots/data.json +4 -0
  300. package/examples/template-slots/schema.json +11 -0
  301. package/examples/template-slots/translations.json +26 -0
  302. package/examples/template-slots/uischema.json +47 -0
  303. package/examples/template-slots/uischemas.d.mts +2 -0
  304. package/examples/template-slots/uischemas.json +56 -0
  305. package/examples/temporal-controls/README.md +325 -0
  306. package/examples/temporal-controls/data.json +44 -0
  307. package/examples/temporal-controls/schema.json +208 -0
  308. package/examples/temporal-controls/translations.json +156 -0
  309. package/examples/temporal-controls/uischema.json +297 -0
  310. package/examples/tree-max-depth/README.md +5 -0
  311. package/examples/tree-max-depth/config.json +3 -0
  312. package/examples/tree-max-depth/data.json +31 -0
  313. package/examples/tree-max-depth/schema.json +258 -0
  314. package/examples/tree-max-depth/translations.json +42 -0
  315. package/examples/tree-max-depth/uischema.json +16 -0
  316. package/examples/tree-max-depth/uischemas.d.mts +2 -0
  317. package/examples/tree-max-depth/uischemas.json +50 -0
  318. package/examples/tuple-control/README.md +335 -0
  319. package/examples/tuple-control/config.json +4 -0
  320. package/examples/tuple-control/data.json +61 -0
  321. package/examples/tuple-control/schema.json +218 -0
  322. package/examples/tuple-control/translations.json +142 -0
  323. package/examples/tuple-control/uischema.json +128 -0
  324. package/examples/tuple-control/uischemas.d.mts +2 -0
  325. package/examples/tuple-control/uischemas.json +125 -0
  326. package/examples/validator-profile/README.md +197 -0
  327. package/examples/validator-profile/config.json +9 -0
  328. package/examples/validator-profile/data.json +16 -0
  329. package/examples/validator-profile/schema.json +139 -0
  330. package/examples/validator-profile/translations.json +34 -0
  331. package/examples/validator-profile/uischema.json +59 -0
  332. package/package.json +83 -3
  333. package/provenance.json +140 -0
  334. package/schemas/README.md +77 -0
  335. package/schemas/example.schema.json +37 -0
  336. package/schemas/jsonforms-config.schema.json +427 -0
  337. package/schemas/jsonforms-dynamic-uischema.schema.json +220 -0
  338. package/schemas/jsonforms-extended-config.schema.json +327 -0
  339. package/schemas/jsonforms-extended-uischema.schema.json +1923 -0
  340. package/schemas/jsonforms-rule.schema.json +104 -0
  341. package/schemas/jsonforms-uischema.schema.json +1421 -0
  342. package/typescript/README.md +540 -0
  343. package/typescript/lib/authoring/cssLength.d.ts +33 -0
  344. package/typescript/lib/authoring/cssLength.js +25 -0
  345. package/typescript/lib/authoring/dynamic.d.ts +73 -0
  346. package/typescript/lib/authoring/dynamic.js +8 -0
  347. package/typescript/lib/authoring/forSchema.d.ts +376 -0
  348. package/typescript/lib/authoring/forSchema.js +84 -0
  349. package/typescript/lib/authoring/schemaTypes.d.ts +111 -0
  350. package/typescript/lib/authoring/schemaTypes.js +15 -0
  351. package/typescript/lib/index.d.ts +4 -0
  352. package/typescript/lib/index.js +20 -0
  353. package/typescript/package.json +1 -0
  354. package/typescript/src/authoring/cssLength.ts +79 -0
  355. package/typescript/src/authoring/dynamic.ts +96 -0
  356. package/typescript/src/authoring/forSchema.ts +419 -0
  357. package/typescript/src/authoring/schemaTypes.ts +143 -0
  358. package/typescript/src/index.ts +4 -0
  359. package/typescript/test/schemaContract.test.ts +626 -0
  360. package/typescript/test/tsconfig.json +10 -0
  361. package/typescript/test/typedAuthoring.test.ts +140 -0
  362. package/typescript/test/typedAuthoringCoverage.test.ts +145 -0
  363. package/typescript/test/typedAuthoringCssLength.test.ts +81 -0
  364. package/typescript/test/typedAuthoringNames.test.ts +90 -0
  365. package/typescript/test/typedDynamic.test.ts +88 -0
  366. package/typescript/tsconfig.json +15 -0
@@ -0,0 +1,1923 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "JSON Forms Extended UI schema",
4
+ "description": "Published serialized UI vocabulary. Unknown extensions remain open; acceptance of an unknown key does not imply renderer support. Design proposals and provisional features are tracked in TODO.md.",
5
+ "$ref": "#/$defs/element",
6
+ "$defs": {
7
+ "uiSchema": {
8
+ "$ref": "#/$defs/element"
9
+ },
10
+ "element": {
11
+ "type": "object",
12
+ "required": [
13
+ "type"
14
+ ],
15
+ "additionalProperties": true,
16
+ "properties": {
17
+ "type": {
18
+ "type": "string",
19
+ "description": "Element discriminator. The common profile admits its documented types; the extended profile preserves unknown types."
20
+ },
21
+ "rule": {
22
+ "$ref": "jsonforms-rule.schema.json"
23
+ },
24
+ "options": {
25
+ "type": "object",
26
+ "additionalProperties": true,
27
+ "properties": {
28
+ "showValidationIndicator": {
29
+ "type": "boolean"
30
+ },
31
+ "showValidationIndicatorCount": {
32
+ "type": "boolean",
33
+ "default": false,
34
+ "description": "Opt in to computing and presenting the container error count. Omitted or false uses an error-presence marker without computing a count."
35
+ },
36
+ "showDataIndicator": {
37
+ "type": "boolean"
38
+ },
39
+ "interpolate": {
40
+ "type": "boolean"
41
+ },
42
+ "markup": {
43
+ "enum": [
44
+ "plain",
45
+ "markdown"
46
+ ]
47
+ },
48
+ "textParams": {
49
+ "type": "object",
50
+ "additionalProperties": true
51
+ },
52
+ "readonly": {
53
+ "type": "boolean"
54
+ }
55
+ }
56
+ },
57
+ "i18n": {
58
+ "type": "string",
59
+ "description": "Translation key for this element's own text."
60
+ },
61
+ "name": {
62
+ "type": "string",
63
+ "description": "Stable local element name for category selection, composition and action fallback."
64
+ },
65
+ "textParams": {
66
+ "type": "object",
67
+ "additionalProperties": true
68
+ }
69
+ },
70
+ "allOf": [
71
+ {
72
+ "$ref": "#/$defs/byType"
73
+ },
74
+ {
75
+ "$ref": "jsonforms-uischema.schema.json#/$defs/layoutItemOptions"
76
+ }
77
+ ]
78
+ },
79
+ "byType": {
80
+ "description": "Per-type shape. Written as if/then so an unknown `type` still validates - a renderer set downstream may contribute its own.",
81
+ "allOf": [
82
+ {
83
+ "if": {
84
+ "properties": {
85
+ "type": {
86
+ "const": "Control"
87
+ }
88
+ },
89
+ "required": [
90
+ "type"
91
+ ]
92
+ },
93
+ "then": {
94
+ "$ref": "#/$defs/control"
95
+ }
96
+ },
97
+ {
98
+ "if": {
99
+ "properties": {
100
+ "type": {
101
+ "const": "VerticalLayout"
102
+ }
103
+ },
104
+ "required": [
105
+ "type"
106
+ ]
107
+ },
108
+ "then": {
109
+ "$ref": "#/$defs/layout"
110
+ }
111
+ },
112
+ {
113
+ "if": {
114
+ "properties": {
115
+ "type": {
116
+ "const": "HorizontalLayout"
117
+ }
118
+ },
119
+ "required": [
120
+ "type"
121
+ ]
122
+ },
123
+ "then": {
124
+ "$ref": "#/$defs/horizontalLayout"
125
+ }
126
+ },
127
+ {
128
+ "if": {
129
+ "properties": {
130
+ "type": {
131
+ "const": "Group"
132
+ }
133
+ },
134
+ "required": [
135
+ "type"
136
+ ]
137
+ },
138
+ "then": {
139
+ "$ref": "#/$defs/group"
140
+ }
141
+ },
142
+ {
143
+ "if": {
144
+ "properties": {
145
+ "type": {
146
+ "const": "Categorization"
147
+ }
148
+ },
149
+ "required": [
150
+ "type"
151
+ ]
152
+ },
153
+ "then": {
154
+ "$ref": "#/$defs/categorization"
155
+ }
156
+ },
157
+ {
158
+ "if": {
159
+ "properties": {
160
+ "type": {
161
+ "const": "Category"
162
+ }
163
+ },
164
+ "required": [
165
+ "type"
166
+ ]
167
+ },
168
+ "then": {
169
+ "$ref": "#/$defs/category"
170
+ }
171
+ },
172
+ {
173
+ "if": {
174
+ "properties": {
175
+ "type": {
176
+ "const": "ListWithDetail"
177
+ }
178
+ },
179
+ "required": [
180
+ "type"
181
+ ]
182
+ },
183
+ "then": {
184
+ "$ref": "#/$defs/listWithDetail"
185
+ }
186
+ },
187
+ {
188
+ "if": {
189
+ "properties": {
190
+ "type": {
191
+ "const": "Label"
192
+ }
193
+ },
194
+ "required": [
195
+ "type"
196
+ ]
197
+ },
198
+ "then": {
199
+ "$ref": "#/$defs/label"
200
+ }
201
+ },
202
+ {
203
+ "if": {
204
+ "properties": {
205
+ "type": {
206
+ "const": "Button"
207
+ }
208
+ },
209
+ "required": [
210
+ "type"
211
+ ]
212
+ },
213
+ "then": {
214
+ "$ref": "#/$defs/button"
215
+ }
216
+ },
217
+ {
218
+ "if": {
219
+ "properties": {
220
+ "type": {
221
+ "const": "Link"
222
+ }
223
+ },
224
+ "required": [
225
+ "type"
226
+ ]
227
+ },
228
+ "then": {
229
+ "$ref": "#/$defs/link"
230
+ }
231
+ },
232
+ {
233
+ "if": {
234
+ "properties": {
235
+ "type": {
236
+ "const": "ImageView"
237
+ }
238
+ },
239
+ "required": [
240
+ "type"
241
+ ]
242
+ },
243
+ "then": {
244
+ "$ref": "#/$defs/imageView"
245
+ }
246
+ },
247
+ {
248
+ "if": {
249
+ "properties": {
250
+ "type": {
251
+ "const": "Spacer"
252
+ }
253
+ },
254
+ "required": [
255
+ "type"
256
+ ]
257
+ },
258
+ "then": {
259
+ "$ref": "#/$defs/spacer"
260
+ }
261
+ },
262
+ {
263
+ "if": {
264
+ "properties": {
265
+ "type": {
266
+ "const": "Separator"
267
+ }
268
+ },
269
+ "required": [
270
+ "type"
271
+ ]
272
+ },
273
+ "then": {
274
+ "$ref": "#/$defs/separator"
275
+ }
276
+ },
277
+ {
278
+ "if": {
279
+ "properties": {
280
+ "type": {
281
+ "const": "TemplateLayout"
282
+ }
283
+ },
284
+ "required": [
285
+ "type"
286
+ ]
287
+ },
288
+ "then": {
289
+ "$ref": "#/$defs/templateLayout"
290
+ }
291
+ },
292
+ {
293
+ "if": {
294
+ "properties": {
295
+ "type": {
296
+ "const": "Slot"
297
+ }
298
+ },
299
+ "required": [
300
+ "type"
301
+ ]
302
+ },
303
+ "then": {
304
+ "$ref": "#/$defs/slot"
305
+ }
306
+ },
307
+ {
308
+ "if": {
309
+ "properties": {
310
+ "type": {
311
+ "const": "Template"
312
+ }
313
+ },
314
+ "required": [
315
+ "type"
316
+ ]
317
+ },
318
+ "then": {
319
+ "$ref": "#/$defs/template"
320
+ }
321
+ }
322
+ ]
323
+ },
324
+ "layout": {
325
+ "required": [
326
+ "elements"
327
+ ],
328
+ "properties": {
329
+ "elements": {
330
+ "type": "array",
331
+ "items": {
332
+ "$ref": "#/$defs/element"
333
+ }
334
+ },
335
+ "options": {
336
+ "$ref": "jsonforms-uischema.schema.json#/$defs/layoutContainerOptions"
337
+ }
338
+ }
339
+ },
340
+ "horizontalLayout": {
341
+ "required": [
342
+ "elements"
343
+ ],
344
+ "properties": {
345
+ "elements": {
346
+ "type": "array",
347
+ "items": {
348
+ "$ref": "#/$defs/element"
349
+ }
350
+ },
351
+ "options": {
352
+ "allOf": [
353
+ {
354
+ "$ref": "jsonforms-uischema.schema.json#/$defs/layoutContainerOptions"
355
+ }
356
+ ],
357
+ "properties": {
358
+ "gridColumns": {
359
+ "type": "integer",
360
+ "minimum": 1,
361
+ "default": 16,
362
+ "description": "Horizontal layouts only. A child's `span` is read against this."
363
+ }
364
+ }
365
+ }
366
+ }
367
+ },
368
+ "group": {
369
+ "required": [
370
+ "elements"
371
+ ],
372
+ "properties": {
373
+ "label": {
374
+ "type": "string"
375
+ },
376
+ "cover": {
377
+ "$ref": "#/$defs/element"
378
+ },
379
+ "header": {
380
+ "type": "array",
381
+ "items": {
382
+ "$ref": "#/$defs/element"
383
+ }
384
+ },
385
+ "footer": {
386
+ "type": "array",
387
+ "items": {
388
+ "$ref": "#/$defs/element"
389
+ }
390
+ },
391
+ "elements": {
392
+ "type": "array",
393
+ "items": {
394
+ "$ref": "#/$defs/element"
395
+ }
396
+ },
397
+ "options": {
398
+ "allOf": [
399
+ {
400
+ "$ref": "jsonforms-uischema.schema.json#/$defs/layoutContainerOptions"
401
+ }
402
+ ],
403
+ "properties": {
404
+ "collapsible": {
405
+ "type": "boolean"
406
+ },
407
+ "collapsed": {
408
+ "type": "boolean",
409
+ "description": "Initial state, synchronized only when the effective collapsed option changes."
410
+ },
411
+ "showBorder": {
412
+ "type": "boolean",
413
+ "default": true
414
+ }
415
+ }
416
+ }
417
+ }
418
+ },
419
+ "categorization": {
420
+ "required": [
421
+ "elements"
422
+ ],
423
+ "properties": {
424
+ "elements": {
425
+ "type": "array",
426
+ "items": {
427
+ "allOf": [
428
+ {
429
+ "$ref": "#/$defs/element"
430
+ },
431
+ {
432
+ "properties": {
433
+ "type": {
434
+ "enum": [
435
+ "Category",
436
+ "Categorization"
437
+ ]
438
+ }
439
+ }
440
+ }
441
+ ]
442
+ }
443
+ },
444
+ "options": {
445
+ "type": "object",
446
+ "properties": {
447
+ "variant": {
448
+ "type": "string",
449
+ "description": "Omit for tabs; canonical alternatives are stepper and accordion. Unknown variants require a runtime fallback."
450
+ },
451
+ "initial": {
452
+ "type": "string",
453
+ "description": "Name of a direct Category child; not an index. Runtime diagnoses an absent or hidden match."
454
+ },
455
+ "vertical": {
456
+ "type": "boolean"
457
+ },
458
+ "showNavButtons": {
459
+ "type": "boolean"
460
+ }
461
+ }
462
+ },
463
+ "label": {
464
+ "type": "string"
465
+ }
466
+ }
467
+ },
468
+ "category": {
469
+ "required": [
470
+ "elements"
471
+ ],
472
+ "properties": {
473
+ "label": {
474
+ "type": "string"
475
+ },
476
+ "elements": {
477
+ "type": "array",
478
+ "items": {
479
+ "$ref": "#/$defs/element"
480
+ }
481
+ }
482
+ }
483
+ },
484
+ "control": {
485
+ "required": [
486
+ "scope"
487
+ ],
488
+ "properties": {
489
+ "scope": {
490
+ "type": "string",
491
+ "description": "JSON Pointer into the schema, e.g. `#/properties/name`.",
492
+ "pattern": "^#(?:/.*)?$"
493
+ },
494
+ "label": {
495
+ "anyOf": [
496
+ {
497
+ "type": "string"
498
+ },
499
+ {
500
+ "type": "boolean"
501
+ },
502
+ {
503
+ "type": "object",
504
+ "properties": {
505
+ "text": {
506
+ "type": "string"
507
+ },
508
+ "show": {
509
+ "type": "boolean"
510
+ }
511
+ },
512
+ "additionalProperties": true
513
+ }
514
+ ]
515
+ },
516
+ "options": {
517
+ "$ref": "#/$defs/controlOptions"
518
+ }
519
+ }
520
+ },
521
+ "controlOptions": {
522
+ "type": "object",
523
+ "additionalProperties": true,
524
+ "description": "Options a Control may carry. Which apply depends on the schema the scope resolves to; this schema does not try to correlate the two, because the renderer chosen depends on the data schema, not on the UI schema alone.",
525
+ "properties": {
526
+ "format": {
527
+ "type": "string",
528
+ "description": "Presentation hint; never rewrites the data schema format. Unknown or unavailable formats remain valid authoring values; renderer capability determines their presentation."
529
+ },
530
+ "variant": {
531
+ "type": "string",
532
+ "description": "Canonical presentation selector. OTP applies to password strings with minLength and positive maxLength; tuple/chips/multi-select/ag-grid apply to appropriate arrays. This schema cannot resolve applicability against the external data schema. Unsupported values remain open for extensions and are diagnosed at runtime.",
533
+ "examples": [
534
+ "otp",
535
+ "tuple",
536
+ "chips",
537
+ "multi-select",
538
+ "ag-grid"
539
+ ]
540
+ },
541
+ "focus": {
542
+ "type": "boolean"
543
+ },
544
+ "clearable": {
545
+ "type": "boolean"
546
+ },
547
+ "placeholder": {
548
+ "type": "string"
549
+ },
550
+ "readonly": {
551
+ "type": "boolean"
552
+ },
553
+ "restrict": {
554
+ "type": "boolean",
555
+ "description": "Prevention rather than only validation, for this control."
556
+ },
557
+ "multi": {
558
+ "type": "boolean",
559
+ "description": "Multi-line text."
560
+ },
561
+ "autocomplete": {
562
+ "type": "boolean",
563
+ "description": "Searchable choice entry."
564
+ },
565
+ "detail": {
566
+ "$ref": "#/$defs/detail"
567
+ },
568
+ "summary": {
569
+ "$ref": "#/$defs/summary"
570
+ },
571
+ "elementLabelProp": {
572
+ "type": "string",
573
+ "description": "Item-relative dotted DATA path for an item's header label - not a JSON pointer."
574
+ },
575
+ "showSortButtons": {
576
+ "type": "boolean",
577
+ "default": false,
578
+ "description": "Table and expandable: Move up/down. AG Grid: a drag-handle column."
579
+ },
580
+ "disableAdd": {
581
+ "type": "boolean",
582
+ "default": false
583
+ },
584
+ "disableRemove": {
585
+ "type": "boolean",
586
+ "default": false
587
+ },
588
+ "collapsed": {
589
+ "type": "boolean"
590
+ },
591
+ "collapseNewItems": {
592
+ "type": "boolean",
593
+ "default": false
594
+ },
595
+ "hideAvatar": {
596
+ "type": "boolean",
597
+ "default": false
598
+ },
599
+ "hideArraySummaryValidation": {
600
+ "type": "boolean",
601
+ "default": false,
602
+ "description": "Hides the child-error summary only. Validation is unaffected, and the array's own error explanation remains."
603
+ },
604
+ "table": {
605
+ "type": "boolean",
606
+ "description": "Forces the table renderer for an array whose items nest, which the detail renderer would otherwise outrank."
607
+ },
608
+ "cells": {
609
+ "type": "object",
610
+ "description": "Per-column options handed to the composite cell, keyed by property name.",
611
+ "additionalProperties": {
612
+ "$ref": "#/$defs/cellOptions"
613
+ }
614
+ },
615
+ "showTypeIndicator": {
616
+ "type": "boolean",
617
+ "default": false,
618
+ "description": "Show an object or array type marker in a composite cell, independently of its summary."
619
+ },
620
+ "showEmptyButton": {
621
+ "type": "boolean",
622
+ "description": "Adds Clear to a composite detail dialog."
623
+ },
624
+ "emptyLabel": {
625
+ "type": "string"
626
+ },
627
+ "okLabel": {
628
+ "type": "string",
629
+ "description": "Used as an i18n key first, literally if it does not resolve."
630
+ },
631
+ "cancelLabel": {
632
+ "type": "string"
633
+ },
634
+ "confirmation": {
635
+ "$ref": "jsonforms-uischema.schema.json#/$defs/confirmationOperations"
636
+ },
637
+ "showBorder": {
638
+ "type": "boolean",
639
+ "default": true,
640
+ "description": "Tuple control: encloses the heading and positions."
641
+ },
642
+ "layout": {
643
+ "$ref": "jsonforms-uischema.schema.json#/$defs/childLayout"
644
+ },
645
+ "formatMinimum": {
646
+ "anyOf": [
647
+ {
648
+ "type": "string"
649
+ },
650
+ {
651
+ "type": "number"
652
+ },
653
+ {
654
+ "type": "object",
655
+ "required": [
656
+ "$data"
657
+ ],
658
+ "properties": {
659
+ "$data": {
660
+ "type": "string"
661
+ }
662
+ },
663
+ "additionalProperties": false
664
+ }
665
+ ],
666
+ "description": "Comparable temporal/duration string, original file byte count, or a supported data reference; applicability is checked at runtime."
667
+ },
668
+ "formatMaximum": {
669
+ "anyOf": [
670
+ {
671
+ "type": "string"
672
+ },
673
+ {
674
+ "type": "number"
675
+ },
676
+ {
677
+ "type": "object",
678
+ "required": [
679
+ "$data"
680
+ ],
681
+ "properties": {
682
+ "$data": {
683
+ "type": "string"
684
+ }
685
+ },
686
+ "additionalProperties": false
687
+ }
688
+ ],
689
+ "description": "Comparable temporal/duration string, original file byte count, or a supported data reference; applicability is checked at runtime."
690
+ },
691
+ "formatExclusiveMinimum": {
692
+ "anyOf": [
693
+ {
694
+ "type": "string"
695
+ },
696
+ {
697
+ "type": "number"
698
+ },
699
+ {
700
+ "type": "object",
701
+ "required": [
702
+ "$data"
703
+ ],
704
+ "properties": {
705
+ "$data": {
706
+ "type": "string"
707
+ }
708
+ },
709
+ "additionalProperties": false
710
+ }
711
+ ],
712
+ "description": "Comparable temporal/duration string, original file byte count, or a supported data reference; applicability is checked at runtime."
713
+ },
714
+ "formatExclusiveMaximum": {
715
+ "anyOf": [
716
+ {
717
+ "type": "string"
718
+ },
719
+ {
720
+ "type": "number"
721
+ },
722
+ {
723
+ "type": "object",
724
+ "required": [
725
+ "$data"
726
+ ],
727
+ "properties": {
728
+ "$data": {
729
+ "type": "string"
730
+ }
731
+ },
732
+ "additionalProperties": false
733
+ }
734
+ ],
735
+ "description": "Comparable temporal/duration string, original file byte count, or a supported data reference; applicability is checked at runtime."
736
+ },
737
+ "views": {
738
+ "type": "array",
739
+ "items": {
740
+ "type": "string",
741
+ "enum": [
742
+ "year",
743
+ "month",
744
+ "day",
745
+ "hours",
746
+ "minutes",
747
+ "seconds"
748
+ ]
749
+ },
750
+ "description": "Which panels the picker offers. Date views select the calendar's granularity; time views select which time columns are drawn. The finest date view named is where the calendar lands. It does not change the save format - a year/month picker storing a full date is a legitimate request, and asking for hours and minutes does not stop seconds being stored. An array naming no view of a kind the control uses leaves that half to the display format, rather than blanking it. Views the control cannot use are accepted and ignored.",
751
+ "examples": [
752
+ [
753
+ "year",
754
+ "month",
755
+ "day"
756
+ ],
757
+ [
758
+ "hours",
759
+ "minutes",
760
+ "seconds"
761
+ ],
762
+ [
763
+ "year",
764
+ "month",
765
+ "day",
766
+ "hours",
767
+ "minutes",
768
+ "seconds"
769
+ ]
770
+ ]
771
+ },
772
+ "showActions": {
773
+ "type": "boolean"
774
+ },
775
+ "mask": {
776
+ "anyOf": [
777
+ {
778
+ "type": "string"
779
+ },
780
+ {
781
+ "type": "boolean"
782
+ },
783
+ {
784
+ "type": "array",
785
+ "items": {
786
+ "type": "string"
787
+ },
788
+ "minItems": 1
789
+ }
790
+ ]
791
+ },
792
+ "monaco": {
793
+ "$ref": "#/$defs/monacoOptions"
794
+ },
795
+ "language": {
796
+ "type": "string",
797
+ "description": "Code editor language."
798
+ },
799
+ ":language": {
800
+ "type": "string",
801
+ "description": "Dotted data path whose value chooses the language at runtime."
802
+ },
803
+ "convertJson": {
804
+ "type": "boolean",
805
+ "description": "Edit the parsed JSON value rather than the source text."
806
+ },
807
+ "propagateErrors": {
808
+ "type": "boolean",
809
+ "description": "Publish owned renderer errors to host additional errors; opt-in, default false.",
810
+ "default": false
811
+ },
812
+ "height": {
813
+ "$ref": "jsonforms-uischema.schema.json#/$defs/dimension"
814
+ },
815
+ "width": {
816
+ "$ref": "jsonforms-uischema.schema.json#/$defs/dimension"
817
+ },
818
+ "theme": {
819
+ "type": "string"
820
+ },
821
+ "mode": {
822
+ "type": "string"
823
+ },
824
+ "agGridOptions": {
825
+ "type": "object",
826
+ "additionalProperties": true,
827
+ "description": "AG Grid-specific configuration. A control's object replaces config.agGridOptions. Explicit pagination settings override their portable equivalents; columnDefs replaces the portable column list and supports richer native definitions."
828
+ },
829
+ "components": {
830
+ "type": "object",
831
+ "description": "Components a template may reference by name."
832
+ },
833
+ "toggle": {
834
+ "type": "boolean"
835
+ },
836
+ "slider": {
837
+ "type": "boolean"
838
+ },
839
+ "vertical": {
840
+ "type": "boolean"
841
+ },
842
+ "showNavButtons": {
843
+ "type": "boolean"
844
+ },
845
+ "allowAdditionalPropertiesIfMissing": {
846
+ "type": "boolean"
847
+ },
848
+ "allowEmptyPropertyNames": {
849
+ "type": "boolean"
850
+ },
851
+ "returnMaskedValue": {
852
+ "type": "boolean"
853
+ },
854
+ "tokensReplace": {
855
+ "type": "boolean"
856
+ },
857
+ "eager": {
858
+ "type": "boolean"
859
+ },
860
+ "reversed": {
861
+ "type": "boolean"
862
+ },
863
+ "showUnfocusedDescription": {
864
+ "type": "boolean"
865
+ },
866
+ "hideRequiredAsterisk": {
867
+ "type": "boolean"
868
+ },
869
+ "enableFilterErrorsBeforeTouch": {
870
+ "type": "boolean"
871
+ },
872
+ "showValidationIndicator": {
873
+ "type": "boolean"
874
+ },
875
+ "showValidationIndicatorCount": {
876
+ "type": "boolean",
877
+ "default": false,
878
+ "description": "Opt in to computing and presenting the container error count. Omitted or false uses an error-presence marker without computing a count."
879
+ },
880
+ "showDataIndicator": {
881
+ "type": "boolean"
882
+ },
883
+ "colorTextEntry": {
884
+ "type": "boolean"
885
+ },
886
+ "interpolate": {
887
+ "type": "boolean"
888
+ },
889
+ "dateFormat": {
890
+ "type": "string"
891
+ },
892
+ "dateSaveFormat": {
893
+ "type": "string"
894
+ },
895
+ "timeFormat": {
896
+ "type": "string"
897
+ },
898
+ "timeSaveFormat": {
899
+ "type": "string"
900
+ },
901
+ "dateTimeFormat": {
902
+ "type": "string"
903
+ },
904
+ "dateTimeSaveFormat": {
905
+ "type": "string"
906
+ },
907
+ "ampm": {
908
+ "type": "boolean"
909
+ },
910
+ "step": {
911
+ "type": "number",
912
+ "exclusiveMinimum": 0
913
+ },
914
+ "filterErrorKeywordsBeforeTouch": {
915
+ "type": "array",
916
+ "items": {
917
+ "type": "string"
918
+ }
919
+ },
920
+ "suggestion": {
921
+ "type": "array",
922
+ "items": {
923
+ "type": "string"
924
+ }
925
+ },
926
+ "tokens": {
927
+ "type": "object",
928
+ "additionalProperties": true
929
+ },
930
+ "colorSaveFormat": {
931
+ "enum": [
932
+ "hex",
933
+ "hex3",
934
+ "rgb",
935
+ "hsb"
936
+ ]
937
+ },
938
+ "collapsible": {
939
+ "type": "boolean"
940
+ },
941
+ "pagination": {
942
+ "$ref": "#/$defs/pagination"
943
+ },
944
+ "rowDetail": {
945
+ "$ref": "#/$defs/rowDetail"
946
+ },
947
+ "additionalProperties": {
948
+ "$ref": "#/$defs/additionalPropertiesPresentation"
949
+ },
950
+ "columnDefs": {
951
+ "description": "Selects and orders table or AG Grid columns with optional width constraints. Explicit agGridOptions.columnDefs replaces this list for AG Grid.",
952
+ "type": "array",
953
+ "items": {
954
+ "$ref": "#/$defs/tableColumnDefinition"
955
+ }
956
+ },
957
+ "additionalItems": {
958
+ "$ref": "#/$defs/additionalItemsPresentation"
959
+ },
960
+ "dialog": {
961
+ "$ref": "#/$defs/detailDialog"
962
+ },
963
+ "validateActiveBranch": {
964
+ "type": "boolean",
965
+ "default": true,
966
+ "description": "Validate the displayed anyOf/oneOf branch for local editor feedback. Control options override global config. False skips additional branch compilation and validation; document validation remains unchanged."
967
+ },
968
+ "object-detail": {
969
+ "$ref": "#/$defs/detail",
970
+ "description": "Mixed editor detail override when object is selected. Takes precedence over detail; scoped to that value."
971
+ },
972
+ "array-detail": {
973
+ "$ref": "#/$defs/detail",
974
+ "description": "Mixed editor detail override when array is selected. Takes precedence over detail; scoped to that value."
975
+ },
976
+ "string-detail": {
977
+ "$ref": "#/$defs/detail",
978
+ "description": "Mixed editor detail override when string is selected. Takes precedence over detail; scoped to that value."
979
+ },
980
+ "number-detail": {
981
+ "$ref": "#/$defs/detail",
982
+ "description": "Mixed editor detail override when number is selected. Takes precedence over detail; scoped to that value."
983
+ },
984
+ "integer-detail": {
985
+ "$ref": "#/$defs/detail",
986
+ "description": "Mixed editor detail override when integer is selected. Takes precedence over detail; scoped to that value."
987
+ },
988
+ "boolean-detail": {
989
+ "$ref": "#/$defs/detail",
990
+ "description": "Mixed editor detail override when boolean is selected. Takes precedence over detail; scoped to that value."
991
+ },
992
+ "null-detail": {
993
+ "$ref": "#/$defs/detail",
994
+ "description": "Mixed editor detail override when null is selected. Takes precedence over detail; scoped to that value."
995
+ },
996
+ "conditionalFields": {
997
+ "type": "boolean",
998
+ "description": "Opt in to active conditional object field discovery (if/then/else and Draft-07 dependencies). Local false overrides config. Explicit detail layouts retain placement; inactive branch-only controls are omitted without deleting data."
999
+ },
1000
+ "choices": {
1001
+ "type": "array",
1002
+ "description": "Selectable cards instead of a plain choice list. Each entry selects either a data value or a combinator branch; an entry carrying both says nothing a renderer can act on, which is why they are mutually exclusive.",
1003
+ "items": {
1004
+ "type": "object",
1005
+ "additionalProperties": false,
1006
+ "properties": {
1007
+ "value": {
1008
+ "description": "The data value this card selects."
1009
+ },
1010
+ "branch": {
1011
+ "type": "integer",
1012
+ "minimum": 0,
1013
+ "description": "The combinator branch this card selects, by index."
1014
+ },
1015
+ "label": {
1016
+ "type": "string"
1017
+ },
1018
+ "i18n": {
1019
+ "type": "string"
1020
+ },
1021
+ "disabled": {
1022
+ "type": "boolean"
1023
+ },
1024
+ "content": {
1025
+ "$ref": "#/$defs/uiSchema",
1026
+ "description": "Presentation-only UI schema drawn inside the card."
1027
+ },
1028
+ "selectedContent": {
1029
+ "$ref": "#/$defs/uiSchema",
1030
+ "description": "Drawn instead of content while the card is selected."
1031
+ },
1032
+ "detail": {
1033
+ "$ref": "#/$defs/detail",
1034
+ "description": "The editor the card reveals once selected."
1035
+ }
1036
+ },
1037
+ "oneOf": [
1038
+ {
1039
+ "required": [
1040
+ "value"
1041
+ ],
1042
+ "not": {
1043
+ "required": [
1044
+ "branch"
1045
+ ]
1046
+ }
1047
+ },
1048
+ {
1049
+ "required": [
1050
+ "branch"
1051
+ ],
1052
+ "not": {
1053
+ "required": [
1054
+ "value"
1055
+ ]
1056
+ }
1057
+ }
1058
+ ]
1059
+ }
1060
+ },
1061
+ "showRadio": {
1062
+ "type": "boolean",
1063
+ "default": false,
1064
+ "description": "Keeps the native radio control visible inside each card. Hidden by default; keyboard interaction and accessible radio semantics remain either way."
1065
+ },
1066
+ "startAdornment": {
1067
+ "$ref": "#/$defs/inputAdornmentValue"
1068
+ },
1069
+ "endAdornment": {
1070
+ "$ref": "#/$defs/inputAdornmentValue"
1071
+ }
1072
+ }
1073
+ },
1074
+ "cellOptions": {
1075
+ "type": "object",
1076
+ "additionalProperties": true,
1077
+ "properties": {
1078
+ "summary": {
1079
+ "$ref": "#/$defs/summary"
1080
+ },
1081
+ "detail": {
1082
+ "$ref": "#/$defs/detail"
1083
+ },
1084
+ "showTypeIndicator": {
1085
+ "type": "boolean",
1086
+ "default": false,
1087
+ "description": "Show an object or array type marker in a composite cell, independently of its summary."
1088
+ },
1089
+ "showEmptyButton": {
1090
+ "type": "boolean"
1091
+ },
1092
+ "emptyLabel": {
1093
+ "type": "string"
1094
+ },
1095
+ "okLabel": {
1096
+ "type": "string"
1097
+ },
1098
+ "cancelLabel": {
1099
+ "type": "string"
1100
+ },
1101
+ "restrict": {
1102
+ "type": "boolean"
1103
+ },
1104
+ "clearable": {
1105
+ "type": "boolean"
1106
+ },
1107
+ "format": {
1108
+ "$ref": "#/$defs/controlOptions/properties/format"
1109
+ },
1110
+ "variant": {
1111
+ "$ref": "#/$defs/controlOptions/properties/variant"
1112
+ },
1113
+ "focus": {
1114
+ "$ref": "#/$defs/controlOptions/properties/focus"
1115
+ },
1116
+ "placeholder": {
1117
+ "$ref": "#/$defs/controlOptions/properties/placeholder"
1118
+ },
1119
+ "readonly": {
1120
+ "$ref": "#/$defs/controlOptions/properties/readonly"
1121
+ },
1122
+ "multi": {
1123
+ "$ref": "#/$defs/controlOptions/properties/multi"
1124
+ },
1125
+ "autocomplete": {
1126
+ "$ref": "#/$defs/controlOptions/properties/autocomplete"
1127
+ },
1128
+ "elementLabelProp": {
1129
+ "$ref": "#/$defs/controlOptions/properties/elementLabelProp"
1130
+ },
1131
+ "showSortButtons": {
1132
+ "$ref": "#/$defs/controlOptions/properties/showSortButtons"
1133
+ },
1134
+ "disableAdd": {
1135
+ "$ref": "#/$defs/controlOptions/properties/disableAdd"
1136
+ },
1137
+ "disableRemove": {
1138
+ "$ref": "#/$defs/controlOptions/properties/disableRemove"
1139
+ },
1140
+ "collapsed": {
1141
+ "type": "boolean"
1142
+ },
1143
+ "collapseNewItems": {
1144
+ "$ref": "#/$defs/controlOptions/properties/collapseNewItems"
1145
+ },
1146
+ "hideAvatar": {
1147
+ "$ref": "#/$defs/controlOptions/properties/hideAvatar"
1148
+ },
1149
+ "hideArraySummaryValidation": {
1150
+ "$ref": "#/$defs/controlOptions/properties/hideArraySummaryValidation"
1151
+ },
1152
+ "table": {
1153
+ "$ref": "#/$defs/controlOptions/properties/table"
1154
+ },
1155
+ "cells": {
1156
+ "$ref": "#/$defs/controlOptions/properties/cells"
1157
+ },
1158
+ "confirmation": {
1159
+ "$ref": "#/$defs/controlOptions/properties/confirmation"
1160
+ },
1161
+ "showBorder": {
1162
+ "$ref": "#/$defs/controlOptions/properties/showBorder"
1163
+ },
1164
+ "layout": {
1165
+ "$ref": "#/$defs/controlOptions/properties/layout"
1166
+ },
1167
+ "formatMinimum": {
1168
+ "$ref": "#/$defs/controlOptions/properties/formatMinimum"
1169
+ },
1170
+ "formatMaximum": {
1171
+ "$ref": "#/$defs/controlOptions/properties/formatMaximum"
1172
+ },
1173
+ "formatExclusiveMinimum": {
1174
+ "$ref": "#/$defs/controlOptions/properties/formatExclusiveMinimum"
1175
+ },
1176
+ "formatExclusiveMaximum": {
1177
+ "$ref": "#/$defs/controlOptions/properties/formatExclusiveMaximum"
1178
+ },
1179
+ "views": {
1180
+ "$ref": "#/$defs/controlOptions/properties/views"
1181
+ },
1182
+ "showActions": {
1183
+ "$ref": "#/$defs/controlOptions/properties/showActions"
1184
+ },
1185
+ "mask": {
1186
+ "$ref": "#/$defs/controlOptions/properties/mask"
1187
+ },
1188
+ "monaco": {
1189
+ "$ref": "#/$defs/controlOptions/properties/monaco"
1190
+ },
1191
+ "language": {
1192
+ "$ref": "#/$defs/controlOptions/properties/language"
1193
+ },
1194
+ ":language": {
1195
+ "$ref": "#/$defs/controlOptions/properties/:language"
1196
+ },
1197
+ "convertJson": {
1198
+ "$ref": "#/$defs/controlOptions/properties/convertJson"
1199
+ },
1200
+ "propagateErrors": {
1201
+ "$ref": "#/$defs/controlOptions/properties/propagateErrors"
1202
+ },
1203
+ "height": {
1204
+ "$ref": "#/$defs/controlOptions/properties/height"
1205
+ },
1206
+ "width": {
1207
+ "$ref": "#/$defs/controlOptions/properties/width"
1208
+ },
1209
+ "theme": {
1210
+ "$ref": "#/$defs/controlOptions/properties/theme"
1211
+ },
1212
+ "mode": {
1213
+ "$ref": "#/$defs/controlOptions/properties/mode"
1214
+ },
1215
+ "agGridOptions": {
1216
+ "$ref": "#/$defs/controlOptions/properties/agGridOptions"
1217
+ },
1218
+ "components": {
1219
+ "$ref": "#/$defs/controlOptions/properties/components"
1220
+ },
1221
+ "toggle": {
1222
+ "$ref": "#/$defs/controlOptions/properties/toggle"
1223
+ },
1224
+ "slider": {
1225
+ "$ref": "#/$defs/controlOptions/properties/slider"
1226
+ },
1227
+ "vertical": {
1228
+ "$ref": "#/$defs/controlOptions/properties/vertical"
1229
+ },
1230
+ "showNavButtons": {
1231
+ "$ref": "#/$defs/controlOptions/properties/showNavButtons"
1232
+ },
1233
+ "allowAdditionalPropertiesIfMissing": {
1234
+ "$ref": "#/$defs/controlOptions/properties/allowAdditionalPropertiesIfMissing"
1235
+ },
1236
+ "allowEmptyPropertyNames": {
1237
+ "$ref": "#/$defs/controlOptions/properties/allowEmptyPropertyNames"
1238
+ },
1239
+ "returnMaskedValue": {
1240
+ "$ref": "#/$defs/controlOptions/properties/returnMaskedValue"
1241
+ },
1242
+ "tokensReplace": {
1243
+ "$ref": "#/$defs/controlOptions/properties/tokensReplace"
1244
+ },
1245
+ "eager": {
1246
+ "$ref": "#/$defs/controlOptions/properties/eager"
1247
+ },
1248
+ "reversed": {
1249
+ "$ref": "#/$defs/controlOptions/properties/reversed"
1250
+ },
1251
+ "showUnfocusedDescription": {
1252
+ "$ref": "#/$defs/controlOptions/properties/showUnfocusedDescription"
1253
+ },
1254
+ "hideRequiredAsterisk": {
1255
+ "$ref": "#/$defs/controlOptions/properties/hideRequiredAsterisk"
1256
+ },
1257
+ "enableFilterErrorsBeforeTouch": {
1258
+ "$ref": "#/$defs/controlOptions/properties/enableFilterErrorsBeforeTouch"
1259
+ },
1260
+ "showValidationIndicator": {
1261
+ "$ref": "#/$defs/controlOptions/properties/showValidationIndicator"
1262
+ },
1263
+ "showValidationIndicatorCount": {
1264
+ "$ref": "#/$defs/controlOptions/properties/showValidationIndicatorCount"
1265
+ },
1266
+ "showDataIndicator": {
1267
+ "$ref": "#/$defs/controlOptions/properties/showDataIndicator"
1268
+ },
1269
+ "colorTextEntry": {
1270
+ "$ref": "#/$defs/controlOptions/properties/colorTextEntry"
1271
+ },
1272
+ "interpolate": {
1273
+ "$ref": "#/$defs/controlOptions/properties/interpolate"
1274
+ },
1275
+ "dateFormat": {
1276
+ "$ref": "#/$defs/controlOptions/properties/dateFormat"
1277
+ },
1278
+ "dateSaveFormat": {
1279
+ "$ref": "#/$defs/controlOptions/properties/dateSaveFormat"
1280
+ },
1281
+ "timeFormat": {
1282
+ "$ref": "#/$defs/controlOptions/properties/timeFormat"
1283
+ },
1284
+ "timeSaveFormat": {
1285
+ "$ref": "#/$defs/controlOptions/properties/timeSaveFormat"
1286
+ },
1287
+ "dateTimeFormat": {
1288
+ "$ref": "#/$defs/controlOptions/properties/dateTimeFormat"
1289
+ },
1290
+ "dateTimeSaveFormat": {
1291
+ "$ref": "#/$defs/controlOptions/properties/dateTimeSaveFormat"
1292
+ },
1293
+ "ampm": {
1294
+ "$ref": "#/$defs/controlOptions/properties/ampm"
1295
+ },
1296
+ "step": {
1297
+ "$ref": "#/$defs/controlOptions/properties/step"
1298
+ },
1299
+ "filterErrorKeywordsBeforeTouch": {
1300
+ "$ref": "#/$defs/controlOptions/properties/filterErrorKeywordsBeforeTouch"
1301
+ },
1302
+ "suggestion": {
1303
+ "$ref": "#/$defs/controlOptions/properties/suggestion"
1304
+ },
1305
+ "tokens": {
1306
+ "$ref": "#/$defs/controlOptions/properties/tokens"
1307
+ },
1308
+ "colorSaveFormat": {
1309
+ "$ref": "#/$defs/controlOptions/properties/colorSaveFormat"
1310
+ },
1311
+ "collapsible": {
1312
+ "type": "boolean"
1313
+ },
1314
+ "columnDefs": {
1315
+ "description": "Selects and orders table or AG Grid columns with optional width constraints. Explicit agGridOptions.columnDefs replaces this list for AG Grid.",
1316
+ "type": "array",
1317
+ "items": {
1318
+ "$ref": "#/$defs/tableColumnDefinition"
1319
+ }
1320
+ },
1321
+ "dialog": {
1322
+ "$ref": "#/$defs/detailDialog"
1323
+ }
1324
+ }
1325
+ },
1326
+ "listWithDetail": {
1327
+ "required": [
1328
+ "scope"
1329
+ ],
1330
+ "properties": {
1331
+ "scope": {
1332
+ "type": "string"
1333
+ },
1334
+ "options": {
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "elementLabelProp": {
1338
+ "type": "string"
1339
+ },
1340
+ "detail": {
1341
+ "$ref": "#/$defs/detail"
1342
+ },
1343
+ "showSortButtons": {
1344
+ "type": "boolean",
1345
+ "default": false
1346
+ },
1347
+ "hideArraySummaryValidation": {
1348
+ "type": "boolean",
1349
+ "default": false
1350
+ },
1351
+ "restrict": {
1352
+ "type": "boolean"
1353
+ }
1354
+ }
1355
+ }
1356
+ }
1357
+ },
1358
+ "button": {
1359
+ "description": "Named command or script body, mutually exclusive in authored JSON. A tolerant runtime diagnoses conflicts and gives the action precedence.",
1360
+ "properties": {
1361
+ "label": {
1362
+ "type": "string"
1363
+ },
1364
+ "text": {
1365
+ "type": "string"
1366
+ },
1367
+ "action": {
1368
+ "type": "string",
1369
+ "description": "The command name handed to the host. Never derived from the label, which moves with the locale; `name` is the fallback."
1370
+ },
1371
+ "script": {
1372
+ "type": "string",
1373
+ "description": "An async function body, invoked with the ActionEvent as `this`. Requires jsonformsExtended.security.allowScriptEvaluation. A FUNCTION is also accepted by an in-memory TypeScript model and has no JSON spelling."
1374
+ },
1375
+ "params": {
1376
+ "type": "object",
1377
+ "additionalProperties": true,
1378
+ "description": "Arguments for the command, so one action serves several buttons."
1379
+ },
1380
+ "icon": {
1381
+ "type": "string"
1382
+ },
1383
+ "color": {
1384
+ "enum": [
1385
+ "primary",
1386
+ "secondary",
1387
+ "alternative",
1388
+ "success",
1389
+ "warning",
1390
+ "error"
1391
+ ],
1392
+ "description": "Semantic names, not paint; the renderer set maps them."
1393
+ },
1394
+ "options": {
1395
+ "type": "object",
1396
+ "properties": {
1397
+ "disabled": {
1398
+ "type": "boolean"
1399
+ },
1400
+ "fullWidth": {
1401
+ "type": "boolean",
1402
+ "default": false,
1403
+ "description": "Fill the available inline width of the containing layout cell without changing its size or span."
1404
+ }
1405
+ }
1406
+ }
1407
+ },
1408
+ "not": {
1409
+ "required": [
1410
+ "action",
1411
+ "script"
1412
+ ]
1413
+ }
1414
+ },
1415
+ "link": {
1416
+ "properties": {
1417
+ "href": {
1418
+ "type": "string",
1419
+ "description": "Subject to the URL policy. An empty href is permitted and non-navigating."
1420
+ },
1421
+ "label": {
1422
+ "type": "string"
1423
+ },
1424
+ "text": {
1425
+ "type": "string"
1426
+ },
1427
+ "target": {
1428
+ "type": "string"
1429
+ },
1430
+ "rel": {
1431
+ "type": "string"
1432
+ }
1433
+ },
1434
+ "required": [
1435
+ "href"
1436
+ ]
1437
+ },
1438
+ "imageView": {
1439
+ "description": "Static or data-bound image source. URL policy applies to either; alt is explicit, including an empty string for decoration.",
1440
+ "properties": {
1441
+ "src": {
1442
+ "type": "string"
1443
+ },
1444
+ "scope": {
1445
+ "type": "string",
1446
+ "description": "Reads the URL from the data instead of from the element."
1447
+ },
1448
+ "alt": {
1449
+ "type": "string"
1450
+ },
1451
+ "options": {
1452
+ "type": "object",
1453
+ "properties": {
1454
+ "width": {
1455
+ "$ref": "jsonforms-uischema.schema.json#/$defs/dimension"
1456
+ },
1457
+ "height": {
1458
+ "$ref": "jsonforms-uischema.schema.json#/$defs/dimension"
1459
+ }
1460
+ }
1461
+ }
1462
+ },
1463
+ "required": [
1464
+ "alt"
1465
+ ],
1466
+ "anyOf": [
1467
+ {
1468
+ "required": [
1469
+ "src"
1470
+ ]
1471
+ },
1472
+ {
1473
+ "required": [
1474
+ "scope"
1475
+ ]
1476
+ }
1477
+ ]
1478
+ },
1479
+ "spacer": {
1480
+ "properties": {
1481
+ "size": {
1482
+ "$ref": "jsonforms-uischema.schema.json#/$defs/dimension",
1483
+ "default": 32
1484
+ }
1485
+ },
1486
+ "description": "Top-level size along the parent main axis; options.layout.weight may request flexible space."
1487
+ },
1488
+ "separator": {
1489
+ "properties": {
1490
+ "options": {
1491
+ "type": "object",
1492
+ "properties": {
1493
+ "vertical": {
1494
+ "type": "boolean",
1495
+ "default": false
1496
+ }
1497
+ }
1498
+ }
1499
+ }
1500
+ },
1501
+ "templateLayout": {
1502
+ "required": [
1503
+ "template"
1504
+ ],
1505
+ "description": "A template rendered by a named engine. `template` is a STRING in the portable model; a native host profile may also accept a function, which has no JSON spelling and cannot be serialized.",
1506
+ "properties": {
1507
+ "template": {
1508
+ "type": "string"
1509
+ },
1510
+ "lang": {
1511
+ "$ref": "#/$defs/templateLangRef"
1512
+ },
1513
+ "name": {
1514
+ "type": "string"
1515
+ },
1516
+ "elements": {
1517
+ "type": "array",
1518
+ "items": {
1519
+ "$ref": "#/$defs/element"
1520
+ },
1521
+ "description": "Children. A named child is addressable from the template; an unnamed one gets its decimal index as a fallback name."
1522
+ }
1523
+ }
1524
+ },
1525
+ "templateLangRef": {
1526
+ "type": "string",
1527
+ "description": "Not a closed enum: an unknown language must be diagnosed rather than interpreted as another engine, which a closed enum would make unauthorable.",
1528
+ "examples": [
1529
+ "ractive",
1530
+ "jsx"
1531
+ ]
1532
+ },
1533
+ "slot": {
1534
+ "properties": {
1535
+ "name": {
1536
+ "type": "string",
1537
+ "description": "Which named child of the enclosing template to place.",
1538
+ "minLength": 1
1539
+ },
1540
+ "elements": {
1541
+ "type": "array",
1542
+ "items": {
1543
+ "$ref": "#/$defs/element"
1544
+ },
1545
+ "description": "The first child is fallback content when no named slot content is supplied. Wrap multiple controls in one layout."
1546
+ }
1547
+ },
1548
+ "required": [
1549
+ "name"
1550
+ ]
1551
+ },
1552
+ "monacoOptions": {
1553
+ "type": "object",
1554
+ "additionalProperties": true,
1555
+ "properties": {
1556
+ "rows": {
1557
+ "type": "integer",
1558
+ "minimum": 1,
1559
+ "default": 10
1560
+ },
1561
+ "autoGrow": {
1562
+ "type": "boolean"
1563
+ },
1564
+ "minRows": {
1565
+ "type": "integer",
1566
+ "minimum": 1,
1567
+ "default": 3
1568
+ },
1569
+ "maxRows": {
1570
+ "type": "integer",
1571
+ "minimum": 1,
1572
+ "default": 30
1573
+ },
1574
+ "options": {
1575
+ "type": "object",
1576
+ "additionalProperties": true,
1577
+ "description": "Passed to Monaco itself."
1578
+ },
1579
+ "initActions": {
1580
+ "type": "array",
1581
+ "items": {
1582
+ "type": "string"
1583
+ }
1584
+ }
1585
+ }
1586
+ },
1587
+ "detail": {
1588
+ "description": "Editor detail: inline UI schema or upstream string mode. GENERATE bypasses the registry; other strings consult it. Tuple containers use a separate position-layout contract.",
1589
+ "anyOf": [
1590
+ {
1591
+ "type": "string",
1592
+ "description": "Array detail: DEFAULT preserves normal presentation; GENERATE forces generation; REGISTERED and other strings (including GENERATED) use registry lookup with generation fallback. String comparisons are case-insensitive. Inline UI schemas are recursively validated."
1593
+ },
1594
+ {
1595
+ "$ref": "#/$defs/element"
1596
+ },
1597
+ {
1598
+ "type": "object",
1599
+ "required": [
1600
+ "elements"
1601
+ ],
1602
+ "additionalProperties": true,
1603
+ "properties": {
1604
+ "elements": {
1605
+ "type": "array",
1606
+ "items": {
1607
+ "$ref": "#/$defs/element"
1608
+ }
1609
+ }
1610
+ },
1611
+ "not": {
1612
+ "required": [
1613
+ "type"
1614
+ ]
1615
+ }
1616
+ }
1617
+ ]
1618
+ },
1619
+ "label": {
1620
+ "description": "A Label, plus the options the extended renderer set reads on one. References the base definition rather than restating it, so `text` and `options.format` keep one home.",
1621
+ "allOf": [
1622
+ {
1623
+ "$ref": "jsonforms-uischema.schema.json#/$defs/label"
1624
+ },
1625
+ {
1626
+ "properties": {
1627
+ "options": {
1628
+ "type": "object",
1629
+ "additionalProperties": true,
1630
+ "properties": {
1631
+ "markup": {
1632
+ "type": "string",
1633
+ "enum": [
1634
+ "plain",
1635
+ "markdown"
1636
+ ],
1637
+ "default": "plain",
1638
+ "description": "How the text is rendered. `markdown` parses it with the host's configured profile; anything other than these two is reported beside the text rather than guessed at. A renderer set that does not implement this ignores the option and shows the text as written, which is why this is an option and not an element type."
1639
+ },
1640
+ "typography": {
1641
+ "type": "boolean",
1642
+ "default": true,
1643
+ "description": "Whether to wrap the rendered text in the UI library's own text components. Overrides jsonformsExtended.markup.typography for this element."
1644
+ },
1645
+ "interpolate": {
1646
+ "type": "boolean",
1647
+ "default": false,
1648
+ "description": "Evaluates the {...} placeholders in this element's text. A single { opens a placeholder and {{ emits a literal brace - inverted from Mustache, so {{data.x}} is literal text. Inside is an expression, not merely a path. A renderer set that does not implement this ignores the option and shows the text as written."
1649
+ },
1650
+ "textParams": {
1651
+ "type": "object",
1652
+ "additionalProperties": true,
1653
+ "description": "Named values exposed to the expressions as bare identifiers. Always in scope, unlike the data/item/config/context namespaces, which require jsonformsExtended.dynamicValues.enabled."
1654
+ }
1655
+ }
1656
+ }
1657
+ }
1658
+ }
1659
+ ]
1660
+ },
1661
+ "summary": {
1662
+ "oneOf": [
1663
+ {
1664
+ "type": "object",
1665
+ "required": [
1666
+ "type",
1667
+ "scope"
1668
+ ],
1669
+ "properties": {
1670
+ "type": {
1671
+ "const": "Control"
1672
+ },
1673
+ "scope": {
1674
+ "type": "string",
1675
+ "pattern": "^#(?:/.*)?$"
1676
+ }
1677
+ },
1678
+ "additionalProperties": true
1679
+ },
1680
+ {
1681
+ "allOf": [
1682
+ {
1683
+ "$ref": "#/$defs/label"
1684
+ },
1685
+ {
1686
+ "type": "object",
1687
+ "required": [
1688
+ "type"
1689
+ ],
1690
+ "properties": {
1691
+ "type": {
1692
+ "const": "Label"
1693
+ }
1694
+ }
1695
+ }
1696
+ ]
1697
+ }
1698
+ ]
1699
+ },
1700
+ "template": {
1701
+ "type": "object",
1702
+ "required": [
1703
+ "name"
1704
+ ],
1705
+ "properties": {
1706
+ "name": {
1707
+ "type": "string",
1708
+ "minLength": 1,
1709
+ "description": "Exact name of the registered UI-schema model (entry.uischema.name), not a ranked tester lookup."
1710
+ },
1711
+ "elements": {
1712
+ "type": "array",
1713
+ "items": {
1714
+ "$ref": "#/$defs/element"
1715
+ }
1716
+ }
1717
+ }
1718
+ },
1719
+ "pagination": {
1720
+ "$ref": "jsonforms-uischema.schema.json#/$defs/pagination"
1721
+ },
1722
+ "rowDetail": {
1723
+ "type": "object",
1724
+ "additionalProperties": false,
1725
+ "required": [
1726
+ "presentation"
1727
+ ],
1728
+ "properties": {
1729
+ "presentation": {
1730
+ "enum": [
1731
+ "dialog",
1732
+ "panel"
1733
+ ]
1734
+ },
1735
+ "detail": {
1736
+ "$ref": "#/$defs/detail"
1737
+ },
1738
+ "placement": {
1739
+ "enum": [
1740
+ "right",
1741
+ "bottom"
1742
+ ],
1743
+ "default": "right"
1744
+ },
1745
+ "resizable": {
1746
+ "type": "boolean",
1747
+ "default": true
1748
+ },
1749
+ "collapsed": {
1750
+ "type": "boolean",
1751
+ "default": false,
1752
+ "description": "Initial panel visibility: true starts hidden; false starts visible. Panel presentation only."
1753
+ },
1754
+ "dialog": {
1755
+ "$ref": "#/$defs/detailDialog"
1756
+ }
1757
+ },
1758
+ "allOf": [
1759
+ {
1760
+ "if": {
1761
+ "properties": {
1762
+ "presentation": {
1763
+ "const": "dialog"
1764
+ }
1765
+ }
1766
+ },
1767
+ "then": {
1768
+ "not": {
1769
+ "anyOf": [
1770
+ {
1771
+ "required": [
1772
+ "placement"
1773
+ ]
1774
+ },
1775
+ {
1776
+ "required": [
1777
+ "resizable"
1778
+ ]
1779
+ },
1780
+ {
1781
+ "required": [
1782
+ "collapsed"
1783
+ ]
1784
+ }
1785
+ ]
1786
+ }
1787
+ }
1788
+ }
1789
+ ]
1790
+ },
1791
+ "additionalPropertiesPresentation": {
1792
+ "$ref": "jsonforms-uischema.schema.json#/$defs/additionalPropertiesPresentation"
1793
+ },
1794
+ "tableColumnDefinition": {
1795
+ "$ref": "jsonforms-uischema.schema.json#/$defs/tableColumnDefinition"
1796
+ },
1797
+ "additionalItemsPresentation": {
1798
+ "$ref": "jsonforms-uischema.schema.json#/$defs/additionalItemsPresentation"
1799
+ },
1800
+ "detailDialog": {
1801
+ "$ref": "jsonforms-uischema.schema.json#/$defs/detailDialog"
1802
+ },
1803
+ "inputAdornment": {
1804
+ "oneOf": [
1805
+ {
1806
+ "type": "object",
1807
+ "required": [
1808
+ "kind",
1809
+ "text"
1810
+ ],
1811
+ "properties": {
1812
+ "kind": {
1813
+ "const": "text"
1814
+ },
1815
+ "text": {
1816
+ "type": "string",
1817
+ "minLength": 1
1818
+ },
1819
+ "i18n": {
1820
+ "type": "string",
1821
+ "minLength": 1
1822
+ },
1823
+ "tooltip": {
1824
+ "type": "string",
1825
+ "minLength": 1
1826
+ }
1827
+ },
1828
+ "additionalProperties": false
1829
+ },
1830
+ {
1831
+ "type": "object",
1832
+ "required": [
1833
+ "kind",
1834
+ "icon"
1835
+ ],
1836
+ "properties": {
1837
+ "kind": {
1838
+ "const": "icon"
1839
+ },
1840
+ "icon": {
1841
+ "type": "string",
1842
+ "minLength": 1
1843
+ },
1844
+ "label": {
1845
+ "type": "string",
1846
+ "minLength": 1
1847
+ },
1848
+ "i18n": {
1849
+ "type": "string",
1850
+ "minLength": 1
1851
+ },
1852
+ "tooltip": {
1853
+ "type": "string",
1854
+ "minLength": 1
1855
+ },
1856
+ "decorative": {
1857
+ "type": "boolean"
1858
+ }
1859
+ },
1860
+ "allOf": [
1861
+ {
1862
+ "if": {
1863
+ "properties": {
1864
+ "decorative": {
1865
+ "const": true
1866
+ }
1867
+ },
1868
+ "required": [
1869
+ "decorative"
1870
+ ]
1871
+ },
1872
+ "then": {
1873
+ "not": {
1874
+ "anyOf": [
1875
+ {
1876
+ "required": [
1877
+ "label"
1878
+ ]
1879
+ },
1880
+ {
1881
+ "required": [
1882
+ "tooltip"
1883
+ ]
1884
+ },
1885
+ {
1886
+ "required": [
1887
+ "i18n"
1888
+ ]
1889
+ }
1890
+ ]
1891
+ }
1892
+ },
1893
+ "else": {
1894
+ "required": [
1895
+ "label"
1896
+ ]
1897
+ }
1898
+ }
1899
+ ],
1900
+ "additionalProperties": false
1901
+ }
1902
+ ]
1903
+ },
1904
+ "inputAdornmentValue": {
1905
+ "oneOf": [
1906
+ {
1907
+ "type": "string"
1908
+ },
1909
+ {
1910
+ "$ref": "#/$defs/inputAdornment"
1911
+ },
1912
+ {
1913
+ "type": "array",
1914
+ "items": {
1915
+ "$ref": "#/$defs/inputAdornment"
1916
+ }
1917
+ }
1918
+ ],
1919
+ "description": "Logical input-edge content. Strings preserve JSON Forms React Material literal startAdornment/endAdornment behavior; objects add localized text or semantic icons; arrays compose objects in order."
1920
+ }
1921
+ },
1922
+ "$id": "https://kchobantonov.github.io/jsonforms-extended-spec/schemas/jsonforms-extended-uischema.schema.json"
1923
+ }