@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,968 @@
1
+ # Renderer implementation pitfalls
2
+
3
+ Companion to the [implementation guide](implementation-guide.md). These entries describe portable behavior and acceptance checks, not instructions to reproduce a particular codebase. Consult [spec.md](spec.md) for option definitions and [renderer-and-demo.md](renderer-and-demo.md) for detailed presentation requirements.
4
+
5
+ ## P01 — Values are compared by JSON content
6
+
7
+ **Trap:** Compare enum/const object or array choices by runtime reference identity, or serialize every choice into the stored value.
8
+
9
+ **Behavior:** Reloaded structurally equal values remain selected; choosing them preserves their JSON types. Object member order is immaterial; array order matters. Missing, null, false, zero and empty string remain distinct.
10
+
11
+ **UI-library adaptation:** If a native select/radio accepts only scalar values, use unique internal option IDs and map them back to the original JSON values on selection. Do not use stringified objects as React keys: different objects become `[object Object]`. Internal IDs must not enter form data; translated labels must not determine identity.
12
+
13
+ **Check:** Parse data separately from the schema and reload it. Object/array dropdowns, radios, cards and cells retain selection. See [choice controls](../examples/choice-controls/README.md).
14
+
15
+ ## P02 — Property keys are literal data
16
+
17
+ **Trap:** Interpret dots, slashes, brackets or an empty key as navigation syntax; trim imported names; read inherited members such as `constructor` from a schema property map.
18
+
19
+ **Behavior:** Address exact keys with the platform's correct path encoding and require own members when reading data or schema property maps. Separate display labels from binding paths. Renaming/deleting affects only the intended key and preserves values.
20
+
21
+ **Check:** Edit `legacy.key`, `notes/1`, `items[0]`, `""` and whitespace-bearing keys independently. A recursive-tree label named `constructor` remains visible, but Rename is unavailable when that field has no own schema property. A literal dotted `childrenProperty` keeps selected child and grandchild detail edits and child-link navigation on those exact members. See [additional properties](../examples/additional-properties/README.md).
22
+
23
+ ## P03 — Pattern constraints intersect
24
+
25
+ **Trap:** Use the first matching patternProperties schema, or treat patterns as alternatives.
26
+
27
+ **Behavior:** Every applicable pattern constrains the property. Declared properties can also match patterns. Additional-properties applicability is not a first-match fallback.
28
+
29
+ **Check:** Two matching patterns contribute different object fields; expose both and validate both. See [Draft-07 audit](draft-07-visual-support.md).
30
+
31
+ ## P04 — Selecting a type does not discard composition
32
+
33
+ **Trap:** Delete allOf/anyOf/oneOf to avoid redispatch, or infer a type from minimum/maxLength alone.
34
+
35
+ **Behavior:** Preserve the conjunction with the selected type. Exclude alternatives only when incompatibility is established. An impossible allOf branch stays a contradiction. Do not deduplicate oneOf alternatives or confuse an incomplete value with an impossible editing branch. Number and integer overlap; child schemas have independent types.
36
+
37
+ **Check:** String/integer alternatives expose the matching editor; untyped alternatives and overlapping oneOf still validate correctly. Test termination separately. Reference/conditional support must be declared honestly. See [mixed control](../examples/mixed-control/README.md).
38
+
39
+ ## P05 — Numeric editor intent is not encoded in JSON
40
+
41
+ **Trap:** Recompute Integer selection from every whole-number value, undoing the user's Number selection; reset or round data when switching numeric editors.
42
+
43
+ **Behavior:** Preserve explicit numeric editor intent during editing. Integer selected for 2.5 produces a local error without rounding existing data; Number selected for 2 remains selected. A fresh mount may infer again because JSON stores no editor choice.
44
+
45
+ **Check:** Switch 2 to Number, enter 2.5, switch to Integer, then correct it. Verify both form and cell editing paths. See [mixed control](../examples/mixed-control/README.md).
46
+
47
+ ## P06 — Document validity and displayed-branch feedback differ
48
+
49
+ **Trap:** Assume absence of document errors proves that the displayed branch is valid, or publish local branch errors as document errors.
50
+
51
+ **Behavior:** validateActiveBranch defaults true; the control option overrides global config. Local feedback explains why a displayed branch rejects data even when another branch accepts it. False skips extra compilation and validation while retaining document validation. Only active branches do this work; respect validation visibility.
52
+
53
+ **Check:** A long string is document-valid via Long text while Short text is displayed. Compare enabled/disabled feedback and verify unchanged host validity. Check compilation reuse and nested validation cost. See [mixed control](../examples/mixed-control/README.md).
54
+
55
+ ## P07 — Enclosing fields are not a second scalar editor
56
+
57
+ **Trap:** Generate a whole-value editor after removing a composition keyword, producing an unrestricted duplicate scalar input; omit enclosing object fields entirely.
58
+
59
+ **Behavior:** Preserve enclosing object fields alongside branch fields. A scalar branch has one value editor. A single applicable branch renders without redundant tabs/selectors; that presentation does not rewrite oneOf semantics.
60
+
61
+ **Check:** Test enclosing plus branch object fields, scalar oneOf with and without explicit type, and a single narrowed branch.
62
+
63
+ ## P08 — Errors belong to their data location
64
+
65
+ **Trap:** Show only a table-level descendant notice; use raw data as truthiness to decide validity; assume checkboxes and switches display an input library's feedback automatically.
66
+
67
+ **Behavior:** The invalid cell/control carries local feedback. Containers retain direct errors and a separate localized descendant notice. A notice such as “Some items contain errors” is renderer-generated, not an AJV keyword error. Respect hidden validation and count opt-ins.
68
+
69
+ **Check:** The second row's boolean value is the string `"false"`. Mark that cell as well as the table summary. Correcting it removes both applicable indicators. Check direct array contains errors independently from row errors.
70
+
71
+ ## P09 — Error translations have defined precedence
72
+
73
+ **Trap:** Let a generic validator locale overwrite authored field/keyword translations, or accept only flat catalog entries when a portable example groups keys as nested JSON.
74
+
75
+ **Behavior:** Follow the spec's i18n prefixes and error lookup order, preserving localized validator messages as fallback. Resolve literal dotted catalog keys before nested paths. Document the namespace so applications know which keys are reserved. Do not translate stored data.
76
+
77
+ **Check:** Override a reviewers contains message with a lead-reviewer explanation, switch locale, and check both local and container feedback. In the Job application, resolve `static-text.English` and category labels from nested entries in both locales.
78
+
79
+ ## P10 — Object and collection boundaries convey ownership
80
+
81
+ **Trap:** Remove an object Group because it lacks a title, render an empty static-fields frame, or stack object and additional-properties borders without purpose.
82
+
83
+ **Behavior:** Preserve resolved grouping and title/i18n behavior. Keep dynamic content within its object boundary. A VerticalLayout explicitly binding child properties is a distinct authoring choice.
84
+
85
+ **Check:** Titled/untitled objects with static-only, dynamic-only and mixed fields. Confirm label and action ownership, and pagination inside the collection. See [additional properties](../examples/additional-properties/README.md).
86
+
87
+ ## P11 — Summaries are part of table behavior
88
+
89
+ **Trap:** Filter raw objects or Markdown source while displaying a readable summary; use a different interpolation context for search.
90
+
91
+ **Behavior:** Label summaries resolve translations, permitted interpolation and markup to searchable plain text. Control summaries expose their bound displayed value. Keep row context distinct from form-root context and preserve access gates. Sorting/filtering must not mutate data.
92
+
93
+ **Check:** A Contact summary displays Boston and matches a Boston filter. Formatting syntax does not pollute search. Repeat after row edits and locale changes. See [web notes](implementation-web-typescript.md).
94
+
95
+ ## P12 — Editing must preserve focus and identity
96
+
97
+ **Trap:** Recreate cell renderer components or change an input's wrapper structure on each keystroke/error transition.
98
+
99
+ **Behavior:** Keep the edited control mounted where practical; preserve caret, focus and selection while values and errors update. Stable identity must not freeze stale summaries or callbacks.
100
+
101
+ **Unavailable focus targets:** A web platform can keep its active element on a
102
+ connected control after that control becomes hidden, native-disabled, or inert.
103
+ Focus recovery must recognize that unavailable owned target, rather than relying
104
+ only on focus falling back to the document body. Read focus from the owning
105
+ Shadow Root where applicable. If the user has moved focus to another available
106
+ control, preserve that newer ownership instead of reclaiming it.
107
+
108
+ Native controls can synchronously update framework state from blur handlers.
109
+ Release a retiring header's focus at a safe lifecycle boundary before hiding or
110
+ removing it. A queued transition must not blur a newer focus owner. Keep native
111
+ items, displayed labels, and selection consistent during the transition.
112
+
113
+ **Additional manual acceptance:** Focus a category header, then hide that category
114
+ while retaining its disabled header in the DOM. Move focus to the selected
115
+ available category. Repeat after moving focus outside the form before hiding the
116
+ category; outside focus must remain untouched. For web renderers, check both
117
+ document and Shadow Root hosts. This is a portable acceptance case, not a claim
118
+ that every renderer adapter has executed it.
119
+
120
+ **Check:** Type several characters while validation changes and filtering is enabled. No dropped characters, focus jumps or stale values. Keyboard focus remains visible; pointer selection does not require an extra persistent focus ring.
121
+
122
+ ## P13 — Array positions and missing values need care
123
+
124
+ **Trap:** Clear an array item by assigning undefined, confuse null with absence, or treat tuple positions as freely reorderable homogeneous items.
125
+
126
+ **Behavior:** Follow collection removal and tuple rules. Preserve meaningful positions and distinguish missing values from explicit null. Sorting/filtering should not change the underlying indices used by edit/delete actions.
127
+
128
+ **Check:** Edit/delete an item under sorting and pagination; test tuple tails and mixed items. Do not create sparse arrays accidentally.
129
+
130
+ ## P14 — Confirmation depends on actual discarded data
131
+
132
+ **Trap:** Prompt on every scalar discriminator change, ignore configured policy, or replace useful branch data without the required prompt.
133
+
134
+ **Behavior:** Follow operation-specific policies. Under complex confirmation, a supported discriminator-only transition is not meaningful discarded content; additional user data can be. Always/never remain explicit overrides.
135
+
136
+ **Check:** Switch with only a discriminator, then with populated branch fields, under all policies. See [choice controls](../examples/choice-controls/README.md).
137
+
138
+ ## P15 — Options and disabled states must survive delegation
139
+
140
+ **Trap:** Merge defaults over explicit false, lose read-only state in a detail dialog, or apply global settings after local overrides.
141
+
142
+ **Behavior:** Preserve documented option precedence and distinguish absent options from false/zero. Carry permission, validation, i18n and root-data context through cell/detail/branch dispatch.
143
+
144
+ **Check:** Global true/local false and global false/local true, including branch feedback, cell markers and confirmation. Disabled controls cannot mutate data through hidden actions.
145
+
146
+ ## P16 — Theme, overflow and accessibility are behavior
147
+
148
+ **Trap:** Hard-code text colors, rely on native tabs for an overflow menu they do not provide, or let tab labels dictate a split pane's minimum width.
149
+
150
+ **Behavior:** Use semantic theme tokens, readable selected/disabled/error states and visible keyboard focus. Keep navigation reachable at narrow widths without expanding the document. A scroll strip or accessible overflow menu can satisfy the same need.
151
+
152
+ **Check:** Light/dark themes, narrow form pane, many tabs, keyboard-only navigation and long translated labels. Avoid unnecessary vertical scrolling in horizontal tab bars.
153
+
154
+ A dark theme may inherit a destructive token intended for a filled button
155
+ background. When that token also colors validation text and borders, it must
156
+ have readable contrast against the form surface. Check the actual error
157
+ message, invalid border and indicator in both direct and Web Component hosts;
158
+ do not infer text contrast from the button appearance.
159
+
160
+ **Native writing direction:** A widget can force LTR through its own default
161
+ context even inside an RTL container. Text language and writing direction are
162
+ independent: an English form can still be presented RTL. Forward the effective
163
+ container direction into native widget state, including live host changes,
164
+ so arrow-key navigation agrees with the displayed order rather than changing
165
+ CSS alone.
166
+
167
+ **Additional manual acceptance:** Render radio choices and rich cards in an
168
+ English RTL container. Verify the RTL arrow-key order, then switch the same
169
+ container to LTR and verify both the layout and native direction update. Repeat
170
+ in a Shadow Root. These are portable acceptance cases; executable coverage is
171
+ owned by each renderer adapter.
172
+
173
+ ## P17 — Rich choices and summaries retain security boundaries
174
+
175
+ **Trap:** Treat custom markup/images as trusted because they occur inside a choice card, or enable broader expression/data access during filtering.
176
+
177
+ **Behavior:** Reuse markup and URL policies, including configured data-image support. Custom presentation does not remove accessible selection state or permit competing nested interactive controls. Preserve the same access restrictions for rendering and summary evaluation.
178
+
179
+ **Check:** Unsafe image URLs remain rejected in cards as in image controls; escaped interpolated data remains text. Selection is operable and announced without a visible radio circle.
180
+
181
+ ## P18 — Native lifecycle and packaging matter
182
+
183
+ **Trap:** Assume mounting proves a usable port, duplicate context identities across package/source imports, or leave callbacks active after unmount.
184
+
185
+ **Behavior:** Verify host updates, translated settings, reconnect/unmount behavior and published-package consumption. Treat lifecycle implementation as platform-specific, while preserving data and interaction behavior.
186
+
187
+ **Check:** Mount, update schema/data/locale, disconnect and reconnect. Use the packaged implementation as well as source tests. Test nullable and recursive data without automatically materializing infinite children.
188
+
189
+ ### Independent overlays do not inherit dismissal ownership
190
+
191
+ **Trap:** Treat every later-opened overlay as a child of an earlier overlay
192
+ because a native layer manager orders them that way. Closing a validation
193
+ popover can then dismiss an independent property editor while the user types.
194
+
195
+ **Behavior:** Preserve logical ownership when adapting native overlay stacks.
196
+ An informational popup closing must not cancel an independent edit dialog or
197
+ discard its draft. Retain explicit Cancel, accept, Escape and actual owner
198
+ teardown behavior, including focus restoration in document and shadow hosts.
199
+
200
+ **Proposed acceptance case:** Pin a property-name validation popup, open Rename
201
+ for that property, and change the draft until its validation message changes.
202
+ Let the informational popup close; Rename remains open with the draft intact.
203
+ Cancel, verify focus returns to the opener, reopen, and accept a valid name.
204
+ Repeat with translated messages and an isolated component host. This is a
205
+ proposed interaction case, not evidence that any renderer has executed it.
206
+
207
+ ## Dynamic overlays preserve typed values and committed data
208
+
209
+ **Trap:** Treat a CEL integer as a JavaScript number without checking its range,
210
+ or forward its `bigint` result to a JSON-only renderer. Treat a literal
211
+ `{ "bind": "..." }` value as a path lookup. Replace a focused editor without
212
+ transferring focus, or flush its invalid draft into committed data during teardown.
213
+
214
+ **Behavior:** Convert only safe CEL integers to JSON numbers. Use the explicit
215
+ `literal` descriptor to preserve descriptor-shaped data. Resolve overlays before
216
+ normal tester selection. Under the chosen immediate replacement policy, discard
217
+ uncommitted drafts and IME work in the replaced editor without writing them to
218
+ committed form data. A permission restriction takes effect on the same update.
219
+
220
+ **Check:** Change a numeric Image width with a CEL ternary, then request an
221
+ out-of-range integer and verify fallback. Forward a literal descriptor-shaped
222
+ extension value unchanged. Change presentation during an invalid text draft and
223
+ composition, then verify the old draft is discarded, committed data is retained,
224
+ and only the affected editor swaps.
225
+
226
+ ## Portable acceptance vectors
227
+
228
+ The `port-*` entries in [behavior.json](../conformance/behavior.json) cover representative cases from this guide. They require renderer-specific adapters; passing the specification package checks alone does not execute these UI scenarios.
229
+
230
+
231
+ ## P19. Recursive branch selection and finite creation
232
+
233
+ **Distinction:** Reusing a schema at a child data path is legitimate recursion. Expanding all references or recursively creating defaults before the user chooses a branch can fail to terminate. Compiling an extracted branch without its root definitions can also make a populated folder look like a file.
234
+
235
+ **Expected behavior:** Use a distinct required discriminator as an editing hint when available, retain original document validation, create one requested node at a time, and preserve siblings. Do not interpret an invalid descendant as a reason to switch its parent branch. An object-to-object branch change must still initialize the selected branch under the usual confirmation policy.
236
+
237
+ **Check:** Use [recursive-tree](../examples/recursive-tree/README.md): load a folder containing another folder and files; load an invalid file inside a folder; add a single child to an empty folder; choose its branch, edit it and delete it. Separately test schema-only reference cycles and non-terminating required recursion. The example is local-reference coverage, not external resolver certification.
238
+
239
+ ## Dialog movement uses measured geometry
240
+
241
+ Bound dragging against the dialog's measured rectangle and the viewport, not a
242
+ fixed fraction of screen width or height. Allow negative offsets from its initial
243
+ position so its top and left edges can reach the viewport origin. Recompute bounds
244
+ at the start of each drag after user resizing. Keep the header and window actions
245
+ reachable. Verify row and cell dialogs at all four edges, including after resizing;
246
+ UI-library centering and transforms must be included in the measured position.
247
+
248
+ ## File search uses names, not payloads
249
+
250
+ Default grid search values for file cells are decoded filenames, including every filename in a multiple-file cell. Never use the raw data URL or base64 content as the search value. Nameless encodings contribute no filename text. Keep stored values unchanged and preserve explicit host grid overrides. Test both column filtering and quick filtering against filename-only and payload-only queries.
251
+
252
+ ## Dialog height includes its viewport offset
253
+
254
+ A viewport-relative maximum height must also account for the dialog’s initial top offset and bottom margin. A dialog limited to viewport height minus 32px cannot start 100px down. Keep the header and footer outside the shrinking, scrolling body so users can reach actions without scrolling the modal overlay or page. Apply form-wide dialog defaults before per-dialog overrides, including explicit false.
255
+
256
+ ## Portable layout spacing defaults
257
+
258
+ Absent layout/config spacing resolves to 16 CSS pixels for rows and columns, with wrap false and gridColumns 16. JSON Schema default annotations do not insert values by themselves; implement the fallback at runtime. Remove native outer field margins within managed layouts rather than adding them to the gap. Test adjacent fields, adjacent collections, mixed children, nested layouts and explicit zero. A family-specific preference does not justify a different fallback.
259
+
260
+
261
+ ## Expansion settings belong to the presentation boundary
262
+
263
+ Group and mixed outer frames share collapsed/collapsible settings; accordion categories share collapsed while permitting all panels to close. Array-item initialization and tree-node expansion remain independent. Test local false overriding global true, reopening by the user, unrelated data updates, and a later configuration change.
264
+
265
+
266
+ ## Required fields in table columns
267
+
268
+ A table header replaces the repeated cell label, so it must carry the required marker for its bound item property. Resolve hideRequiredAsterisk at cell, collection and global levels without changing validation. Test a required and optional column together, then toggle the setting after mount. A required collection does not make all its columns required.
269
+
270
+
271
+ ## Discriminator branch layouts
272
+
273
+ When a branch selector already sets a const-valued discriminator, an authored branch UI schema can omit its redundant one-option field. Label the selector with the discriminator's user-facing name, retain the discriminator in data and validation, and apply the branch layouts recursively through the UI schema registry. Do not globally hide every const field: explicit branch layouts express author intent.
274
+
275
+ ## Clearing externally loaded branch data
276
+
277
+ A remembered oneOf selection must not leave a phantom branch editor after the bound node is removed by external data replacement. Clear the selector and branch fields for a missing node, or an empty object matching no branch. Do not erase legitimate scalar values or invalid nonempty data merely because validation fails. Test replacement after a branch was previously displayed, as well as a fresh empty mount.
278
+
279
+ ## Group regions share one collapsible card
280
+
281
+ `cover`, `header` and `footer` are structural children of Group, rendered
282
+ through the normal registry in the current schema and data context. An authored
283
+ `header` takes precedence over `label` for the visible title. Two
284
+ Label elements can supply a title and smaller supporting text. Keep all regions
285
+ inside one card frame. Keep the cover and heading visible when collapsed; hide
286
+ the body and footer. The first header Label supplies the Group's resolved
287
+ accessible name; use the Group label when no header Label exists. Recompute
288
+ that name when locale or effective dynamic header text changes. Resolving a
289
+ dynamic Label only at child dispatch leaves the parent's name stale. Keep
290
+ authored interactive content outside the disclosure trigger: nesting a Button
291
+ inside it makes keyboard and pointer behavior
292
+ ambiguous. Data and validation indicators aggregate only through `elements`. Acceptance:
293
+ mount the Card regions tab in `examples/group-layout/uischema.json` closed,
294
+ open it, activate a footer button without changing expansion, close it, then hide
295
+ the Group. Verify region visibility, action dispatch and unchanged data at each step.
296
+
297
+ Keep the cover and authored header outside the hidden content, with the
298
+ title in the same heading area. Preserve the native Group appearance and
299
+ indicator alignment when no regions are declared. A cover
300
+ or footer left outside the card frame looks detached;
301
+ putting the authored header in a second titled area or letting each
302
+ footer child fill a full-width slot obscures its relationship to the title
303
+ and each other. Verify row alignment and responsive wrapping in a wide and a
304
+ narrow host, as well as the disclosure and action independence above.
305
+
306
+ ## Equivalent composition feedback
307
+
308
+ Document validation may report the same missing property through multiple alternatives, and local active-branch validation may report it again. Present equivalent errors once: compare instance path, keyword, parameters and message, rather than schema location alone. Preserve different constraint parameters, messages and targets. Deduplication of displayed branch feedback must not alter document validation or its emitted errors.
309
+
310
+ ## Unselected object branches in array slots
311
+
312
+ Adding an object-choice node must follow its enclosing default, not implicitly choose the first branch when the authored flow requires a choice. The tree examples declare default: {} on node unions, with whole-object defaults on File/Folder branches. Per-property discriminator defaults can mutate an empty node during AJV branch probing.
313
+
314
+ Clearing an object-only oneOf array item retains {} and its index. Writing undefined would serialize to null. Clearing an optional object property can remove it. Do not apply object placeholders to scalar or nullable unions; distinguish actual array parents from numeric object-property names.
315
+
316
+ ## Required discriminator feedback on the selector
317
+
318
+ When branch layouts omit a discriminator field, its required error must still be visible on the branch selector, with native invalid styling, accessible invalid state and translated guidance. A container indicator alone does not identify what the user must choose. Match the missing property at the exact node path; sibling and descendant failures must not mark the wrong selector. Respect the configured validation visibility.
319
+
320
+ ## Validation indicators on collapsed array items
321
+
322
+ When container indicators are enabled, each array item header must indicate errors at its own data path and in its descendants, even while collapsed. An indicator on the outer collection alone does not identify which item to open. Respect local indicator overrides and validation visibility; valid sibling items must remain unmarked.
323
+
324
+ ## Scoped JSON drafts in mixed controls
325
+
326
+ Code editors validate a section while local references still belong to the document schema. Assign each editor a unique model and schema registration; preserve registrations owned by other editors. Keep malformed text across blur and contribute an owner-scoped additional error instead of overwriting stored data. Gate Apply/submit on these errors so an older parsed value cannot silently replace the visible draft. Schema diagnostics should remain Monaco markers and ordinary AJV errors, not duplicate additional errors.
327
+
328
+ ## Nested array selection and composed table cells
329
+
330
+ The presence of item properties does not make an array suitable for a table by default. Apply nested-array detection before selecting the default table presentation; explicit table options can still opt in. Such tables need a composite detail cell for anyOf, oneOf and allOf values as well as object, array and mixed types. Keep specialized enum and scalar cells ahead of the composite fallback.
331
+
332
+ Acceptance: check Draft-07 allOf/anyOf/oneOf default panels and an explicit
333
+ table with a string-or-array anyOf column through each renderer's registry.
334
+
335
+
336
+ ## Domain trees versus JSON structure trees
337
+
338
+ Project recursive child collections onto named nodes; do not introduce a tree
339
+ entry for each scalar field or the intermediate children array. Carry the original
340
+ node schema, root references, absolute data path, permissions and validation into
341
+ the detail renderer. Never expand a recursive schema to construct navigation:
342
+ walk the finite data instead. Reuse native collection actions so defaults and
343
+ confirmation behavior are preserved. Array deletion/reordering must update node
344
+ selection without silently editing a sibling at a reused index.
345
+
346
+ ## An unrestricted schema is not an omitted schema
347
+
348
+ An explicit `{}` accepts every JSON value; an omitted schema allows a host such as JSON Forms React to infer one from data. Preserve missing initial data as absence, not null. When switching the demo to an omitted schema, remove its previous Monaco schema registration without removing registrations belonging to other editors. Inferred constraints describe the sample and are not an authored business schema.
349
+
350
+ JSON Forms 3.9.0-alpha.2 infers schemas for absent data, explicit null, arrays,
351
+ objects and scalar roots. Pass an omitted schema directly to JSON Forms React so
352
+ inference follows replacement data, including a change of root type. Earlier
353
+ 3.9.0-alpha.1 installations needed a demo adapter that inferred a wrapped
354
+ property for non-object roots; remove that adapter when upgrading. The Monaco
355
+ stale-schema cleanup remains independent.
356
+
357
+ Acceptance example: render `json-inference` with no authored schema and absent
358
+ data, then replace data with an object, array, string, number, boolean, and
359
+ null. Each root must render without a stale schema or an inapplicable renderer.
360
+ Record the core version used when executing this sequence in a renderer project.
361
+
362
+ ## Unrestricted array items need a control fallback
363
+
364
+ With JSON Schema `items: true`, JSON Forms 3.9.0-alpha.2 resolves the item
365
+ schema to the boolean `true`. Generating a default VerticalLayout from that
366
+ schema yields no controls. An array renderer must fall back to a Control scoped
367
+ at `#` for the item so a nested mixed value still exposes its type selector
368
+ and View action. Preserve registered and explicitly supplied detail UI schemas.
369
+ Do not treat the default-open first item as closed when testing the child row.
370
+
371
+ Acceptance: render both array and object children of an `items: true` array
372
+ with a type selector and View action.
373
+
374
+ ## Cleared mixed scalars versus absent values
375
+
376
+ A mixed type selector owns the selected value's type. Clearing its string input
377
+ stores the empty string and keeps String selected. Clearing a number or integer
378
+ input stores zero and keeps its selected type; clearing the type removes the
379
+ value where absence is permitted. Scope this behavior to the exact mixed value
380
+ path, including root and tree-detail values, so ordinary optional scalar fields
381
+ retain their clearing semantics. Check both the clear icon and deleting all text.
382
+
383
+ ## Detail strings are selection instructions
384
+
385
+ Do not dispatch a detail string as a UI-schema element. Resolve it through core's
386
+ findUISchema with the item schema, registry, schema scope, data path, and root
387
+ schema. GENERATE bypasses the registry; other strings consult it. Test using a
388
+ matching registered layout, since generation and registry fallback look identical
389
+ without one. DEFAULT does not force nested presentation, but does not suppress
390
+ nesting required by the item schema either.
391
+
392
+ A generated detail may be a Control that delegates to an object renderer. Carry
393
+ GENERATE into that delegated control, otherwise it can re-enter registry lookup.
394
+ Do not inherit a mixed root's field layout into unrelated descendant schemas.
395
+
396
+ ## Named templates are separate from ranked detail lookup
397
+
398
+ Resolve Template.name against entry.uischema.name in registry order without
399
+ calling testers. Slot.name resolves the inherited caller-content map, with local
400
+ named children overriding it; fallback is the first Slot.elements child.
401
+ Preserve schema, path and enabled state through both dispatches. A UI-model name
402
+ is not a data binding. Named-only registry entries should return -1 from testers
403
+ so ordinary detail selection does not accidentally choose them.
404
+
405
+ The template-slots example covers supplied content, fallback, empty slots and
406
+ nested overrides. Check missing-name diagnostics, duplicate-name diagnostics,
407
+ and cycle protection separately through each renderer's registry.
408
+
409
+ ## Image diagnostics must fit their container
410
+
411
+ Do not print a refused image URL or embedded data payload in the form. Use a
412
+ short warning with an icon and an explanation available on hover, keyboard focus
413
+ and touch. Keep the explanation bounded and wrap long text; allow Escape to
414
+ close it. Source refusal must still prevent the image from loading.
415
+
416
+ ## Conditional presentation is not schema rewriting
417
+
418
+ Resolve branch activity independently of error visibility and preserve the original
419
+ validator schema. Moving a field in a graphical editor changes its layout, not its
420
+ data scope. Branch-only fields can be placed explicitly in details; inactive values
421
+ must survive toggling. In Draft-07 a closed base object still rejects properties
422
+ introduced only by another subschema; visual discovery cannot legalize those values.
423
+
424
+
425
+ ## Array summary visibility after indicator refactoring
426
+
427
+ When replacing preformatted array errors with a path-based header indicator,
428
+ carry `hideArraySummaryValidation` into the new calculation. Filtering an unused
429
+ error-text prop no longer hides descendant feedback. Resolve the local option
430
+ before the global setting, including explicit false. Preserve the array's own
431
+ errors and item-level indicators while hiding the outer descendant summary.
432
+
433
+ Acceptance cases: invalid children with global hiding, local false overriding
434
+ global true, and an array type error with hiding enabled.
435
+
436
+
437
+ ## Choice-card branch details
438
+
439
+ Resolve each branch card's detail mode before dispatching its editor. GENERATE
440
+ must bypass registry selection, including a previously selected registered
441
+ layout; REGISTERED uses the resolved branch schema with the control's schema
442
+ scope, data path and document root. Inline layouts remain relative to the branch
443
+ value. Missing registrations fall back to generation. Value-choice cards do not
444
+ use branch editors.
445
+
446
+ Check generation with a matching registry, registry selection and fallback,
447
+ inline layouts, and editing a nested value through the renderer's registry.
448
+
449
+ ## Button width and layout allocation
450
+
451
+ `options.fullWidth` fills the button's allocated cell; it does not allocate a
452
+ whole row. Applying it only to the wrapper leaves the visible button intrinsic.
453
+ Check two `options.layout.span: 6` buttons in a twelve-column horizontal layout:
454
+ each fills its own cell, remains beside its sibling and respects the gap.
455
+ Toggle true to false and omit the option; native intrinsic sizing returns.
456
+
457
+ ## Experimental dynamic overlays: fallback is per evaluation
458
+
459
+ This entry applies to the experimental [§11 profile](spec.md#11-dynamic-values-and-path-grammar),
460
+ which does not establish cross-adapter conformance. Recompute overlays from the authored static
461
+ element on each evaluation. Starting from the last effective element leaves stale
462
+ readonly/presentation values when a condition stops matching. An invalid later
463
+ overlay preserves an earlier valid overlay from the same evaluation, not an older
464
+ runtime result. Generic resolver failures fall back; a syntactically safe JSON
465
+ value that an individual renderer rejects follows that renderer's ordinary
466
+ invalid-field behavior. The resolver has no target contract registry. Preserve
467
+ inherited restrictions regardless of an option override.
468
+
469
+ Proposed acceptance: a company rule sets readonly true; changing to a non-company
470
+ restores static false, while host readonly remains enforced. Repeat with a later
471
+ invalid expression and verify diagnostics without leaking bound values.
472
+ Do not copy every form-data node for each external-only overlay. Conservatively
473
+ identify referenced environment roots, and share validated immutable snapshots
474
+ between occurrences for one source namespace version. A trusted function may read
475
+ every root. Keep the combined size limit and prevent one function from mutating
476
+ a shared snapshot before another occurrence evaluates.
477
+
478
+
479
+ ## Collection key snapshots must preserve literal keys
480
+
481
+ Do not identify a collection's keys by joining them with a delimiter. JSON object
482
+ keys may contain that delimiter, including escaped NUL characters: `["a", "b\u0000c"]`
483
+ and `["a", "b", "c"]` produce the same NUL-joined string. Use a lossless snapshot
484
+ (such as JSON encoding of the key array) or compare the arrays structurally.
485
+ Otherwise replacing properties can retain stale editors or miss pagination changes.
486
+
487
+ Acceptance: replace those two key lists at the same control path, check that every
488
+ new property is rendered and removed properties disappear, and verify that adding
489
+ an item selects its page.
490
+
491
+ ## Template subscriptions and runtime bindings
492
+
493
+ Template subscriptions must follow replacement of the whole data value as well
494
+ as edits inside it. Property names are literal keys: `a.b` and nested `a.b`
495
+ are different dependencies, and primitive or null roots still need updates.
496
+ Use the framework's subscription/snapshot mechanism rather than a render-time
497
+ mutable path tracker that can retain an obsolete object or miss primitive reads.
498
+
499
+ Keep a compiled template's identity tied to its authored source. Changing runtime
500
+ bindings, including a stricter URL policy, must update the rendered output without
501
+ remounting unchanged controls or losing their unsaved drafts. A stable component
502
+ with context/props can carry current bindings without exposing speculative render
503
+ writes through refs shared with an already committed tree.
504
+
505
+ The `template-data-subscription-replacement` and
506
+ `template-policy-update-preserves-draft` vectors are framework-neutral acceptance
507
+ cases. A renderer adapter must execute them before reporting support.
508
+
509
+ ## P20 — File operation feedback follows committed data
510
+
511
+ **Trap:** Publish a rejected file's size or a failed read as an owned validation
512
+ error while retaining the previous valid attachment. The form then becomes
513
+ invalid because of data it never stored. Conversely, accept an out-of-bounds
514
+ file with restriction disabled and show only transient local feedback.
515
+
516
+ **Behavior:** Reject a restricted size-invalid selection before reading, keep
517
+ the committed value and its validity, and show a local warning. A read or
518
+ conversion failure likewise preserves the committed value and shows a local
519
+ error. An unrestricted file that is successfully stored with a known invalid
520
+ original byte size contributes an owned size error. Pending reads participate
521
+ in command validity; imported encoded values have no inferred byte-size result.
522
+
523
+ **Check:** Begin with a valid attachment. Reject an oversized replacement and
524
+ fail a later read; verify the original value and validity remain, with warning
525
+ and error feedback respectively. Then turn restriction off, store a size-invalid
526
+ file, and verify its owned error joins host errors without replacing them.
527
+ See [file control](../examples/file-control/README.md).
528
+
529
+ ## P21 — Imported choice errors belong to their item and field
530
+
531
+ **Trap:** Keep an out-of-domain array value visible as a pill while displaying
532
+ only errors reported at the array path. Validators report an invalid member at
533
+ the member path, so the field appears valid even though the document is not.
534
+
535
+ **Behavior:** Preserve the incoming value and its removal action. Mark the
536
+ specific invalid pill and expose its translated item error at the field. Keep
537
+ array-level constraints, such as `minItems`, alongside item errors. Schema
538
+ errors follow the form's validation visibility mode; host additional errors
539
+ remain visible. Removing or correcting the member clears its marker and message.
540
+
541
+ **Check:** In the [array choices](../examples/array-choices/README.md) example,
542
+ the imported `Fax` value remains visible but is marked invalid because the item
543
+ schema offers only `Email` and `SMS`. The other pill stays unmarked. Removing
544
+ `Fax` clears that item error without changing other array fields.
545
+
546
+ Invalid token outlines must remain visible on all four sides inside clipped or
547
+ scrollable multi-select containers. An outer box-shadow ring can be clipped at
548
+ the top and bottom; use an actual border or an inset outline, with the native
549
+ error color. Reserve the same border space on valid tokens to avoid size shifts.
550
+ Visual acceptance: the imported `Fax` pill has a continuous error-colored
551
+ outline around its rounded perimeter while `Email` remains unmarked, including
552
+ when tokens wrap or scroll.
553
+
554
+ ## P22 — Portable actions require host registration
555
+
556
+ **Trap:** Render a Button from the shared UI schema and assume its `action`
557
+ name changes application state by itself. A dispatcher that accepts the event
558
+ without registering the command makes the button appear active but ineffective.
559
+
560
+ **Behavior:** Keep the action name and parameters in portable JSON. The host
561
+ registers the command and updates the form-level locale or theme state; the
562
+ renderer only dispatches and awaits the action. Scope the form surface and its theme
563
+ tokens together, so a light form stays readable in a dark application and vice versa.
564
+ Preserve any example-specific handler before applying a host fallback.
565
+
566
+ **Check:** In the [Job application](../examples/job-application/README.md),
567
+ activate Bulgarian and English and observe the form labels switch both ways
568
+ while the application language stays unchanged. Toggle theme twice and observe
569
+ the form return to its original mode while the application theme stays
570
+ unchanged. Check readable text and controls for both dark application/light form
571
+ and light application/dark form. Run these checks with direct
572
+ renderer and webcomponent hosts where both are supported.
573
+
574
+
575
+ ## Experimental dynamic overlays: dispatch is only one consumer
576
+
577
+ Resolving an arbitrary extension option does not give a standard renderer a new
578
+ feature. Interactive examples should show supported presentation properties; keep
579
+ unconsumed extension payloads in resolver tests or explicitly identify their
580
+ custom consumer. Use catalog keys for visible prose and display bound technical
581
+ values separately when they do not need translation.
582
+
583
+ Capture actual focus ownership before replacing an editor, rather than retaining
584
+ the last element that ever received focus. React's pre-commit snapshot lifecycle
585
+ can capture that ownership before DOM removal; after commit, transfer only when
586
+ the old editor is disconnected and focus has not moved elsewhere. Pure resolution
587
+ caches may reuse immutable results, but must not publish form writes or committed
588
+ subscriptions from a speculative render.
589
+
590
+ Nested `$dynamic` metadata is not an instruction to the parent overlay walker.
591
+ Preserve it in object-valued detail slots as well as child arrays; resolve it only at the child
592
+ occurrence, either for dispatch or a parent reader using that same occurrence context. A detail may be reused in several rows, so
593
+ premature resolution can freeze the parent's item into every child. Exclude such
594
+ metadata from the parent's dependency inventory. Cells often receive an already
595
+ resolved data path, unlike Control renderers: do not append the scope twice when
596
+ constructing their `value` environment root. Array snapshots must reject indexed
597
+ getters without executing them, just like object snapshots.
598
+
599
+ A nonvisual aspect can resolve an element and delegate to the normal renderer,
600
+ but a parent may already have read its child's label or sizing. Share the same
601
+ per-occurrence resolution service with those parent consumers. Do not identify a
602
+ child by its evaluated label, or cache effective detail values solely by the shared
603
+ authored UI object.
604
+ Parents that inspect descendant scopes, types, or labels need an effective structural
605
+ view before making their decisions. This includes conditional detail filtering,
606
+ error summaries, data/validation indicators, tuple placement, card presentation,
607
+ and template inputs. Traverse structural `elements`, not arbitrary extension objects
608
+ or uninstantiated `options.detail`. Resolve a detail at its actual object/row path;
609
+ never reuse an outer row's item context for a nested collection. Preserve the
610
+ parent's filtering when dispatching that view rather than reconstructing the
611
+ unfiltered authored tree. Keep authored category/slot lookup identities separately
612
+ from effective presentation properties.
613
+
614
+ Proposed acceptance: move a child's scope from an absent conditional field to a
615
+ present invalid field; the child must remain visible, its indicator must count the
616
+ new field's error, and dispatch must use the same scope. Change an external label
617
+ again and retain the same editor instance. Reuse one detail in two rows and verify
618
+ that their item-bound labels remain distinct. A template must read the effective
619
+ child label through its original authored slot name, including after external
620
+ replacement. These are acceptance scenarios, not a claim of execution by every
621
+ adapter.
622
+ Same-component updates need reactive props; a different
623
+ selected component replaces only that subtree, discarding its local uncommitted
624
+ draft under §11.7. Internal editor replacements follow the same policy.
625
+ For a numeric input, typing `1e` may already have committed the valid prefix `1`;
626
+ the discarded draft is the incomplete suffix, not that committed value. Test
627
+ against the last committed form data rather than assuming it is the value from
628
+ before typing began. A slider's thumb is an editor focus target even when its
629
+ control exposes no native text input.
630
+
631
+ Proposed acceptance: in the [two-form playground](../examples/dynamic-playground/README.md),
632
+ change the plan label, switch automatic/radio/automatic, and toggle readonly. The
633
+ preview data and unrelated name editor survive; the configuration form remains
634
+ editable. Repeat with an uncommitted edit, IME and permission revocation before
635
+ claiming lifecycle support. These are adapter acceptance criteria; each
636
+ renderer/host combination needs its own evidence. See spec §11.7–11.10.
637
+
638
+ ## Dynamic replacement and message fallback
639
+
640
+ Deep merging a new discriminated object can retain an old discriminator or condition.
641
+ Use a complete descriptor value such as `literal` or `bind` when changing
642
+ rule/detail shapes. Authored objects patch existing keys; descriptor results
643
+ replace their target completely. Literal payloads are not recursively evaluated. Check a complete
644
+ replacement for generic JSON safety before installing it; semantic target
645
+ validation belongs to the renderer or UI-schema validator. Changing an i18n prefix also requires changing
646
+ its fallback message. Empty prefixes are not translation opt-outs; use dedicated
647
+ keys for host text rather than allowing the supplied text to become a lookup key.
648
+
649
+ ### Keep external input separate from dynamic activation
650
+
651
+ `external` is host data, available to template context even when overlays are disabled.
652
+ Only `config.jsonformsExtended.dynamic.enabled === true` activates overlays. Trusted
653
+ callbacks additionally require the exported `TRUST_DYNAMIC_FUNCTIONS` symbol at
654
+ `dynamic.trusted`; never accept a JSON flag or a lookalike symbol. A transparent
655
+ aspect may stay mounted while disabled, but must delegate without evaluating metadata.
656
+
657
+ ### Lazy evaluator boundaries must survive bundling
658
+
659
+ A dynamic import does not guarantee a lazy bundle: package-based manual chunk
660
+ rules can merge the evaluator with an eager loader. Inspect the emitted static
661
+ import graph and keep expression runtimes out of eager package chunks. Retain
662
+ snapshot validation; avoid repeating pure resolution instead of bypassing the
663
+ JSON-safety contract. Share results only for identical authored elements and
664
+ referenced inputs, including trust and evaluator readiness.
665
+
666
+ Proposed acceptance: no evaluator request while disabled; concurrent activation
667
+ shares preparation; initially enabled forms do not mount editable fallback
668
+ editors; live activation retains draft state; disabling or disposing during load
669
+ ignores stale completion; failure is visible and reactivation retries. Check that
670
+ a cached pre-preparation failure is not reused after preparation succeeds.
671
+
672
+ ### Parent tester inputs and the static fast path
673
+
674
+ Resolving structural children only inside a selected parent cannot affect its
675
+ selection. A parent tester that checks child types must receive the effective
676
+ structural view before ranking. A nonvisual aspect may need to recognize metadata
677
+ on descendants even when the parent has none. Bypass its immediate redispatch
678
+ without bypassing the children, including when activation is disabled and the
679
+ children still carry authored metadata.
680
+
681
+ Cache metadata-presence checks by immutable UI identity. An unchanged static tree
682
+ must not repeatedly traverse descendants, snapshot environment roots, evaluate
683
+ expressions or subscribe its resolver to unrelated external inputs. A new authored
684
+ object gets its own presence result. This is a constant-time fast path after an
685
+ initial scan, not a claim of literally zero execution cost.
686
+
687
+ Proposed acceptance: a categorization with no own overlay has a child whose type
688
+ changes dynamically. Parent selection must follow that effective type. Preserve
689
+ drafts for label-only changes; switch only the selected parent subtree when its
690
+ tester result changes. Reuse the same detail for distinct rows, then reorder them
691
+ and verify independent selection. These scenarios supplement the parent-reader
692
+ acceptance cases above.
693
+
694
+ ## P23 — Input adornments are content, not component props
695
+
696
+ **Trap:** Pass a portable icon object directly to a UI library's string-only
697
+ prefix/suffix prop or concatenate a unit into the stored value. Rendering an
698
+ adornment beside a separately bordered input makes it a neighboring layout
699
+ element rather than part of the field. Putting a start adornment between the
700
+ picker or swatch and its input, or placing it on top of a color, cron, or
701
+ duration trigger, reverses or obscures native controls. An end adornment can
702
+ likewise cover clear, dropdown, picker, reveal, validation, or browser number
703
+ stepper controls. Reserving only text padding does not prevent an absolutely
704
+ positioned clear button from covering an end icon or suffix text. A native
705
+ select's browser-drawn arrow can stay at the physical edge even after the
706
+ value receives extra end padding; a separate combobox trigger can do the same.
707
+ A tooltip rendered inside a clipped field wrapper may appear as a thin sliver
708
+ instead of readable help.
709
+
710
+ A wrapper that measures padding already adjusted for adornments can add space
711
+ on each hover or focus render; animating that padding makes the value slide.
712
+ Focused field layers can hide the start icon. A clear action added after a
713
+ persistent password reveal action can move the reveal action or leave an empty
714
+ slot. Making clear permanently visible on date, date-time, or time fields can
715
+ also change the control's usual hover/focus behavior. Mixing a text
716
+ multiplication sign or a filled action button with the UI library's clear icon
717
+ makes numeric controls look like a different action from text and temporal
718
+ controls. A tooltip that extends
719
+ beyond the viewport can toggle horizontal scrolling and make the whole page
720
+ appear to shake.
721
+ An independently styled dark tooltip can ignore the renderer family's theme
722
+ and become illegible in dark mode. Guessing native field parts from CSS class
723
+ substrings such as `start-` and `end-` can move an unrelated positioned element
724
+ or miss a library control after a class-name change.
725
+
726
+ **Behavior:** Normalize a literal string, object, or object array. Resolve each
727
+ object's independent translation prefix; map semantic icon IDs locally and
728
+ preserve the localized accessible label and focusable tooltip. Compose content
729
+ at the logical input edge without changing parsing, storage, focus, validation,
730
+ or built-in controls. Decide support from the actual text-entry surface, not
731
+ only `type: string` or `format`. Time, duration, cron, password, color, masked,
732
+ and editable choice inputs can qualify; a segmented OTP, code editor, or other
733
+ composite needs a coherent outer field boundary before it can qualify.
734
+ Normally put start before native leading icons and end after native trailing
735
+ icons. Reserve separate, stable space for the value, leading triggers, trailing
736
+ actions, and adornments; account for the browser's number stepper as well as
737
+ renderer-owned controls. Move a choice arrow or trigger into that reserved
738
+ space; padding the selected text alone does not move it. Keep tooltip content
739
+ unclipped and within the viewport. Preserve the renderer's normal clear
740
+ visibility policy: if clear appears on hover or focus, do not make it
741
+ permanently visible when composing adornments. Use the same UI-library
742
+ clear icon and neutral button treatment across comparable field types,
743
+ including numeric and temporal inputs. Give icon-only picker triggers and
744
+ clear buttons visible tooltips as well as accessible names. Translate those
745
+ tooltips with the active locale, including after a live locale change. Keep a
746
+ persistent password reveal action in a fixed position, normally after a conditional clear action
747
+ and before the end adornment. Keep informational content visible while
748
+ the input is focused and edited. Follow a UI library's established slot order where applicable while
749
+ preserving familiar placement and operability. Unsupported editor variants
750
+ should report a capability gap rather than silently dropping adornments.
751
+ Use the family's tooltip treatment and theme colors. Identify native parts
752
+ through stable library slots or explicit renderer integration where available;
753
+ verify positioning after a library update.
754
+
755
+ **Check:** Use [input adornments](../examples/input-adornments/README.md) in
756
+ both locales and writing directions. Edit, clear, reload, focus the help icon,
757
+ and compare saved JSON before/after a locale change. An icon mapping miss shows
758
+ its localized label. Date/time/date-time, duration, cron, and color start
759
+ adornments sit outside their picker icons, swatches, and triggers. Password
760
+ reveal/clear, choice arrows, and number steppers remain visible and operable
761
+ before end adornments unless the library's standard slot order applies. On a
762
+ number input, hover to show the browser stepper, increment and decrement, then
763
+ use clear: the stepper and clear must have distinct hit targets. Typed text,
764
+ picker edits, and reveal toggles retain their original data and focus
765
+ semantics. Compare value, adornment, picker, stepper, and clear-button bounds
766
+ at rest, on hover, during focus, and while editing; none should jump,
767
+ disappear, or overlap. In particular, check the start icon while typing,
768
+ suffix text and icons when clear appears, and the password reveal position as
769
+ clear appears and disappears. Check that the password value and masked glyphs
770
+ have visible space after the reveal icon. Test both a native select arrow and
771
+ a separately positioned combobox trigger with an end adornment; the text,
772
+ arrow, clear action, and adornment need distinct hit areas. On date,
773
+ date-time, and time controls whose clear is normally conditional, verify that
774
+ it is hidden at rest, appears on hover or focus, and remains keyboard
775
+ accessible. Check picker and clear tooltips in both supported locales and
776
+ after switching locale while the control remains mounted. Compare the rendered
777
+ clear icon and button treatment on text, number, integer, date, date-time, and
778
+ time controls. Tooltip hover must leave
779
+ document width and horizontal scroll unchanged. Inspect the rendered field,
780
+ not just DOM order or declared padding, since browser controls and component
781
+ styles can change the actual positions.
782
+ Check tooltip contrast in light and dark themes, and verify that start/end
783
+ spacing does not move unrelated positioned controls.
784
+
785
+ ## P24 — Popup actions keep their distinct meanings and fit the viewport
786
+
787
+ **Trap:** Put a duration unit's remove action inside its numeric input, where
788
+ it reads as “clear this number,” or align a separate remove button against the
789
+ label rather than the input. Let different unit-label widths change the
790
+ adjacent input width from row to row. Give the button the same visual
791
+ treatment as a value clear action. Apply a small fixed maximum height to a
792
+ duration popup so it scrolls even when the viewport has room. Omit the clear
793
+ action from the cron popup's Expression field while providing it on other
794
+ fields, or show clear permanently or for an empty value. Hiding a conditional
795
+ clear button with CSS visibility also removes it from the accessibility tree
796
+ and keyboard focus order, so focusing the button cannot reveal it. Style
797
+ Cron Apply as a secondary action while the comparable duration popup uses the theme primary
798
+ action.
799
+
800
+ **Behavior:** A duration Remove unit action removes that component from the
801
+ staged duration; it is separate from clearing the whole duration or editing a
802
+ component's quantity. Present number, unit name, and remove action as one
803
+ aligned row, with consistent numeric-input and unit-label columns across all
804
+ rows, the remove action outside the numeric field, and an accessible
805
+ unit-specific name. Preserve the final-unit restriction and Apply/Cancel or
806
+ immediate-update semantics. Size popups from the space available above or below
807
+ the trigger; allow vertical scrolling when content genuinely exceeds that
808
+ space. A cron popup input, including Expression, offers its own clear action
809
+ when it contains text and the field is hovered or focused. Keep that action
810
+ keyboard reachable while it is visually quiet at rest; focus must reveal it.
811
+ Clearing that draft uses the same validation and commit rules as typing into the field. Give the
812
+ Cron Apply action the theme primary treatment and Cancel the secondary
813
+ treatment, consistent with other popup editors.
814
+
815
+ Cron picker rows should identify each field visibly, including the raw Expression
816
+ editor. Give selectable time fields a compact summary of chosen values, a
817
+ scrollable list for long ranges such as seconds and minutes, and a separate
818
+ clear action that returns that field to Every. Multi-selection must keep the
819
+ list usable across successive choices and preserve unrelated expression fields.
820
+ An accessible name alone does not explain an unlabeled raw expression box to a
821
+ sighted user. Native library styling may differ, but the row labels, selected
822
+ summary, clear meaning, and draft behavior should agree across renderers.
823
+
824
+ A color picker should expose a labeled Clear value action at the bottom of
825
+ its app-owned panel when a value is present and clearing is allowed. It must
826
+ use the same empty-value contract as the field-level clear action. After
827
+ clearing, its channel and alpha inputs should show no stale value. Changing the
828
+ channel view alone must not commit a fallback color; the next deliberate picker
829
+ edit can establish a new one. Opening the
830
+ field's picker should reveal the color-selection controls immediately; a large
831
+ native color-input swatch inside an app popover creates a second dialog when
832
+ activated. A browser-native color dialog cannot host application buttons, so a
833
+ renderer that needs Clear value in the picker should use an app-owned spectrum
834
+ and controls in that single panel. A renderer that uses a native dialog instead
835
+ must expose clear separately and record that platform limitation.
836
+
837
+ A composable picker may normalize an unset or invalid value to a default color
838
+ when it mounts. Keep that preview inside the picker until the user edits it;
839
+ opening the panel must not overwrite the form value or clear an invalid imported
840
+ string. Bind channel-view changes separately from the configured save format,
841
+ and use the shared parser and serializer when a selection is committed. If a
842
+ separate alpha field makes the picker hide alpha in its hex field, keep the
843
+ alpha field visible and preserve its value through view changes.
844
+
845
+ **Check:** Open empty and invalid imported colors, then switch HEX/RGB/HSB
846
+ views without editing; stored data must remain unchanged. Change a channel and
847
+ verify the configured save format and alpha survive. Reopen the picker and
848
+ confirm that its initial view matches the configured format.
849
+
850
+ **Check:** Open a duration with at least two units. Compare the numeric input
851
+ and Remove unit button centers; compare the input right edges and label start
852
+ edges across rows. Activate Remove Hours and verify that the draft loses the
853
+ hour component, while committed data changes only at the configured commit
854
+ step. Confirm that the X is visibly outside the input and
855
+ remains distinct from the whole-value clear button. On a tall viewport, a short duration popup
856
+ fits without an internal scrollbar; on a short viewport, its actions stay
857
+ reachable by scrolling. In the cron popup, focus and hover the nonempty
858
+ Expression field, clear it, and verify the draft becomes empty while the
859
+ committed value follows the configured Apply/Cancel or immediate mode. Check
860
+ that an empty Expression field has no clear action. With a nonempty Seconds
861
+ field, locate its reset action by accessible name before hover, focus it from
862
+ the keyboard, and verify that it appears and resets only Seconds. Compare
863
+ Cron Apply with Duration Apply and confirm both use the theme primary button treatment.
864
+ Select two minutes in succession from the scrolling choice list, confirm both
865
+ appear in the compact summary and draft expression, then clear Minutes to
866
+ Every without changing the other fields. Check that Expression has a visible
867
+ label in both populated and empty pickers.
868
+ Open a populated color picker and activate the footer Clear value action;
869
+ verify the stored property is removed. Repeat with an empty value, clearing
870
+ disabled, and a readonly control; the footer action must be absent or disabled.
871
+ Activate the field's picker and verify that saturation, hue and channel editing
872
+ are usable immediately, without activating another swatch or opening a second
873
+ dialog. Use pointer and keyboard editing, then clear from the same panel.
874
+ Test the footer action and the color-selection surface through each renderer.
875
+
876
+
877
+ ## Clearing a dynamic property keeps its editor
878
+
879
+ Dynamic rows are discovered from keys present in form data. Delegated controls
880
+ that map an empty input or clear action to undefined can therefore remove the
881
+ row through the form core update handling. Communicate dynamic-property context
882
+ to the delegated editor and preserve the property at its exact path. A cleared
883
+ string stores an empty string even when its schema has a nonempty default.
884
+ Apply the same rule when literal keys require isolated editors. Nested declared
885
+ fields keep their ordinary clear semantics. Delete remains an explicit action
886
+ on the containing object.
887
+
888
+ Proposed acceptance cases are described in the
889
+ [additional-properties walkthrough](../examples/additional-properties/README.md).
890
+ Host execution is required to establish renderer support.
891
+
892
+
893
+ ## Adapter boundaries must retain operation semantics
894
+
895
+ A native component adapter can render a shared feature successfully while omitting
896
+ its operation policy. Reimplementing Button activation can lose script permission,
897
+ ActionEvent normalization and pending-promise semantics. Supplying a grid frame and
898
+ icons without the deletion-policy adapter can silently skip confirmation for a
899
+ batch. Compare real registry interactions across renderer sets, including the host
900
+ callback and stored data, rather than treating shared factory unit tests or example
901
+ mounts as evidence that the adapter wired those behaviors.
902
+
903
+ Primitive status is another adaptation boundary. A switch has no indeterminate
904
+ state, so expose a localized, associated description for unset and invalid values.
905
+ A null control distinguishes explicit null, absence and an invalid imported value;
906
+ it must not normalize any of them merely by mounting. Preserve these distinctions
907
+ in cells as well as ordinary controls.
908
+
909
+ Proposed acceptance vectors are `adapter-operation-policy` and
910
+ `primitive-presence-presentation` in `conformance/behavior.json`. They require host
911
+ execution; adding the vectors does not certify a renderer. Exercise a pending Button
912
+ action, a disallowed string script, cancellation and acceptance of batch deletion,
913
+ and external primitive data replacement through each real renderer registry.
914
+
915
+
916
+ ## Host styling markers must not change content
917
+
918
+ **Trap:** Insert tracking characters before Markdown parsing and assume they
919
+ cannot affect delimiters. Compare only plain text, losing a changed emphasis
920
+ node or link target. Require HTML spans from a canvas renderer, or derive
921
+ styling names from translated strings or data paths. Treat the host's false
922
+ as a permission gate, or use boolean OR merging and lose a Label's explicit false.
923
+
924
+ **Behavior:** Treat parts and named substitution hooks as optional platform
925
+ integrations. On HTML, normalize authored part tokens onto existing layout
926
+ slots; root and direct dispatch without slots do not acquire wrappers.
927
+ For Label substitutions, preserve the parsed structure as well as text and URL
928
+ policy. Internal boundary markers must never leak, corrupt user characters,
929
+ or reach URL validation. Fall back to unmarked Label output when equivalence
930
+ cannot be guaranteed. Resolve the Label's own boolean before the host default,
931
+ then false. Omission inherits; local false disables a host true and local true
932
+ overrides a host false. Disabled hooks skip tracking and extra parsing. Native
933
+ callbacks and annotated ranges are optional; a documented no-op preserves the
934
+ form's meaning and is not evidence of marker support.
935
+
936
+ **Check:** Run the `styling-*` vectors in `conformance/behavior.json` through a
937
+ real adapter. Compare on/off output after removing only generated spans, with
938
+ punctuation near emphasis, adjacent/repeated values, code, line breaks, literal
939
+ private-use characters, safe and refused URLs, and translated parameter order.
940
+ Check all local/host true, false and omitted combinations, then change the
941
+ host default and remove a local override while mounted. Check nested slots,
942
+ root and region dispatch, invalid tokens, and unchanged accessibility and interaction. Exercise a documented canvas no-op separately.
943
+ These are acceptance inputs; this repository does not execute renderer tests.
944
+
945
+
946
+ ## Conditional requiredness belongs to the object, not the layout widget
947
+
948
+ **Trap:** Update required indicators only for generated object Controls, or
949
+ re-evaluate against document-root data when a layout is reused inside an object
950
+ or array item. Treating requiredness as visibility hides base fields. Flattening
951
+ all conditions into the validation schema changes document validity.
952
+
953
+ **Behavior:** Project the current object's presentation once at its owning
954
+ Control or layout entry. All descendant layout containers use that projection;
955
+ base fields stay visible while their conditional required indicators change.
956
+ Entry-local false overrides the global default for that layout subtree. Nested
957
+ object Controls and array items have independent boundaries. Host form instances
958
+ also remain independent even when their data paths are identical; an isolated
959
+ editor must not inherit the enclosing form's disabled projection. Preserve authored
960
+ placement, UI rules, regions and inactive data; validate the original document.
961
+ Do not cross Control detail boundaries while filtering a parent layout.
962
+
963
+ **Check:** Run the conditional-layout vectors through each actual renderer
964
+ registry, across vertical/horizontal/group and categorization variants. Toggle
965
+ the discriminator by editing and external data replacement, with validation on
966
+ and off. Check base-required fields, branch-only fields, retained values, local
967
+ opt-out, nested objects and distinct array items. Keep authoring validation tests
968
+ and proposed behavior vectors separate from executed renderer certification.