@chobantonov/jsonforms-extended-spec 0.3.0 → 1.0.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 (40) hide show
  1. package/conformance/authoring.json +243 -0
  2. package/conformance/behavior.json +1755 -22
  3. package/docs/audit.md +17 -2
  4. package/docs/conditional-fields.md +105 -16
  5. package/docs/external-resources-proposal.md +8 -2
  6. package/docs/implementation-guide.md +76 -89
  7. package/docs/implementation-pitfalls.md +260 -12
  8. package/docs/implementation-web-typescript.md +2 -5
  9. package/docs/renderer-and-demo.md +47 -34
  10. package/docs/spec.md +169 -47
  11. package/docs/todo.md +59 -22
  12. package/examples/catalog.json +16 -1
  13. package/examples/conditional-fields/README.md +10 -0
  14. package/examples/conditional-template-slots/README.md +14 -0
  15. package/examples/conditional-template-slots/config.json +7 -0
  16. package/examples/conditional-template-slots/data.json +5 -0
  17. package/examples/conditional-template-slots/schema.json +37 -0
  18. package/examples/conditional-template-slots/translations.json +16 -0
  19. package/examples/conditional-template-slots/uischema.json +22 -0
  20. package/examples/group-layout/README.md +26 -1
  21. package/examples/group-layout/uischema.json +50 -41
  22. package/examples/index.js +4 -3
  23. package/examples/kitchen-sink/README.md +93 -4
  24. package/examples/kitchen-sink/config.json +7 -0
  25. package/examples/kitchen-sink/data.json +14 -2
  26. package/examples/kitchen-sink/invalid-data.json +13 -1
  27. package/examples/kitchen-sink/schema.json +100 -1
  28. package/examples/kitchen-sink/translations.json +80 -2
  29. package/examples/kitchen-sink/uischema.json +239 -5
  30. package/examples/label-interpolation/README.md +17 -1
  31. package/examples/label-interpolation/translations.json +8 -4
  32. package/examples/label-interpolation/uischema.json +25 -6
  33. package/package.json +1 -1
  34. package/schemas/README.md +10 -0
  35. package/schemas/jsonforms-extended-uischema.schema.json +8 -18
  36. package/schemas/jsonforms-uischema.schema.json +8 -18
  37. package/typescript/README.md +6 -0
  38. package/typescript/lib/authoring/forSchema.d.ts +10 -6
  39. package/typescript/src/authoring/forSchema.ts +10 -6
  40. package/typescript/test/typedAuthoringCoverage.test.ts +15 -7
@@ -34,6 +34,13 @@
34
34
  "showValidationIndicator": true
35
35
  },
36
36
  "elements": [
37
+ {
38
+ "type": "Label",
39
+ "i18n": "identityGuide",
40
+ "options": {
41
+ "markup": "markdown"
42
+ }
43
+ },
37
44
  {
38
45
  "type": "VerticalLayout",
39
46
  "elements": [
@@ -131,6 +138,12 @@
131
138
  "layout": {
132
139
  "weight": 1,
133
140
  "minWidth": 240
141
+ },
142
+ "startAdornment": {
143
+ "kind": "icon",
144
+ "icon": "lock",
145
+ "label": "Account security",
146
+ "i18n": "accountSecurity"
134
147
  }
135
148
  }
136
149
  },
@@ -167,6 +180,13 @@
167
180
  "showValidationIndicator": true
168
181
  },
169
182
  "elements": [
183
+ {
184
+ "type": "Label",
185
+ "i18n": "contactGuide",
186
+ "options": {
187
+ "markup": "markdown"
188
+ }
189
+ },
170
190
  {
171
191
  "type": "Control",
172
192
  "scope": "#/properties/address",
@@ -213,8 +233,15 @@
213
233
  },
214
234
  "elements": [
215
235
  {
216
- "type": "VerticalLayout",
236
+ "type": "Group",
217
237
  "elements": [
238
+ {
239
+ "type": "Label",
240
+ "i18n": "preferencesGuide",
241
+ "options": {
242
+ "markup": "markdown"
243
+ }
244
+ },
218
245
  {
219
246
  "type": "HorizontalLayout",
220
247
  "options": {
@@ -246,6 +273,52 @@
246
273
  }
247
274
  ]
248
275
  },
276
+ {
277
+ "type": "Control",
278
+ "scope": "#/properties/employmentType",
279
+ "i18n": "employmentType",
280
+ "options": {
281
+ "format": "cards",
282
+ "choices": [
283
+ {
284
+ "value": "permanent",
285
+ "label": "Permanent",
286
+ "i18n": "employmentType.permanent",
287
+ "content": {
288
+ "type": "Label",
289
+ "i18n": "employmentType.permanentBody",
290
+ "options": {
291
+ "markup": "markdown"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "value": "fixed-term",
297
+ "label": "Fixed term",
298
+ "i18n": "employmentType.fixed-term",
299
+ "content": {
300
+ "type": "Label",
301
+ "i18n": "employmentType.fixed-termBody",
302
+ "options": {
303
+ "markup": "markdown"
304
+ }
305
+ }
306
+ },
307
+ {
308
+ "value": "contract",
309
+ "label": "Contract",
310
+ "i18n": "employmentType.contract",
311
+ "content": {
312
+ "type": "Label",
313
+ "i18n": "employmentType.contractBody",
314
+ "options": {
315
+ "markup": "markdown"
316
+ }
317
+ }
318
+ }
319
+ ]
320
+ }
321
+ },
249
322
  {
250
323
  "type": "Control",
251
324
  "scope": "#/properties/workMode",
@@ -254,6 +327,16 @@
254
327
  "format": "radio"
255
328
  }
256
329
  },
330
+ {
331
+ "type": "Control",
332
+ "scope": "#/properties/preferredOffice",
333
+ "i18n": "preferredOffice"
334
+ },
335
+ {
336
+ "type": "Control",
337
+ "scope": "#/properties/homeOfficeLocation",
338
+ "i18n": "homeOfficeLocation"
339
+ },
257
340
  {
258
341
  "type": "Control",
259
342
  "scope": "#/properties/newsletter",
@@ -267,6 +350,11 @@
267
350
  "toggle": true
268
351
  }
269
352
  },
353
+ {
354
+ "type": "Control",
355
+ "scope": "#/properties/relocationCity",
356
+ "i18n": "relocationCity"
357
+ },
270
358
  {
271
359
  "type": "HorizontalLayout",
272
360
  "options": {
@@ -292,6 +380,12 @@
292
380
  "layout": {
293
381
  "weight": 1,
294
382
  "minWidth": 220
383
+ },
384
+ "startAdornment": "€",
385
+ "endAdornment": {
386
+ "kind": "text",
387
+ "text": "/ year",
388
+ "i18n": "salaryPeriod"
295
389
  }
296
390
  }
297
391
  }
@@ -309,8 +403,27 @@
309
403
  "type": "Control",
310
404
  "scope": "#/properties/color",
311
405
  "i18n": "color"
406
+ },
407
+ {
408
+ "type": "Label",
409
+ "i18n": "preferencesSummary",
410
+ "options": {
411
+ "markup": "markdown",
412
+ "interpolate": true,
413
+ "part": "preferences-summary",
414
+ "textParams": {
415
+ "position": "{data.position}",
416
+ "mode": "{translate(\"workMode.\" + data.workMode)}"
417
+ }
418
+ },
419
+ "slot": "footer"
312
420
  }
313
- ]
421
+ ],
422
+ "label": "Your next role",
423
+ "i18n": "roleGroup",
424
+ "options": {
425
+ "part": "job-preferences"
426
+ }
314
427
  }
315
428
  ]
316
429
  },
@@ -322,6 +435,13 @@
322
435
  "showValidationIndicator": true
323
436
  },
324
437
  "elements": [
438
+ {
439
+ "type": "Label",
440
+ "i18n": "scheduleGuide",
441
+ "options": {
442
+ "markup": "markdown"
443
+ }
444
+ },
325
445
  {
326
446
  "type": "Control",
327
447
  "scope": "#/properties/startDate",
@@ -340,7 +460,16 @@
340
460
  {
341
461
  "type": "Control",
342
462
  "scope": "#/properties/duration",
343
- "i18n": "duration"
463
+ "i18n": "duration",
464
+ "options": {
465
+ "endAdornment": {
466
+ "kind": "icon",
467
+ "icon": "information",
468
+ "label": "About contract duration",
469
+ "tooltip": "Choose the duration you can commit to.",
470
+ "i18n": "durationHelp"
471
+ }
472
+ }
344
473
  },
345
474
  {
346
475
  "type": "Control",
@@ -360,6 +489,13 @@
360
489
  {
361
490
  "type": "VerticalLayout",
362
491
  "elements": [
492
+ {
493
+ "type": "Label",
494
+ "i18n": "collectionsGuide",
495
+ "options": {
496
+ "markup": "markdown"
497
+ }
498
+ },
363
499
  {
364
500
  "type": "ListWithDetail",
365
501
  "scope": "#/properties/experience",
@@ -368,7 +504,23 @@
368
504
  {
369
505
  "type": "Control",
370
506
  "scope": "#/properties/tags",
371
- "i18n": "tags"
507
+ "i18n": "tags",
508
+ "options": {
509
+ "variant": "chips"
510
+ }
511
+ },
512
+ {
513
+ "type": "Control",
514
+ "scope": "#/properties/languages",
515
+ "i18n": "languages",
516
+ "options": {
517
+ "variant": "multi-select"
518
+ }
519
+ },
520
+ {
521
+ "type": "Control",
522
+ "scope": "#/properties/learningTopics",
523
+ "i18n": "learningTopics"
372
524
  },
373
525
  {
374
526
  "type": "Control",
@@ -407,6 +559,13 @@
407
559
  "showValidationIndicator": true
408
560
  },
409
561
  "elements": [
562
+ {
563
+ "type": "Label",
564
+ "i18n": "tableGuide",
565
+ "options": {
566
+ "markup": "markdown"
567
+ }
568
+ },
410
569
  {
411
570
  "type": "Control",
412
571
  "scope": "#/properties/team",
@@ -505,6 +664,13 @@
505
664
  "showValidationIndicator": true
506
665
  },
507
666
  "elements": [
667
+ {
668
+ "type": "Label",
669
+ "i18n": "gridGuide",
670
+ "options": {
671
+ "markup": "markdown"
672
+ }
673
+ },
508
674
  {
509
675
  "type": "Control",
510
676
  "scope": "#/properties/gridTeam",
@@ -668,6 +834,13 @@
668
834
  "showValidationIndicator": true
669
835
  },
670
836
  "elements": [
837
+ {
838
+ "type": "Label",
839
+ "i18n": "workSampleGuide",
840
+ "options": {
841
+ "markup": "markdown"
842
+ }
843
+ },
671
844
  {
672
845
  "type": "Control",
673
846
  "scope": "#/properties/policy",
@@ -690,6 +863,13 @@
690
863
  "showValidationIndicator": true
691
864
  },
692
865
  "elements": [
866
+ {
867
+ "type": "Label",
868
+ "i18n": "integrationGuide",
869
+ "options": {
870
+ "markup": "markdown"
871
+ }
872
+ },
693
873
  {
694
874
  "type": "Control",
695
875
  "scope": "#/properties/payload",
@@ -705,12 +885,62 @@
705
885
  "showValidationIndicator": true
706
886
  },
707
887
  "elements": [
888
+ {
889
+ "type": "Label",
890
+ "i18n": "reviewGuide",
891
+ "options": {
892
+ "markup": "markdown"
893
+ }
894
+ },
895
+ {
896
+ "type": "Label",
897
+ "i18n": "applicationSummary",
898
+ "options": {
899
+ "markup": "markdown",
900
+ "interpolate": true,
901
+ "textParamSpans": true,
902
+ "part": "application-summary prominent",
903
+ "textParams": {
904
+ "applicant": "{data.firstName + \" \" + data.lastName}",
905
+ "position": "{data.position}",
906
+ "mode": "{translate(\"workMode.\" + data.workMode)}",
907
+ "salary": "{currency(data.budget, \"EUR\")}"
908
+ }
909
+ }
910
+ },
911
+ {
912
+ "type": "Label",
913
+ "i18n": "contactSummary",
914
+ "options": {
915
+ "markup": "markdown",
916
+ "interpolate": true,
917
+ "textParamSpans": false,
918
+ "part": "application-contact",
919
+ "textParams": {
920
+ "email": "{data.email}"
921
+ }
922
+ }
923
+ },
708
924
  {
709
925
  "type": "Control",
710
926
  "scope": "#/properties/termsAccepted",
711
927
  "i18n": "termsAccepted"
712
928
  }
713
929
  ]
930
+ },
931
+ {
932
+ "type": "Category",
933
+ "label": "Demo guide",
934
+ "i18n": "demoGuide",
935
+ "elements": [
936
+ {
937
+ "type": "Label",
938
+ "i18n": "featureGuide",
939
+ "options": {
940
+ "markup": "markdown"
941
+ }
942
+ }
943
+ ]
714
944
  }
715
945
  ]
716
946
  }
@@ -718,5 +948,9 @@
718
948
  }
719
949
  ]
720
950
  }
721
- ]
951
+ ],
952
+ "options": {
953
+ "conditionalFields": true,
954
+ "part": "application-form"
955
+ }
722
956
  }
@@ -113,6 +113,15 @@ The Bulgarian renewal string is phrased with a colon and no trailing period,
113
113
  because a Bulgarian medium date already ends in `г.`. Punctuation belongs to
114
114
  the catalog entry.
115
115
 
116
+ The text has no implicit locale variable. The locale tab declares
117
+ `"textParams": { "language": "{locale}" }` and uses `{language}` in the message.
118
+ A second Label declares `"locale": "{locale}"`: the name is allowed, and the
119
+ parameter reads the host locale without referring to itself. Both declarations
120
+ work with the data-access gate closed and update when the host locale changes.
121
+ The incorrect-usage tab demonstrates that undeclared `{locale}` is reported.
122
+ Adapters implementing the older implicit-locale contract need to migrate to
123
+ these explicit parameters; support for this revision is unverified here.
124
+
116
125
  ## `translate()` turns a value into a word
117
126
 
118
127
  `data.plan` is `"Team"` in every language — a key, not a word. The parameter
@@ -181,7 +190,7 @@ What stays an error is anything wrong *however* the form is filled in, and the
181
190
  | a parameter never declared | `Unknown variable: customer` |
182
191
  | a function that does not exist | `no matching overload for 'shout'` |
183
192
  | a namespace that does not exist | `Unknown variable: nowhere` |
184
- | a parameter named `locale` | `textParams.locale is a reserved name` |
193
+ | undeclared `{locale}` in text | `Unknown variable: locale` |
185
194
 
186
195
  Each keeps the rest of its sentence — a label is content, and content is worth
187
196
  showing even when part of it is missing.
@@ -239,3 +248,10 @@ Proposed adapter acceptance cases (not executed renderer tests in this package):
239
248
  - Run `styling-*` behavior vectors for parsing boundaries, URL security,
240
249
  normalization and the documented native no-op. Record actual results per
241
250
  renderer family; schema validation does not establish support.
251
+
252
+ - With the data-access gate closed, switch the host locale and verify that
253
+ `language` and the declared `locale` parameter update, with eligible styling
254
+ spans. Undeclared `{locale}` reports an unknown variable and receives no span.
255
+ - Supply a non-boolean local `textParamSpans` through unchecked input: it inherits
256
+ the host default rather than becoming truthy or forcing false. Authoring
257
+ validation must still reject it.
@@ -20,7 +20,6 @@
20
20
  "undeclared.text": "A parameter that was never declared: \"{customer}\".",
21
21
  "unknownFn.text": "A function that does not exist: \"{shout(account)}\".",
22
22
  "badNamespace.text": "A namespace that does not exist: \"{who}\".",
23
- "reserved.text": "A parameter named after a reserved name: \"{locale}\".",
24
23
  "plan.Starter": "Starter",
25
24
  "plan.Team": "Team",
26
25
  "plan.Enterprise": "Enterprise",
@@ -43,7 +42,10 @@
43
42
  "Locale and translation": "Locale and translation",
44
43
  "Interpolation off": "Interpolation off",
45
44
  "JavaScript names": "JavaScript names",
46
- "Incorrect usage": "Incorrect usage"
45
+ "Incorrect usage": "Incorrect usage",
46
+ "hostLocale.text": "Current language: {language}.",
47
+ "namedLocale.text": "Explicit parameter named locale: {locale}.",
48
+ "undeclaredLocale.text": "Locale without a declared parameter: \"{locale}\"."
47
49
  },
48
50
  "bg": {
49
51
  "product.text": "Абонирани сте за {product}.",
@@ -66,7 +68,6 @@
66
68
  "undeclared.text": "Недеклариран параметър: „{customer}“.",
67
69
  "unknownFn.text": "Несъществуваща функция: „{shout(account)}“.",
68
70
  "badNamespace.text": "Несъществуващо пространство от имена: „{who}“.",
69
- "reserved.text": "Параметър със запазено име: „{locale}“.",
70
71
  "plan.Starter": "Начален",
71
72
  "plan.Team": "Екип",
72
73
  "plan.Enterprise": "Корпоративен",
@@ -89,6 +90,9 @@
89
90
  "Locale and translation": "Език и превод",
90
91
  "Interpolation off": "Без заместване",
91
92
  "JavaScript names": "JavaScript имена",
92
- "Incorrect usage": "Неправилна употреба"
93
+ "Incorrect usage": "Неправилна употреба",
94
+ "hostLocale.text": "Текущ език: {language}.",
95
+ "namedLocale.text": "Изрично зададен параметър с име locale: {locale}.",
96
+ "undeclaredLocale.text": "Език без деклариран параметър: „{locale}“."
93
97
  }
94
98
  }
@@ -147,6 +147,28 @@
147
147
  "type": "Category",
148
148
  "label": "Locale and translation",
149
149
  "elements": [
150
+ {
151
+ "type": "Label",
152
+ "i18n": "hostLocale",
153
+ "text": "Current language: {language}.",
154
+ "options": {
155
+ "interpolate": true,
156
+ "textParams": {
157
+ "language": "{locale}"
158
+ }
159
+ }
160
+ },
161
+ {
162
+ "type": "Label",
163
+ "i18n": "namedLocale",
164
+ "text": "Explicit parameter named locale: {locale}.",
165
+ "options": {
166
+ "interpolate": true,
167
+ "textParams": {
168
+ "locale": "{locale}"
169
+ }
170
+ }
171
+ },
150
172
  {
151
173
  "type": "Label",
152
174
  "i18n": "planName",
@@ -357,13 +379,10 @@
357
379
  },
358
380
  {
359
381
  "type": "Label",
360
- "i18n": "reserved",
361
- "text": "A parameter named after a reserved name: \"{locale}\".",
382
+ "i18n": "undeclaredLocale",
383
+ "text": "Locale without a declared parameter: \"{locale}\".",
362
384
  "options": {
363
- "interpolate": true,
364
- "textParams": {
365
- "locale": "{data.plan}"
366
- }
385
+ "interpolate": true
367
386
  }
368
387
  },
369
388
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chobantonov/jsonforms-extended-spec",
3
- "version": "0.3.0",
3
+ "version": "1.0.0",
4
4
  "description": "Portable JSON Forms extended UI model specification, JSON schemas and examples",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/schemas/README.md CHANGED
@@ -80,3 +80,13 @@ inventory marks the styling switch as pending verification rather than
80
80
  claiming a traced renderer implementation. Keep field-dependent `elementLabelProp`,
81
81
  `detail`, `summary` and `cells` on their controls; isolated merged-config readers
82
82
  do not establish a common global default.
83
+
84
+ ## Group child placement
85
+
86
+ Both UI profiles validate nonempty top-level child `slot` strings. Group uses
87
+ the first authored direct child for each of `cover`, `header` and `footer`.
88
+ Later matches and unknown slot names are valid and remain in the body, as if
89
+ `slot` were omitted. The schemas accept these fallback cases; determining actual
90
+ placement requires the parent semantics. All region content is under `elements`.
91
+ The removed Group-level region fields are unknown extension keys, not supported
92
+ child locations. `slot` and Template `name` are independent.
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "conditionalFields": {
61
61
  "type": "boolean",
62
- "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
62
+ "description": "Opt in to conditional object presentation on an object Control or owning VerticalLayout, HorizontalLayout, Group, Categorization, TemplateLayout, Template or Slot entry. Entry-local false overrides config. Descendant layout and Category options are ignored in both directions; this option is also ignored on other element kinds. Nested object/item and independent host form boundaries resolve independently. Filter inactive branch-only field bindings in bodies and Group regions without adding controls, pruning empty containers or deleting data. Whole-value editors retain the authored schema. Template child addresses remain reserved when inactive; known inactive slots render nothing without fallback or unknown-slot warnings."
63
63
  }
64
64
  }
65
65
  },
@@ -74,6 +74,11 @@
74
74
  "textParams": {
75
75
  "type": "object",
76
76
  "additionalProperties": true
77
+ },
78
+ "slot": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "description": "Placement in the immediate parent’s named destination, independent of name. Group assigns the first authored child for each of cover, header and footer; later matches and unrecognized names use ordinary body placement. Omission uses ordinary placement."
77
82
  }
78
83
  },
79
84
  "allOf": [
@@ -382,21 +387,6 @@
382
387
  "label": {
383
388
  "type": "string"
384
389
  },
385
- "cover": {
386
- "$ref": "#/$defs/element"
387
- },
388
- "header": {
389
- "type": "array",
390
- "items": {
391
- "$ref": "#/$defs/element"
392
- }
393
- },
394
- "footer": {
395
- "type": "array",
396
- "items": {
397
- "$ref": "#/$defs/element"
398
- }
399
- },
400
390
  "elements": {
401
391
  "type": "array",
402
392
  "items": {
@@ -1004,7 +994,7 @@
1004
994
  },
1005
995
  "conditionalFields": {
1006
996
  "type": "boolean",
1007
- "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
997
+ "description": "Opt in to conditional object presentation on an object Control or owning VerticalLayout, HorizontalLayout, Group, Categorization, TemplateLayout, Template or Slot entry. Entry-local false overrides config. Descendant layout and Category options are ignored in both directions; this option is also ignored on other element kinds. Nested object/item and independent host form boundaries resolve independently. Filter inactive branch-only field bindings in bodies and Group regions without adding controls, pruning empty containers or deleting data. Whole-value editors retain the authored schema. Template child addresses remain reserved when inactive; known inactive slots render nothing without fallback or unknown-slot warnings."
1008
998
  },
1009
999
  "choices": {
1010
1000
  "type": "array",
@@ -1659,7 +1649,7 @@
1659
1649
  "textParams": {
1660
1650
  "type": "object",
1661
1651
  "additionalProperties": true,
1662
- "description": "Named values exposed to the expressions as bare identifiers. Always in scope, unlike the data/item/config/context namespaces, which require jsonformsExtended.dynamicValues.enabled."
1652
+ "description": "Declared values exposed to text expressions as bare identifiers. Text has no implicit locale variable: declare a parameter such as language with value {locale} to expose the host locale. A parameter named locale is allowed. Parameter expressions may read host locale without the data-access gate; data/item/config/context require jsonformsExtended.dynamicValues.enabled."
1663
1653
  }
1664
1654
  }
1665
1655
  }
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "conditionalFields": {
84
84
  "type": "boolean",
85
- "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
85
+ "description": "Opt in to conditional object presentation on an object Control or owning VerticalLayout, HorizontalLayout, Group, Categorization, TemplateLayout, Template or Slot entry. Entry-local false overrides config. Descendant layout and Category options are ignored in both directions; this option is also ignored on other element kinds. Nested object/item and independent host form boundaries resolve independently. Filter inactive branch-only field bindings in bodies and Group regions without adding controls, pruning empty containers or deleting data. Whole-value editors retain the authored schema. Template child addresses remain reserved when inactive; known inactive slots render nothing without fallback or unknown-slot warnings."
86
86
  }
87
87
  }
88
88
  },
@@ -97,6 +97,11 @@
97
97
  "textParams": {
98
98
  "type": "object",
99
99
  "additionalProperties": true
100
+ },
101
+ "slot": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "description": "Placement in the immediate parent’s named destination, independent of name. Group assigns the first authored child for each of cover, header and footer; later matches and unrecognized names use ordinary body placement. Omission uses ordinary placement."
100
105
  }
101
106
  },
102
107
  "allOf": [
@@ -342,21 +347,6 @@
342
347
  "label": {
343
348
  "type": "string"
344
349
  },
345
- "cover": {
346
- "$ref": "#/$defs/element"
347
- },
348
- "header": {
349
- "type": "array",
350
- "items": {
351
- "$ref": "#/$defs/element"
352
- }
353
- },
354
- "footer": {
355
- "type": "array",
356
- "items": {
357
- "$ref": "#/$defs/element"
358
- }
359
- },
360
350
  "elements": {
361
351
  "type": "array",
362
352
  "items": {
@@ -1013,7 +1003,7 @@
1013
1003
  },
1014
1004
  "conditionalFields": {
1015
1005
  "type": "boolean",
1016
- "description": "Opt in to conditional object presentation on an object Control or object-context layout entry. Local false overrides config. The entry owns descendant layouts and Categories; nested object/item boundaries are independent. Explicit layouts filter inactive branch-only bindings and update required markers without adding controls or deleting data."
1006
+ "description": "Opt in to conditional object presentation on an object Control or owning VerticalLayout, HorizontalLayout, Group, Categorization, TemplateLayout, Template or Slot entry. Entry-local false overrides config. Descendant layout and Category options are ignored in both directions; this option is also ignored on other element kinds. Nested object/item and independent host form boundaries resolve independently. Filter inactive branch-only field bindings in bodies and Group regions without adding controls, pruning empty containers or deleting data. Whole-value editors retain the authored schema. Template child addresses remain reserved when inactive; known inactive slots render nothing without fallback or unknown-slot warnings."
1017
1007
  },
1018
1008
  "pagination": {
1019
1009
  "$ref": "#/$defs/pagination"
@@ -1146,7 +1136,7 @@
1146
1136
  },
1147
1137
  "textParamSpans": {
1148
1138
  "type": "boolean",
1149
- "description": "Overrides jsonformsExtended.markup.textParamSpans for this Label, including explicit false. Omit to inherit; otherwise defaults to false. Optional HTML styling markers; documented native or canvas no-op is permitted."
1139
+ "description": "Overrides jsonformsExtended.markup.textParamSpans for this Label, including explicit false. Omit to inherit; otherwise defaults to false. Unchecked non-boolean local values are ignored as omitted. Optional HTML styling markers for declared parameters only; documented native or canvas no-op is permitted."
1150
1140
  }
1151
1141
  }
1152
1142
  }
@@ -544,3 +544,9 @@ object boundary. Nested object and array-item boundaries resolve independently.
544
544
  Explicit layouts preserve placement and update conditional required indicators
545
545
  without generating extra controls. See the conditional-fields contract for
546
546
  ownership, validation, examples and platform support limits.
547
+
548
+ Group regions are ordinary children in `elements`, with a top-level
549
+ `slot: 'cover'`, `'header'` or `'footer'`. The typed helpers accept `slot` on
550
+ controls, labels and layouts; use `raw` for a Template whose `name` selects its
551
+ registered content independently of its `slot`. The parent resolves placement: Group uses the first authored match per region;
552
+ later matches and unrecognized names remain in the body.