@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.3.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 +2680 -0
  4. package/conformance/behavior.json +1602 -0
  5. package/conformance/config-consumption.json +1542 -0
  6. package/conformance/expected-invalid.json +20 -0
  7. package/docs/audit.md +150 -0
  8. package/docs/conditional-fields.md +122 -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 +233 -0
  12. package/docs/implementation-pitfalls.md +968 -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 +8470 -0
  17. package/docs/todo.md +166 -0
  18. package/examples/README.md +127 -0
  19. package/examples/additional-errors/README.md +176 -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 +203 -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 +154 -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 +27 -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 +32 -0
  118. package/examples/conditional-fields/uischema.json +131 -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 +241 -0
  198. package/examples/label-interpolation/config.json +14 -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 +379 -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 +82 -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 +332 -0
  339. package/schemas/jsonforms-extended-uischema.schema.json +1932 -0
  340. package/schemas/jsonforms-rule.schema.json +104 -0
  341. package/schemas/jsonforms-uischema.schema.json +1434 -0
  342. package/typescript/README.md +546 -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 +385 -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 +428 -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 +638 -0
  360. package/typescript/test/tsconfig.json +10 -0
  361. package/typescript/test/typedAuthoring.test.ts +151 -0
  362. package/typescript/test/typedAuthoringCoverage.test.ts +178 -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,1434 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "JSON Forms UI schema — common profile",
4
+ "description": "Common element vocabulary and portable options. Use the extended profile for the complete vocabulary. Unknown options are retained; passing this schema does not assert renderer support.",
5
+ "$ref": "#/$defs/element",
6
+ "$defs": {
7
+ "dimension": {
8
+ "anyOf": [
9
+ {
10
+ "type": "number",
11
+ "minimum": 0
12
+ },
13
+ {
14
+ "type": "string",
15
+ "minLength": 1
16
+ }
17
+ ],
18
+ "description": "Nonnegative pixel count or a nonempty CSS dimension. CSS parsing and suitability are runtime checks."
19
+ },
20
+ "uiSchema": {
21
+ "$ref": "#/$defs/element"
22
+ },
23
+ "element": {
24
+ "type": "object",
25
+ "required": [
26
+ "type"
27
+ ],
28
+ "additionalProperties": true,
29
+ "properties": {
30
+ "type": {
31
+ "type": "string",
32
+ "enum": [
33
+ "Control",
34
+ "VerticalLayout",
35
+ "HorizontalLayout",
36
+ "Group",
37
+ "Categorization",
38
+ "Category",
39
+ "ListWithDetail",
40
+ "Label"
41
+ ],
42
+ "description": "Element discriminator. The common profile admits its documented types; the extended profile preserves unknown types."
43
+ },
44
+ "rule": {
45
+ "$ref": "jsonforms-rule.schema.json"
46
+ },
47
+ "options": {
48
+ "type": "object",
49
+ "additionalProperties": true,
50
+ "properties": {
51
+ "showValidationIndicator": {
52
+ "type": "boolean"
53
+ },
54
+ "showValidationIndicatorCount": {
55
+ "type": "boolean",
56
+ "default": false,
57
+ "description": "Opt in to computing and presenting the container error count. Omitted or false uses an error-presence marker without computing a count."
58
+ },
59
+ "showDataIndicator": {
60
+ "type": "boolean"
61
+ },
62
+ "interpolate": {
63
+ "type": "boolean"
64
+ },
65
+ "markup": {
66
+ "enum": [
67
+ "plain",
68
+ "markdown"
69
+ ]
70
+ },
71
+ "textParams": {
72
+ "type": "object",
73
+ "additionalProperties": true
74
+ },
75
+ "readonly": {
76
+ "type": "boolean"
77
+ },
78
+ "part": {
79
+ "type": "string",
80
+ "pattern": "^\\s*([A-Za-z][A-Za-z0-9_-]*(\\s+|$))*$",
81
+ "description": "Optional host styling names separated by whitespace. HTML implementations expose normalized names as data-part on the layout slot; non-HTML renderers may use a documented no-op. No built-in styling or behavior."
82
+ },
83
+ "conditionalFields": {
84
+ "type": "boolean",
85
+ "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
86
+ }
87
+ }
88
+ },
89
+ "i18n": {
90
+ "type": "string",
91
+ "description": "Translation key for this element's own text."
92
+ },
93
+ "name": {
94
+ "type": "string",
95
+ "description": "Stable local element name for category selection, composition and action fallback."
96
+ },
97
+ "textParams": {
98
+ "type": "object",
99
+ "additionalProperties": true
100
+ }
101
+ },
102
+ "allOf": [
103
+ {
104
+ "$ref": "#/$defs/byType"
105
+ },
106
+ {
107
+ "$ref": "#/$defs/layoutItemOptions"
108
+ }
109
+ ]
110
+ },
111
+ "byType": {
112
+ "description": "Per-type shape. Written as if/then so an unknown `type` still validates - a renderer set downstream may contribute its own.",
113
+ "allOf": [
114
+ {
115
+ "if": {
116
+ "properties": {
117
+ "type": {
118
+ "const": "Control"
119
+ }
120
+ },
121
+ "required": [
122
+ "type"
123
+ ]
124
+ },
125
+ "then": {
126
+ "$ref": "#/$defs/control"
127
+ }
128
+ },
129
+ {
130
+ "if": {
131
+ "properties": {
132
+ "type": {
133
+ "const": "VerticalLayout"
134
+ }
135
+ },
136
+ "required": [
137
+ "type"
138
+ ]
139
+ },
140
+ "then": {
141
+ "$ref": "#/$defs/layout"
142
+ }
143
+ },
144
+ {
145
+ "if": {
146
+ "properties": {
147
+ "type": {
148
+ "const": "HorizontalLayout"
149
+ }
150
+ },
151
+ "required": [
152
+ "type"
153
+ ]
154
+ },
155
+ "then": {
156
+ "$ref": "#/$defs/horizontalLayout"
157
+ }
158
+ },
159
+ {
160
+ "if": {
161
+ "properties": {
162
+ "type": {
163
+ "const": "Group"
164
+ }
165
+ },
166
+ "required": [
167
+ "type"
168
+ ]
169
+ },
170
+ "then": {
171
+ "$ref": "#/$defs/group"
172
+ }
173
+ },
174
+ {
175
+ "if": {
176
+ "properties": {
177
+ "type": {
178
+ "const": "Categorization"
179
+ }
180
+ },
181
+ "required": [
182
+ "type"
183
+ ]
184
+ },
185
+ "then": {
186
+ "$ref": "#/$defs/categorization"
187
+ }
188
+ },
189
+ {
190
+ "if": {
191
+ "properties": {
192
+ "type": {
193
+ "const": "Category"
194
+ }
195
+ },
196
+ "required": [
197
+ "type"
198
+ ]
199
+ },
200
+ "then": {
201
+ "$ref": "#/$defs/category"
202
+ }
203
+ },
204
+ {
205
+ "if": {
206
+ "properties": {
207
+ "type": {
208
+ "const": "ListWithDetail"
209
+ }
210
+ },
211
+ "required": [
212
+ "type"
213
+ ]
214
+ },
215
+ "then": {
216
+ "$ref": "#/$defs/listWithDetail"
217
+ }
218
+ },
219
+ {
220
+ "if": {
221
+ "properties": {
222
+ "type": {
223
+ "const": "Label"
224
+ }
225
+ },
226
+ "required": [
227
+ "type"
228
+ ]
229
+ },
230
+ "then": {
231
+ "$ref": "#/$defs/label"
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ "layoutItemOptions": {
237
+ "type": "object",
238
+ "properties": {
239
+ "options": {
240
+ "type": "object",
241
+ "properties": {
242
+ "layout": {
243
+ "$ref": "#/$defs/childLayout"
244
+ }
245
+ }
246
+ }
247
+ },
248
+ "description": "Parent sizing request stored on a child at options.layout."
249
+ },
250
+ "layoutContainerOptions": {
251
+ "type": "object",
252
+ "properties": {
253
+ "gap": {
254
+ "$ref": "#/$defs/dimension",
255
+ "default": 16,
256
+ "description": "Space between layout children, in pixels or a CSS dimension. Uses the element's explicit gap, then jsonformsExtended.layoutDefaults.gap, then 16 CSS pixels in both rows and columns. Explicit zero disables the gap. Native field outer margins must not add spacing on top of the layout gap."
257
+ },
258
+ "wrap": {
259
+ "type": "boolean",
260
+ "default": false
261
+ },
262
+ "minItemWidth": {
263
+ "$ref": "#/$defs/dimension"
264
+ },
265
+ "align": {
266
+ "enum": [
267
+ "start",
268
+ "center",
269
+ "end",
270
+ "stretch"
271
+ ]
272
+ },
273
+ "justify": {
274
+ "enum": [
275
+ "start",
276
+ "center",
277
+ "end",
278
+ "space-between",
279
+ "space-around",
280
+ "space-evenly"
281
+ ]
282
+ },
283
+ "resizable": {
284
+ "type": "boolean",
285
+ "description": "Draws a splitter between children."
286
+ },
287
+ "gridColumns": {
288
+ "type": "integer",
289
+ "minimum": 1
290
+ }
291
+ }
292
+ },
293
+ "layout": {
294
+ "required": [
295
+ "elements"
296
+ ],
297
+ "properties": {
298
+ "elements": {
299
+ "type": "array",
300
+ "items": {
301
+ "$ref": "#/$defs/element"
302
+ }
303
+ },
304
+ "options": {
305
+ "$ref": "#/$defs/layoutContainerOptions"
306
+ }
307
+ }
308
+ },
309
+ "horizontalLayout": {
310
+ "required": [
311
+ "elements"
312
+ ],
313
+ "properties": {
314
+ "elements": {
315
+ "type": "array",
316
+ "items": {
317
+ "$ref": "#/$defs/element"
318
+ }
319
+ },
320
+ "options": {
321
+ "allOf": [
322
+ {
323
+ "$ref": "#/$defs/layoutContainerOptions"
324
+ }
325
+ ],
326
+ "properties": {
327
+ "gridColumns": {
328
+ "type": "integer",
329
+ "minimum": 1,
330
+ "default": 16,
331
+ "description": "Horizontal layouts only. A child's `span` is read against this."
332
+ }
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "group": {
338
+ "required": [
339
+ "elements"
340
+ ],
341
+ "properties": {
342
+ "label": {
343
+ "type": "string"
344
+ },
345
+ "cover": {
346
+ "$ref": "#/$defs/element"
347
+ },
348
+ "header": {
349
+ "type": "array",
350
+ "items": {
351
+ "$ref": "#/$defs/element"
352
+ }
353
+ },
354
+ "footer": {
355
+ "type": "array",
356
+ "items": {
357
+ "$ref": "#/$defs/element"
358
+ }
359
+ },
360
+ "elements": {
361
+ "type": "array",
362
+ "items": {
363
+ "$ref": "#/$defs/element"
364
+ }
365
+ },
366
+ "options": {
367
+ "allOf": [
368
+ {
369
+ "$ref": "#/$defs/layoutContainerOptions"
370
+ }
371
+ ],
372
+ "properties": {
373
+ "collapsible": {
374
+ "type": "boolean"
375
+ },
376
+ "collapsed": {
377
+ "type": "boolean",
378
+ "description": "Initial state, synchronized only when the effective collapsed option changes."
379
+ },
380
+ "showBorder": {
381
+ "type": "boolean",
382
+ "default": true
383
+ }
384
+ }
385
+ }
386
+ }
387
+ },
388
+ "categorization": {
389
+ "required": [
390
+ "elements"
391
+ ],
392
+ "properties": {
393
+ "elements": {
394
+ "type": "array",
395
+ "items": {
396
+ "allOf": [
397
+ {
398
+ "$ref": "#/$defs/element"
399
+ },
400
+ {
401
+ "properties": {
402
+ "type": {
403
+ "enum": [
404
+ "Category",
405
+ "Categorization"
406
+ ]
407
+ }
408
+ }
409
+ }
410
+ ]
411
+ }
412
+ },
413
+ "options": {
414
+ "type": "object",
415
+ "properties": {
416
+ "variant": {
417
+ "type": "string",
418
+ "description": "Omit for tabs; canonical alternatives are stepper and accordion. Unknown variants require a runtime fallback."
419
+ },
420
+ "initial": {
421
+ "type": "string",
422
+ "description": "Name of a direct Category child; not an index. Runtime diagnoses an absent or hidden match."
423
+ },
424
+ "vertical": {
425
+ "type": "boolean"
426
+ },
427
+ "showNavButtons": {
428
+ "type": "boolean"
429
+ },
430
+ "collapsed": {
431
+ "type": "boolean",
432
+ "default": false,
433
+ "description": "Accordion collapsed state. Explicit initial selection takes precedence on mount."
434
+ }
435
+ }
436
+ },
437
+ "label": {
438
+ "type": "string"
439
+ }
440
+ }
441
+ },
442
+ "category": {
443
+ "required": [
444
+ "elements"
445
+ ],
446
+ "properties": {
447
+ "label": {
448
+ "type": "string"
449
+ },
450
+ "elements": {
451
+ "type": "array",
452
+ "items": {
453
+ "$ref": "#/$defs/element"
454
+ }
455
+ }
456
+ }
457
+ },
458
+ "control": {
459
+ "required": [
460
+ "scope"
461
+ ],
462
+ "properties": {
463
+ "scope": {
464
+ "type": "string",
465
+ "description": "JSON Pointer into the schema, e.g. `#/properties/name`.",
466
+ "pattern": "^#(?:/.*)?$"
467
+ },
468
+ "label": {
469
+ "anyOf": [
470
+ {
471
+ "type": "string"
472
+ },
473
+ {
474
+ "type": "boolean"
475
+ },
476
+ {
477
+ "type": "object",
478
+ "properties": {
479
+ "text": {
480
+ "type": "string"
481
+ },
482
+ "show": {
483
+ "type": "boolean"
484
+ }
485
+ },
486
+ "additionalProperties": true
487
+ }
488
+ ]
489
+ },
490
+ "options": {
491
+ "$ref": "#/$defs/controlOptions"
492
+ }
493
+ }
494
+ },
495
+ "controlOptions": {
496
+ "type": "object",
497
+ "additionalProperties": true,
498
+ "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.",
499
+ "properties": {
500
+ "format": {
501
+ "type": "string",
502
+ "description": "Presentation hint; never rewrites the data schema format. Unknown or unavailable formats remain valid authoring values; renderer capability determines their presentation.",
503
+ "examples": [
504
+ "radio",
505
+ "date",
506
+ "date-time",
507
+ "time",
508
+ "password",
509
+ "table"
510
+ ]
511
+ },
512
+ "variant": {
513
+ "type": "string",
514
+ "description": "Canonical presentation selector. Unsupported values are preserved and diagnosed at runtime."
515
+ },
516
+ "focus": {
517
+ "type": "boolean"
518
+ },
519
+ "clearable": {
520
+ "type": "boolean"
521
+ },
522
+ "placeholder": {
523
+ "type": "string"
524
+ },
525
+ "readonly": {
526
+ "type": "boolean"
527
+ },
528
+ "restrict": {
529
+ "type": "boolean",
530
+ "description": "Prevention rather than only validation, for this control."
531
+ },
532
+ "multi": {
533
+ "type": "boolean",
534
+ "description": "Multi-line text."
535
+ },
536
+ "autocomplete": {
537
+ "type": "boolean",
538
+ "description": "Searchable choice entry."
539
+ },
540
+ "detail": {
541
+ "$ref": "#/$defs/detail"
542
+ },
543
+ "summary": {
544
+ "$ref": "#/$defs/summary"
545
+ },
546
+ "elementLabelProp": {
547
+ "type": "string",
548
+ "description": "Item-relative dotted DATA path for an item's header label - not a JSON pointer."
549
+ },
550
+ "showSortButtons": {
551
+ "type": "boolean",
552
+ "default": false,
553
+ "description": "Table and expandable: Move up/down. AG Grid: a drag-handle column."
554
+ },
555
+ "disableAdd": {
556
+ "type": "boolean",
557
+ "default": false
558
+ },
559
+ "disableRemove": {
560
+ "type": "boolean",
561
+ "default": false
562
+ },
563
+ "collapsed": {
564
+ "type": "boolean",
565
+ "default": false,
566
+ "description": "Collapsed outer mixed frame or accordion state; initial closed state for expandable array items. Array items use this at mount; Group, mixed and categorization panels react to changes in the setting."
567
+ },
568
+ "collapseNewItems": {
569
+ "type": "boolean",
570
+ "default": false
571
+ },
572
+ "hideAvatar": {
573
+ "type": "boolean",
574
+ "default": false
575
+ },
576
+ "hideArraySummaryValidation": {
577
+ "type": "boolean",
578
+ "default": false,
579
+ "description": "Hides the child-error summary only. Validation is unaffected, and the array's own error explanation remains."
580
+ },
581
+ "table": {
582
+ "type": "boolean",
583
+ "description": "Forces the table renderer for an array whose items nest, which the detail renderer would otherwise outrank."
584
+ },
585
+ "cells": {
586
+ "type": "object",
587
+ "description": "Per-column options handed to the composite cell, keyed by property name.",
588
+ "additionalProperties": {
589
+ "$ref": "#/$defs/cellOptions"
590
+ }
591
+ },
592
+ "showTypeIndicator": {
593
+ "type": "boolean",
594
+ "default": false,
595
+ "description": "Show an object or array type marker in a composite cell, independently of its summary."
596
+ },
597
+ "showEmptyButton": {
598
+ "type": "boolean",
599
+ "description": "Adds Clear to a composite detail dialog."
600
+ },
601
+ "emptyLabel": {
602
+ "type": "string"
603
+ },
604
+ "okLabel": {
605
+ "type": "string",
606
+ "description": "Used as an i18n key first, literally if it does not resolve."
607
+ },
608
+ "cancelLabel": {
609
+ "type": "string"
610
+ },
611
+ "confirmation": {
612
+ "$ref": "#/$defs/confirmationOperations"
613
+ },
614
+ "showBorder": {
615
+ "type": "boolean",
616
+ "default": true,
617
+ "description": "Tuple control: encloses the heading and positions."
618
+ },
619
+ "layout": {
620
+ "$ref": "#/$defs/childLayout"
621
+ },
622
+ "formatMinimum": {
623
+ "anyOf": [
624
+ {
625
+ "type": "string"
626
+ },
627
+ {
628
+ "type": "number"
629
+ },
630
+ {
631
+ "type": "object",
632
+ "required": [
633
+ "$data"
634
+ ],
635
+ "properties": {
636
+ "$data": {
637
+ "type": "string"
638
+ }
639
+ },
640
+ "additionalProperties": false
641
+ }
642
+ ],
643
+ "description": "Comparable temporal/duration string, original file byte count, or a supported data reference; applicability is checked at runtime."
644
+ },
645
+ "formatMaximum": {
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
+ "formatExclusiveMinimum": {
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
+ "formatExclusiveMaximum": {
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
+ "views": {
715
+ "type": "array",
716
+ "items": {
717
+ "type": "string",
718
+ "enum": [
719
+ "year",
720
+ "month",
721
+ "day",
722
+ "hours",
723
+ "minutes",
724
+ "seconds"
725
+ ]
726
+ },
727
+ "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.",
728
+ "examples": [
729
+ [
730
+ "year",
731
+ "month",
732
+ "day"
733
+ ],
734
+ [
735
+ "hours",
736
+ "minutes",
737
+ "seconds"
738
+ ],
739
+ [
740
+ "year",
741
+ "month",
742
+ "day",
743
+ "hours",
744
+ "minutes",
745
+ "seconds"
746
+ ]
747
+ ]
748
+ },
749
+ "height": {
750
+ "$ref": "#/$defs/dimension"
751
+ },
752
+ "width": {
753
+ "$ref": "#/$defs/dimension"
754
+ },
755
+ "toggle": {
756
+ "type": "boolean"
757
+ },
758
+ "slider": {
759
+ "type": "boolean"
760
+ },
761
+ "vertical": {
762
+ "type": "boolean"
763
+ },
764
+ "showNavButtons": {
765
+ "type": "boolean"
766
+ },
767
+ "allowAdditionalPropertiesIfMissing": {
768
+ "type": "boolean"
769
+ },
770
+ "allowEmptyPropertyNames": {
771
+ "type": "boolean"
772
+ },
773
+ "returnMaskedValue": {
774
+ "type": "boolean"
775
+ },
776
+ "tokensReplace": {
777
+ "type": "boolean"
778
+ },
779
+ "eager": {
780
+ "type": "boolean"
781
+ },
782
+ "reversed": {
783
+ "type": "boolean"
784
+ },
785
+ "showUnfocusedDescription": {
786
+ "type": "boolean"
787
+ },
788
+ "hideRequiredAsterisk": {
789
+ "type": "boolean"
790
+ },
791
+ "enableFilterErrorsBeforeTouch": {
792
+ "type": "boolean"
793
+ },
794
+ "showValidationIndicator": {
795
+ "type": "boolean"
796
+ },
797
+ "showValidationIndicatorCount": {
798
+ "type": "boolean",
799
+ "default": false,
800
+ "description": "Opt in to computing and presenting the container error count. Omitted or false uses an error-presence marker without computing a count."
801
+ },
802
+ "showDataIndicator": {
803
+ "type": "boolean"
804
+ },
805
+ "showActions": {
806
+ "type": "boolean"
807
+ },
808
+ "colorTextEntry": {
809
+ "type": "boolean"
810
+ },
811
+ "propagateErrors": {
812
+ "type": "boolean"
813
+ },
814
+ "interpolate": {
815
+ "type": "boolean"
816
+ },
817
+ "dateFormat": {
818
+ "type": "string"
819
+ },
820
+ "dateSaveFormat": {
821
+ "type": "string"
822
+ },
823
+ "timeFormat": {
824
+ "type": "string"
825
+ },
826
+ "timeSaveFormat": {
827
+ "type": "string"
828
+ },
829
+ "dateTimeFormat": {
830
+ "type": "string"
831
+ },
832
+ "dateTimeSaveFormat": {
833
+ "type": "string"
834
+ },
835
+ "ampm": {
836
+ "type": "boolean"
837
+ },
838
+ "mask": {
839
+ "anyOf": [
840
+ {
841
+ "type": "string"
842
+ },
843
+ {
844
+ "type": "boolean"
845
+ },
846
+ {
847
+ "type": "array",
848
+ "items": {
849
+ "type": "string"
850
+ },
851
+ "minItems": 1
852
+ }
853
+ ]
854
+ },
855
+ "step": {
856
+ "type": "number",
857
+ "exclusiveMinimum": 0
858
+ },
859
+ "filterErrorKeywordsBeforeTouch": {
860
+ "type": "array",
861
+ "items": {
862
+ "type": "string"
863
+ }
864
+ },
865
+ "suggestion": {
866
+ "type": "array",
867
+ "items": {
868
+ "type": "string"
869
+ }
870
+ },
871
+ "tokens": {
872
+ "type": "object",
873
+ "additionalProperties": true
874
+ },
875
+ "colorSaveFormat": {
876
+ "enum": [
877
+ "hex",
878
+ "hex3",
879
+ "rgb",
880
+ "hsb"
881
+ ]
882
+ },
883
+ "choices": {
884
+ "type": "array",
885
+ "items": {
886
+ "type": "object",
887
+ "additionalProperties": false,
888
+ "properties": {
889
+ "value": {},
890
+ "branch": {
891
+ "type": "integer",
892
+ "minimum": 0
893
+ },
894
+ "label": {
895
+ "type": "string"
896
+ },
897
+ "i18n": {
898
+ "type": "string"
899
+ },
900
+ "disabled": {
901
+ "type": "boolean"
902
+ },
903
+ "content": {
904
+ "$ref": "#/$defs/uiSchema"
905
+ },
906
+ "selectedContent": {
907
+ "$ref": "#/$defs/uiSchema"
908
+ },
909
+ "detail": {
910
+ "$ref": "#/$defs/detail"
911
+ }
912
+ },
913
+ "oneOf": [
914
+ {
915
+ "required": [
916
+ "value"
917
+ ],
918
+ "not": {
919
+ "required": [
920
+ "branch"
921
+ ]
922
+ }
923
+ },
924
+ {
925
+ "required": [
926
+ "branch"
927
+ ],
928
+ "not": {
929
+ "required": [
930
+ "value"
931
+ ]
932
+ }
933
+ }
934
+ ]
935
+ },
936
+ "description": "For format cards: optional presentation overrides matched by typed value or oneOf branch index. Omitted entries retain generated labels."
937
+ },
938
+ "showRadio": {
939
+ "type": "boolean",
940
+ "default": false,
941
+ "description": "For choice cards, show the native radio circle. Hidden by default; keyboard interaction and accessible radio semantics remain."
942
+ },
943
+ "validateActiveBranch": {
944
+ "type": "boolean",
945
+ "default": true,
946
+ "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."
947
+ },
948
+ "collapsible": {
949
+ "type": "boolean",
950
+ "description": "Whether the mixed object/array outer frame can collapse; defaults to true for mixed frames."
951
+ },
952
+ "structuredLayout": {
953
+ "type": "string",
954
+ "enum": [
955
+ "nested",
956
+ "tree",
957
+ "code"
958
+ ],
959
+ "default": "tree",
960
+ "description": "Mixed value presentation. Tree is the default; nested uses regular object/array controls; code edits the whole value as JSON with Monaco. Local options override jsonformsExtended.mixed."
961
+ },
962
+ "recursiveTree": {
963
+ "type": "object",
964
+ "additionalProperties": false,
965
+ "required": [
966
+ "childrenProperty",
967
+ "labelProperty"
968
+ ],
969
+ "properties": {
970
+ "childrenProperty": {
971
+ "type": "string",
972
+ "minLength": 1,
973
+ "description": "Direct array property containing child nodes."
974
+ },
975
+ "labelProperty": {
976
+ "type": "string",
977
+ "minLength": 1,
978
+ "description": "Direct string property used to label nodes."
979
+ },
980
+ "detail": {
981
+ "$ref": "#/$defs/detail"
982
+ }
983
+ },
984
+ "description": "Opt-in recursive node tree with a selected-node detail pane. Existing nested presentation is unchanged when absent."
985
+ },
986
+ "object-detail": {
987
+ "$ref": "#/$defs/detail",
988
+ "description": "Mixed editor detail override when object is selected. Takes precedence over detail; scoped to that value."
989
+ },
990
+ "array-detail": {
991
+ "$ref": "#/$defs/detail",
992
+ "description": "Mixed editor detail override when array is selected. Takes precedence over detail; scoped to that value."
993
+ },
994
+ "string-detail": {
995
+ "$ref": "#/$defs/detail",
996
+ "description": "Mixed editor detail override when string is selected. Takes precedence over detail; scoped to that value."
997
+ },
998
+ "number-detail": {
999
+ "$ref": "#/$defs/detail",
1000
+ "description": "Mixed editor detail override when number is selected. Takes precedence over detail; scoped to that value."
1001
+ },
1002
+ "integer-detail": {
1003
+ "$ref": "#/$defs/detail",
1004
+ "description": "Mixed editor detail override when integer is selected. Takes precedence over detail; scoped to that value."
1005
+ },
1006
+ "boolean-detail": {
1007
+ "$ref": "#/$defs/detail",
1008
+ "description": "Mixed editor detail override when boolean is selected. Takes precedence over detail; scoped to that value."
1009
+ },
1010
+ "null-detail": {
1011
+ "$ref": "#/$defs/detail",
1012
+ "description": "Mixed editor detail override when null is selected. Takes precedence over detail; scoped to that value."
1013
+ },
1014
+ "conditionalFields": {
1015
+ "type": "boolean",
1016
+ "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
1017
+ },
1018
+ "pagination": {
1019
+ "$ref": "#/$defs/pagination"
1020
+ },
1021
+ "rowDetail": {
1022
+ "$ref": "#/$defs/rowDetail"
1023
+ },
1024
+ "additionalItems": {
1025
+ "$ref": "#/$defs/additionalItemsPresentation"
1026
+ },
1027
+ "additionalProperties": {
1028
+ "$ref": "#/$defs/additionalPropertiesPresentation"
1029
+ },
1030
+ "columnDefs": {
1031
+ "description": "Selects and orders table or AG Grid columns with optional width constraints. Explicit agGridOptions.columnDefs replaces this list for AG Grid.",
1032
+ "type": "array",
1033
+ "items": {
1034
+ "$ref": "#/$defs/tableColumnDefinition"
1035
+ }
1036
+ }
1037
+ }
1038
+ },
1039
+ "cellOptions": {
1040
+ "type": "object",
1041
+ "additionalProperties": true,
1042
+ "properties": {
1043
+ "summary": {
1044
+ "$ref": "#/$defs/summary"
1045
+ },
1046
+ "detail": {
1047
+ "$ref": "#/$defs/detail"
1048
+ },
1049
+ "showTypeIndicator": {
1050
+ "type": "boolean",
1051
+ "default": false,
1052
+ "description": "Show an object or array type marker in a composite cell, independently of its summary."
1053
+ },
1054
+ "showEmptyButton": {
1055
+ "type": "boolean"
1056
+ },
1057
+ "emptyLabel": {
1058
+ "type": "string"
1059
+ },
1060
+ "okLabel": {
1061
+ "type": "string"
1062
+ },
1063
+ "cancelLabel": {
1064
+ "type": "string"
1065
+ },
1066
+ "restrict": {
1067
+ "type": "boolean"
1068
+ },
1069
+ "clearable": {
1070
+ "type": "boolean"
1071
+ },
1072
+ "dialog": {
1073
+ "$ref": "#/$defs/detailDialog"
1074
+ }
1075
+ }
1076
+ },
1077
+ "confirmationOperations": {
1078
+ "type": "object",
1079
+ "additionalProperties": false,
1080
+ "properties": {
1081
+ "typeChange": {
1082
+ "enum": [
1083
+ "always",
1084
+ "never",
1085
+ "complex"
1086
+ ]
1087
+ },
1088
+ "branchChange": {
1089
+ "enum": [
1090
+ "always",
1091
+ "never",
1092
+ "complex"
1093
+ ]
1094
+ },
1095
+ "delete": {
1096
+ "enum": [
1097
+ "always",
1098
+ "never",
1099
+ "complex"
1100
+ ]
1101
+ }
1102
+ }
1103
+ },
1104
+ "listWithDetail": {
1105
+ "required": [
1106
+ "scope"
1107
+ ],
1108
+ "properties": {
1109
+ "scope": {
1110
+ "type": "string"
1111
+ },
1112
+ "options": {
1113
+ "type": "object",
1114
+ "properties": {
1115
+ "elementLabelProp": {
1116
+ "type": "string"
1117
+ },
1118
+ "detail": {
1119
+ "$ref": "#/$defs/detail"
1120
+ },
1121
+ "showSortButtons": {
1122
+ "type": "boolean",
1123
+ "default": false
1124
+ },
1125
+ "hideArraySummaryValidation": {
1126
+ "type": "boolean",
1127
+ "default": false
1128
+ },
1129
+ "restrict": {
1130
+ "type": "boolean"
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "label": {
1137
+ "properties": {
1138
+ "text": {
1139
+ "type": "string"
1140
+ },
1141
+ "options": {
1142
+ "type": "object",
1143
+ "properties": {
1144
+ "format": {
1145
+ "type": "string"
1146
+ },
1147
+ "textParamSpans": {
1148
+ "type": "boolean",
1149
+ "description": "Overrides jsonformsExtended.markup.textParamSpans for this Label, including explicit false. Omit to inherit; otherwise defaults to false. Optional HTML styling markers; documented native or canvas no-op is permitted."
1150
+ }
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "detail": {
1156
+ "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.",
1157
+ "anyOf": [
1158
+ {
1159
+ "type": "string",
1160
+ "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."
1161
+ },
1162
+ {
1163
+ "$ref": "#/$defs/element"
1164
+ },
1165
+ {
1166
+ "type": "object",
1167
+ "required": [
1168
+ "elements"
1169
+ ],
1170
+ "additionalProperties": true,
1171
+ "properties": {
1172
+ "elements": {
1173
+ "type": "array",
1174
+ "items": {
1175
+ "$ref": "#/$defs/element"
1176
+ }
1177
+ }
1178
+ },
1179
+ "not": {
1180
+ "required": [
1181
+ "type"
1182
+ ]
1183
+ }
1184
+ }
1185
+ ]
1186
+ },
1187
+ "summary": {
1188
+ "type": "object",
1189
+ "required": [
1190
+ "type",
1191
+ "scope"
1192
+ ],
1193
+ "properties": {
1194
+ "type": {
1195
+ "const": "Control"
1196
+ },
1197
+ "scope": {
1198
+ "type": "string",
1199
+ "pattern": "^#(?:/.*)?$"
1200
+ }
1201
+ },
1202
+ "additionalProperties": true
1203
+ },
1204
+ "childLayout": {
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "span": {
1208
+ "type": "integer",
1209
+ "minimum": 1,
1210
+ "description": "Columns of the parent's grid this child occupies."
1211
+ },
1212
+ "weight": {
1213
+ "type": "number",
1214
+ "exclusiveMinimum": 0
1215
+ },
1216
+ "width": {
1217
+ "$ref": "#/$defs/dimension"
1218
+ },
1219
+ "minWidth": {
1220
+ "$ref": "#/$defs/dimension"
1221
+ },
1222
+ "maxWidth": {
1223
+ "$ref": "#/$defs/dimension"
1224
+ },
1225
+ "height": {
1226
+ "$ref": "#/$defs/dimension"
1227
+ },
1228
+ "minHeight": {
1229
+ "$ref": "#/$defs/dimension"
1230
+ },
1231
+ "maxHeight": {
1232
+ "$ref": "#/$defs/dimension"
1233
+ }
1234
+ },
1235
+ "additionalProperties": true
1236
+ },
1237
+ "pagination": {
1238
+ "description": "Client-side collection pagination. False disables; true or an object enables. Tables, additional properties and tuple additional items default on.",
1239
+ "oneOf": [
1240
+ {
1241
+ "type": "boolean"
1242
+ },
1243
+ {
1244
+ "type": "object",
1245
+ "additionalProperties": false,
1246
+ "properties": {
1247
+ "pageSize": {
1248
+ "type": "integer",
1249
+ "minimum": 1,
1250
+ "default": 5
1251
+ },
1252
+ "pageSizeOptions": {
1253
+ "type": "array",
1254
+ "minItems": 1,
1255
+ "uniqueItems": true,
1256
+ "items": {
1257
+ "type": "integer",
1258
+ "minimum": 1
1259
+ },
1260
+ "default": [
1261
+ 5,
1262
+ 10,
1263
+ 25,
1264
+ 50
1265
+ ]
1266
+ }
1267
+ }
1268
+ }
1269
+ ]
1270
+ },
1271
+ "tableColumnDefinition": {
1272
+ "type": "object",
1273
+ "additionalProperties": false,
1274
+ "required": [
1275
+ "field"
1276
+ ],
1277
+ "properties": {
1278
+ "field": {
1279
+ "type": "string",
1280
+ "minLength": 1
1281
+ },
1282
+ "width": {
1283
+ "type": "number",
1284
+ "exclusiveMinimum": 0
1285
+ },
1286
+ "minWidth": {
1287
+ "type": "number",
1288
+ "exclusiveMinimum": 0
1289
+ },
1290
+ "maxWidth": {
1291
+ "type": "number",
1292
+ "exclusiveMinimum": 0
1293
+ },
1294
+ "scope": {
1295
+ "const": "#",
1296
+ "description": "Bind this column to the whole current row; field is its stable key, not a data property."
1297
+ },
1298
+ "headerName": {
1299
+ "type": "string"
1300
+ }
1301
+ }
1302
+ },
1303
+ "detailDialog": {
1304
+ "type": "object",
1305
+ "additionalProperties": false,
1306
+ "properties": {
1307
+ "width": {
1308
+ "oneOf": [
1309
+ {
1310
+ "type": "number",
1311
+ "exclusiveMinimum": 0
1312
+ },
1313
+ {
1314
+ "type": "string",
1315
+ "minLength": 1
1316
+ }
1317
+ ]
1318
+ },
1319
+ "height": {
1320
+ "oneOf": [
1321
+ {
1322
+ "type": "number",
1323
+ "exclusiveMinimum": 0
1324
+ },
1325
+ {
1326
+ "type": "string",
1327
+ "minLength": 1
1328
+ }
1329
+ ]
1330
+ },
1331
+ "maximizable": {
1332
+ "type": "boolean",
1333
+ "default": true
1334
+ },
1335
+ "draggable": {
1336
+ "type": "boolean",
1337
+ "default": false
1338
+ },
1339
+ "resizable": {
1340
+ "type": "boolean",
1341
+ "default": false
1342
+ }
1343
+ }
1344
+ },
1345
+ "additionalItemsPresentation": {
1346
+ "type": "object",
1347
+ "additionalProperties": false,
1348
+ "properties": {
1349
+ "pagination": {
1350
+ "$ref": "#/$defs/pagination"
1351
+ }
1352
+ }
1353
+ },
1354
+ "additionalPropertiesPresentation": {
1355
+ "type": "object",
1356
+ "additionalProperties": false,
1357
+ "properties": {
1358
+ "pagination": {
1359
+ "$ref": "#/$defs/pagination"
1360
+ }
1361
+ }
1362
+ },
1363
+ "rowDetail": {
1364
+ "type": "object",
1365
+ "additionalProperties": false,
1366
+ "required": [
1367
+ "presentation"
1368
+ ],
1369
+ "properties": {
1370
+ "presentation": {
1371
+ "enum": [
1372
+ "dialog",
1373
+ "panel"
1374
+ ]
1375
+ },
1376
+ "detail": {
1377
+ "$ref": "#/$defs/detail"
1378
+ },
1379
+ "placement": {
1380
+ "enum": [
1381
+ "right",
1382
+ "bottom"
1383
+ ],
1384
+ "default": "right"
1385
+ },
1386
+ "resizable": {
1387
+ "type": "boolean",
1388
+ "default": true
1389
+ },
1390
+ "collapsed": {
1391
+ "type": "boolean",
1392
+ "default": false,
1393
+ "description": "Initial panel visibility: true starts hidden; false starts visible. Panel presentation only."
1394
+ },
1395
+ "dialog": {
1396
+ "$ref": "#/$defs/detailDialog"
1397
+ }
1398
+ },
1399
+ "allOf": [
1400
+ {
1401
+ "if": {
1402
+ "properties": {
1403
+ "presentation": {
1404
+ "const": "dialog"
1405
+ }
1406
+ }
1407
+ },
1408
+ "then": {
1409
+ "not": {
1410
+ "anyOf": [
1411
+ {
1412
+ "required": [
1413
+ "placement"
1414
+ ]
1415
+ },
1416
+ {
1417
+ "required": [
1418
+ "resizable"
1419
+ ]
1420
+ },
1421
+ {
1422
+ "required": [
1423
+ "collapsed"
1424
+ ]
1425
+ }
1426
+ ]
1427
+ }
1428
+ }
1429
+ }
1430
+ ]
1431
+ }
1432
+ },
1433
+ "$id": "https://kchobantonov.github.io/jsonforms-extended-spec/schemas/jsonforms-uischema.schema.json"
1434
+ }