@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.
- package/LICENSE +21 -0
- package/README.md +126 -2
- package/conformance/authoring.json +2680 -0
- package/conformance/behavior.json +1602 -0
- package/conformance/config-consumption.json +1542 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +122 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +233 -0
- package/docs/implementation-pitfalls.md +968 -0
- package/docs/implementation-web-typescript.md +41 -0
- package/docs/renderer-and-demo.md +1347 -0
- package/docs/renderer-selection.md +99 -0
- package/docs/spec.md +8470 -0
- package/docs/todo.md +166 -0
- package/examples/README.md +127 -0
- package/examples/additional-errors/README.md +176 -0
- package/examples/additional-errors/config.json +3 -0
- package/examples/additional-errors/data.json +11 -0
- package/examples/additional-errors/schema.json +56 -0
- package/examples/additional-errors/translations.json +64 -0
- package/examples/additional-errors/uischema.json +158 -0
- package/examples/additional-items-pagination/README.md +8 -0
- package/examples/additional-items-pagination/config.json +10 -0
- package/examples/additional-items-pagination/data.json +22 -0
- package/examples/additional-items-pagination/schema.json +30 -0
- package/examples/additional-items-pagination/translations.json +16 -0
- package/examples/additional-items-pagination/uischema.json +39 -0
- package/examples/additional-properties/README.md +203 -0
- package/examples/additional-properties/config.json +5 -0
- package/examples/additional-properties/data.json +31 -0
- package/examples/additional-properties/schema.json +78 -0
- package/examples/additional-properties/translations.json +80 -0
- package/examples/additional-properties/uischema.json +104 -0
- package/examples/ag-grid/README.md +62 -0
- package/examples/ag-grid/config.json +14 -0
- package/examples/ag-grid/data.json +124 -0
- package/examples/ag-grid/schema.json +48 -0
- package/examples/ag-grid/translations.json +58 -0
- package/examples/ag-grid/uischema.json +671 -0
- package/examples/array-choices/README.md +150 -0
- package/examples/array-choices/config.json +4 -0
- package/examples/array-choices/data.json +10 -0
- package/examples/array-choices/schema.json +68 -0
- package/examples/array-choices/translations.json +64 -0
- package/examples/array-choices/uischema.json +97 -0
- package/examples/array-controls/README.md +237 -0
- package/examples/array-controls/config.json +4 -0
- package/examples/array-controls/data.json +147 -0
- package/examples/array-controls/schema.json +374 -0
- package/examples/array-controls/translations.json +186 -0
- package/examples/array-controls/uischema.json +685 -0
- package/examples/array-detail-modes/README.md +11 -0
- package/examples/array-detail-modes/data.json +38 -0
- package/examples/array-detail-modes/schema.json +89 -0
- package/examples/array-detail-modes/translations.json +36 -0
- package/examples/array-detail-modes/uischema.json +73 -0
- package/examples/array-detail-modes/uischemas.d.mts +2 -0
- package/examples/array-detail-modes/uischemas.json +15 -0
- package/examples/boolean-controls/README.md +109 -0
- package/examples/boolean-controls/config.json +3 -0
- package/examples/boolean-controls/data.json +27 -0
- package/examples/boolean-controls/schema.json +98 -0
- package/examples/boolean-controls/translations.json +94 -0
- package/examples/boolean-controls/uischema.json +126 -0
- package/examples/button-actions/README.md +259 -0
- package/examples/button-actions/config.json +7 -0
- package/examples/button-actions/data.json +5 -0
- package/examples/button-actions/host.mjs +14 -0
- package/examples/button-actions/schema.json +20 -0
- package/examples/button-actions/translations.json +60 -0
- package/examples/button-actions/uischema.json +179 -0
- package/examples/catalog.json +634 -0
- package/examples/categorization/README.md +132 -0
- package/examples/categorization/config.json +7 -0
- package/examples/categorization/data.json +8 -0
- package/examples/categorization/schema.json +29 -0
- package/examples/categorization/translations.json +72 -0
- package/examples/categorization/uischema.json +288 -0
- package/examples/choice-controls/README.md +136 -0
- package/examples/choice-controls/config.json +10 -0
- package/examples/choice-controls/data.json +61 -0
- package/examples/choice-controls/schema.json +406 -0
- package/examples/choice-controls/translations.json +154 -0
- package/examples/choice-controls/uischema.json +575 -0
- package/examples/choice-controls/uischemas.d.mts +2 -0
- package/examples/choice-controls/uischemas.json +16 -0
- package/examples/code-editor/README.md +74 -0
- package/examples/code-editor/data.json +8 -0
- package/examples/code-editor/schema.json +28 -0
- package/examples/code-editor/translations.json +20 -0
- package/examples/code-editor/uischema.json +77 -0
- package/examples/collection-pagination/README.md +5 -0
- package/examples/collection-pagination/config.json +1 -0
- package/examples/collection-pagination/data.json +64 -0
- package/examples/collection-pagination/schema.json +23 -0
- package/examples/collection-pagination/translations.json +14 -0
- package/examples/collection-pagination/uischema.json +14 -0
- package/examples/color-control/README.md +154 -0
- package/examples/color-control/config.json +7 -0
- package/examples/color-control/data.json +11 -0
- package/examples/color-control/schema.json +61 -0
- package/examples/color-control/translations.json +76 -0
- package/examples/color-control/uischema.json +106 -0
- package/examples/combinators/README.md +223 -0
- package/examples/combinators/config.json +9 -0
- package/examples/combinators/data.json +23 -0
- package/examples/combinators/schema.json +232 -0
- package/examples/combinators/translations.json +178 -0
- package/examples/combinators/uischema.json +158 -0
- package/examples/conditional-fields/README.md +27 -0
- package/examples/conditional-fields/config.json +5 -0
- package/examples/conditional-fields/data.json +7 -0
- package/examples/conditional-fields/schema.json +59 -0
- package/examples/conditional-fields/translations.json +32 -0
- package/examples/conditional-fields/uischema.json +131 -0
- package/examples/container-validation-indicator/README.md +187 -0
- package/examples/container-validation-indicator/config.json +9 -0
- package/examples/container-validation-indicator/data.json +68 -0
- package/examples/container-validation-indicator/schema.json +222 -0
- package/examples/container-validation-indicator/translations.json +120 -0
- package/examples/container-validation-indicator/uischema.json +98 -0
- package/examples/cron-control/README.md +155 -0
- package/examples/cron-control/data.json +15 -0
- package/examples/cron-control/schema.json +72 -0
- package/examples/cron-control/translations.json +80 -0
- package/examples/cron-control/uischema.json +91 -0
- package/examples/destructive-confirmation/README.md +210 -0
- package/examples/destructive-confirmation/config.json +17 -0
- package/examples/destructive-confirmation/data.json +86 -0
- package/examples/destructive-confirmation/schema.json +204 -0
- package/examples/destructive-confirmation/translations.json +112 -0
- package/examples/destructive-confirmation/uischema.json +105 -0
- package/examples/draft-07-metaschema/README.md +11 -0
- package/examples/draft-07-metaschema/config.json +3 -0
- package/examples/draft-07-metaschema/data.json +25 -0
- package/examples/draft-07-metaschema/schema.json +172 -0
- package/examples/draft-07-metaschema/translations.json +10 -0
- package/examples/draft-07-metaschema/uischema.json +14 -0
- package/examples/dynamic-playground/README.md +95 -0
- package/examples/dynamic-playground/config.json +8 -0
- package/examples/dynamic-playground/configuration.json +152 -0
- package/examples/dynamic-playground/data.json +15 -0
- package/examples/dynamic-playground/dynamic-uischema.json +379 -0
- package/examples/dynamic-playground/host.mjs +37 -0
- package/examples/dynamic-playground/schema.json +48 -0
- package/examples/dynamic-playground/translations.json +76 -0
- package/examples/dynamic-playground/uischema.json +36 -0
- package/examples/editor-details/README.md +10 -0
- package/examples/editor-details/data.json +18 -0
- package/examples/editor-details/schema.json +49 -0
- package/examples/editor-details/translations.json +28 -0
- package/examples/editor-details/uischema.json +53 -0
- package/examples/editor-details/uischemas.d.mts +2 -0
- package/examples/editor-details/uischemas.json +14 -0
- package/examples/file-control/README.md +108 -0
- package/examples/file-control/data.json +28 -0
- package/examples/file-control/schema.json +89 -0
- package/examples/file-control/translations.json +46 -0
- package/examples/file-control/uischema.json +152 -0
- package/examples/group-layout/README.md +149 -0
- package/examples/group-layout/config.json +10 -0
- package/examples/group-layout/data.json +9 -0
- package/examples/group-layout/schema.json +51 -0
- package/examples/group-layout/translations.json +62 -0
- package/examples/group-layout/uischema.json +249 -0
- package/examples/index.d.ts +17 -0
- package/examples/index.js +69 -0
- package/examples/input-adornments/README.md +68 -0
- package/examples/input-adornments/data.json +41 -0
- package/examples/input-adornments/schema.json +207 -0
- package/examples/input-adornments/translations.json +106 -0
- package/examples/input-adornments/uischema.json +695 -0
- package/examples/job-application/README.md +23 -0
- package/examples/job-application/config.json +10 -0
- package/examples/job-application/data.json +68 -0
- package/examples/job-application/schema.json +196 -0
- package/examples/job-application/translations.json +388 -0
- package/examples/job-application/uischema.json +218 -0
- package/examples/job-application/uischemas.json +153 -0
- package/examples/json-editor/README.md +28 -0
- package/examples/json-editor/schema.json +1 -0
- package/examples/json-editor/translations.json +10 -0
- package/examples/json-editor/uischema.json +16 -0
- package/examples/json-inference/README.md +33 -0
- package/examples/json-inference/translations.json +10 -0
- package/examples/json-inference/uischema.json +16 -0
- package/examples/kitchen-sink/README.md +86 -0
- package/examples/kitchen-sink/config.json +14 -0
- package/examples/kitchen-sink/data.json +263 -0
- package/examples/kitchen-sink/invalid-data.json +263 -0
- package/examples/kitchen-sink/schema.json +515 -0
- package/examples/kitchen-sink/translations.json +270 -0
- package/examples/kitchen-sink/uischema.json +722 -0
- package/examples/label-interpolation/README.md +241 -0
- package/examples/label-interpolation/config.json +14 -0
- package/examples/label-interpolation/data.json +13 -0
- package/examples/label-interpolation/schema.json +64 -0
- package/examples/label-interpolation/translations.json +94 -0
- package/examples/label-interpolation/uischema.json +379 -0
- package/examples/layout-sizing/README.md +162 -0
- package/examples/layout-sizing/config.json +10 -0
- package/examples/layout-sizing/data.json +14 -0
- package/examples/layout-sizing/schema.json +58 -0
- package/examples/layout-sizing/translations.json +42 -0
- package/examples/layout-sizing/uischema.json +558 -0
- package/examples/markup-label/README.md +109 -0
- package/examples/markup-label/config.json +16 -0
- package/examples/markup-label/data.json +5 -0
- package/examples/markup-label/schema.json +24 -0
- package/examples/markup-label/translations.json +40 -0
- package/examples/markup-label/uischema.json +149 -0
- package/examples/mixed-control/README.md +164 -0
- package/examples/mixed-control/config.json +11 -0
- package/examples/mixed-control/data.json +70 -0
- package/examples/mixed-control/schema.json +221 -0
- package/examples/mixed-control/translations.json +158 -0
- package/examples/mixed-control/uischema.json +211 -0
- package/examples/null-control/README.md +111 -0
- package/examples/null-control/config.json +4 -0
- package/examples/null-control/data.json +6 -0
- package/examples/null-control/schema.json +36 -0
- package/examples/null-control/translations.json +42 -0
- package/examples/null-control/uischema.json +56 -0
- package/examples/numeric-controls/README.md +94 -0
- package/examples/numeric-controls/config.json +4 -0
- package/examples/numeric-controls/data.json +8 -0
- package/examples/numeric-controls/schema.json +52 -0
- package/examples/numeric-controls/translations.json +56 -0
- package/examples/numeric-controls/uischema.json +77 -0
- package/examples/object-control/README.md +220 -0
- package/examples/object-control/config.json +4 -0
- package/examples/object-control/data.json +62 -0
- package/examples/object-control/schema.json +252 -0
- package/examples/object-control/translations.json +160 -0
- package/examples/object-control/uischema.json +275 -0
- package/examples/object-control/uischemas.d.mts +2 -0
- package/examples/object-control/uischemas.json +59 -0
- package/examples/password-control/README.md +119 -0
- package/examples/password-control/config.json +3 -0
- package/examples/password-control/data.json +18 -0
- package/examples/password-control/schema.json +65 -0
- package/examples/password-control/translations.json +64 -0
- package/examples/password-control/uischema.json +94 -0
- package/examples/pre-touch-errors/README.md +176 -0
- package/examples/pre-touch-errors/config.json +4 -0
- package/examples/pre-touch-errors/data.json +5 -0
- package/examples/pre-touch-errors/schema.json +56 -0
- package/examples/pre-touch-errors/translations.json +68 -0
- package/examples/pre-touch-errors/uischema.json +85 -0
- package/examples/presentation/README.md +148 -0
- package/examples/presentation/config.json +9 -0
- package/examples/presentation/data.json +6 -0
- package/examples/presentation/schema.json +21 -0
- package/examples/presentation/translations.json +64 -0
- package/examples/presentation/uischema.json +210 -0
- package/examples/property-pagination/README.md +5 -0
- package/examples/property-pagination/config.json +1 -0
- package/examples/property-pagination/data.json +17 -0
- package/examples/property-pagination/schema.json +14 -0
- package/examples/property-pagination/translations.json +10 -0
- package/examples/property-pagination/uischema.json +24 -0
- package/examples/recursive-tree/README.md +49 -0
- package/examples/recursive-tree/config.json +1 -0
- package/examples/recursive-tree/data.json +40 -0
- package/examples/recursive-tree/schema.json +89 -0
- package/examples/recursive-tree/translations.json +42 -0
- package/examples/recursive-tree/uischema.json +84 -0
- package/examples/recursive-tree/uischemas.d.mts +2 -0
- package/examples/recursive-tree/uischemas.json +51 -0
- package/examples/split-layout/README.md +123 -0
- package/examples/split-layout/config.json +3 -0
- package/examples/split-layout/data.json +13 -0
- package/examples/split-layout/schema.json +50 -0
- package/examples/split-layout/translations.json +50 -0
- package/examples/split-layout/uischema.json +204 -0
- package/examples/string-controls/README.md +159 -0
- package/examples/string-controls/config.json +5 -0
- package/examples/string-controls/data.json +13 -0
- package/examples/string-controls/schema.json +70 -0
- package/examples/string-controls/translations.json +76 -0
- package/examples/string-controls/uischema.json +148 -0
- package/examples/table-row-details/README.md +69 -0
- package/examples/table-row-details/config.json +7 -0
- package/examples/table-row-details/data.json +280 -0
- package/examples/table-row-details/schema.json +61 -0
- package/examples/table-row-details/translations.json +56 -0
- package/examples/table-row-details/uischema.json +1303 -0
- package/examples/template-layout/README.md +250 -0
- package/examples/template-layout/config.json +9 -0
- package/examples/template-layout/data.json +20 -0
- package/examples/template-layout/host.mjs +13 -0
- package/examples/template-layout/schema.json +48 -0
- package/examples/template-layout/translations.json +70 -0
- package/examples/template-layout/uischema.json +177 -0
- package/examples/template-slots/README.md +19 -0
- package/examples/template-slots/data.json +4 -0
- package/examples/template-slots/schema.json +11 -0
- package/examples/template-slots/translations.json +26 -0
- package/examples/template-slots/uischema.json +47 -0
- package/examples/template-slots/uischemas.d.mts +2 -0
- package/examples/template-slots/uischemas.json +56 -0
- package/examples/temporal-controls/README.md +325 -0
- package/examples/temporal-controls/data.json +44 -0
- package/examples/temporal-controls/schema.json +208 -0
- package/examples/temporal-controls/translations.json +156 -0
- package/examples/temporal-controls/uischema.json +297 -0
- package/examples/tree-max-depth/README.md +5 -0
- package/examples/tree-max-depth/config.json +3 -0
- package/examples/tree-max-depth/data.json +31 -0
- package/examples/tree-max-depth/schema.json +258 -0
- package/examples/tree-max-depth/translations.json +42 -0
- package/examples/tree-max-depth/uischema.json +16 -0
- package/examples/tree-max-depth/uischemas.d.mts +2 -0
- package/examples/tree-max-depth/uischemas.json +50 -0
- package/examples/tuple-control/README.md +335 -0
- package/examples/tuple-control/config.json +4 -0
- package/examples/tuple-control/data.json +61 -0
- package/examples/tuple-control/schema.json +218 -0
- package/examples/tuple-control/translations.json +142 -0
- package/examples/tuple-control/uischema.json +128 -0
- package/examples/tuple-control/uischemas.d.mts +2 -0
- package/examples/tuple-control/uischemas.json +125 -0
- package/examples/validator-profile/README.md +197 -0
- package/examples/validator-profile/config.json +9 -0
- package/examples/validator-profile/data.json +16 -0
- package/examples/validator-profile/schema.json +139 -0
- package/examples/validator-profile/translations.json +34 -0
- package/examples/validator-profile/uischema.json +59 -0
- package/package.json +83 -3
- package/provenance.json +140 -0
- package/schemas/README.md +82 -0
- package/schemas/example.schema.json +37 -0
- package/schemas/jsonforms-config.schema.json +427 -0
- package/schemas/jsonforms-dynamic-uischema.schema.json +220 -0
- package/schemas/jsonforms-extended-config.schema.json +332 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1932 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1434 -0
- package/typescript/README.md +546 -0
- package/typescript/lib/authoring/cssLength.d.ts +33 -0
- package/typescript/lib/authoring/cssLength.js +25 -0
- package/typescript/lib/authoring/dynamic.d.ts +73 -0
- package/typescript/lib/authoring/dynamic.js +8 -0
- package/typescript/lib/authoring/forSchema.d.ts +385 -0
- package/typescript/lib/authoring/forSchema.js +84 -0
- package/typescript/lib/authoring/schemaTypes.d.ts +111 -0
- package/typescript/lib/authoring/schemaTypes.js +15 -0
- package/typescript/lib/index.d.ts +4 -0
- package/typescript/lib/index.js +20 -0
- package/typescript/package.json +1 -0
- package/typescript/src/authoring/cssLength.ts +79 -0
- package/typescript/src/authoring/dynamic.ts +96 -0
- package/typescript/src/authoring/forSchema.ts +428 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +638 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +151 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +178 -0
- package/typescript/test/typedAuthoringCssLength.test.ts +81 -0
- package/typescript/test/typedAuthoringNames.test.ts +90 -0
- package/typescript/test/typedDynamic.test.ts +88 -0
- package/typescript/tsconfig.json +15 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"options": {
|
|
4
|
+
"gap": "1rem"
|
|
5
|
+
},
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Label",
|
|
9
|
+
"i18n": "intro"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "Categorization",
|
|
13
|
+
"elements": [
|
|
14
|
+
{
|
|
15
|
+
"type": "Category",
|
|
16
|
+
"name": "server",
|
|
17
|
+
"i18n": "serverTab",
|
|
18
|
+
"label": "From the server",
|
|
19
|
+
"elements": [
|
|
20
|
+
{
|
|
21
|
+
"type": "Label",
|
|
22
|
+
"i18n": "server"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "HorizontalLayout",
|
|
26
|
+
"options": {
|
|
27
|
+
"gap": "0.5rem"
|
|
28
|
+
},
|
|
29
|
+
"elements": [
|
|
30
|
+
{
|
|
31
|
+
"type": "Button",
|
|
32
|
+
"label": "Submit (rejected)",
|
|
33
|
+
"color": "primary",
|
|
34
|
+
"action": "reportServer",
|
|
35
|
+
"params": {
|
|
36
|
+
"errors": [
|
|
37
|
+
{
|
|
38
|
+
"instancePath": "/contact/email",
|
|
39
|
+
"schemaPath": "",
|
|
40
|
+
"keyword": "server",
|
|
41
|
+
"message": "That address is already registered.",
|
|
42
|
+
"params": {}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"instancePath": "/contact/phone",
|
|
46
|
+
"schemaPath": "",
|
|
47
|
+
"keyword": "server",
|
|
48
|
+
"message": "We could not reach this number.",
|
|
49
|
+
"params": {}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "Button",
|
|
56
|
+
"label": "Clear them",
|
|
57
|
+
"color": "secondary",
|
|
58
|
+
"action": "clearServer"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "Control",
|
|
64
|
+
"scope": "#/properties/contact"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "Label",
|
|
68
|
+
"i18n": "serverClear"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "Category",
|
|
74
|
+
"name": "reported",
|
|
75
|
+
"i18n": "reportedTab",
|
|
76
|
+
"label": "Reported",
|
|
77
|
+
"elements": [
|
|
78
|
+
{
|
|
79
|
+
"type": "Label",
|
|
80
|
+
"i18n": "reported"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "Control",
|
|
84
|
+
"scope": "#/properties/policy",
|
|
85
|
+
"options": {
|
|
86
|
+
"format": "code",
|
|
87
|
+
"language": "json",
|
|
88
|
+
"propagateErrors": true,
|
|
89
|
+
"monaco": {
|
|
90
|
+
"rows": 8
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "Label",
|
|
96
|
+
"i18n": "compare"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "Control",
|
|
100
|
+
"scope": "#/properties/summary"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "Category",
|
|
106
|
+
"name": "quiet",
|
|
107
|
+
"i18n": "quietTab",
|
|
108
|
+
"label": "Not reported",
|
|
109
|
+
"elements": [
|
|
110
|
+
{
|
|
111
|
+
"type": "Label",
|
|
112
|
+
"i18n": "quiet"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "Control",
|
|
116
|
+
"scope": "#/properties/quiet",
|
|
117
|
+
"options": {
|
|
118
|
+
"format": "code",
|
|
119
|
+
"language": "json",
|
|
120
|
+
"monaco": {
|
|
121
|
+
"rows": 8
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "Category",
|
|
129
|
+
"name": "language",
|
|
130
|
+
"i18n": "languageTab",
|
|
131
|
+
"label": "Language",
|
|
132
|
+
"elements": [
|
|
133
|
+
{
|
|
134
|
+
"type": "Label",
|
|
135
|
+
"i18n": "language"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "Control",
|
|
139
|
+
"scope": "#/properties/language"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "Control",
|
|
143
|
+
"scope": "#/properties/snippet",
|
|
144
|
+
"options": {
|
|
145
|
+
"format": "code",
|
|
146
|
+
":language": "language",
|
|
147
|
+
"propagateErrors": true,
|
|
148
|
+
"monaco": {
|
|
149
|
+
"rows": 8
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Additional items pagination: shipping
|
|
2
|
+
|
|
3
|
+
The shipment reference is a fixed tuple position. Twelve trailing package labels use local pagination: true, overriding the scoped config false and showing five per page. The second shipment inherits false. Remove the config to see pagination enabled by default; replace true with {"pageSize": 10} to customize the size. Add reveals the new package; delete on the last page reconciles the page without changing the fixed reference.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Feature navigation
|
|
7
|
+
|
|
8
|
+
Explore one feature at a time using the tabs: **Paginated items**, **Unpaginated items**. Tab titles are localized in English and Bulgarian. The tabs share the existing form data.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest": [
|
|
3
|
+
"SHIP-104",
|
|
4
|
+
"Package 01",
|
|
5
|
+
"Package 02",
|
|
6
|
+
"Package 03",
|
|
7
|
+
"Package 04",
|
|
8
|
+
"Package 05",
|
|
9
|
+
"Package 06",
|
|
10
|
+
"Package 07",
|
|
11
|
+
"Package 08",
|
|
12
|
+
"Package 09",
|
|
13
|
+
"Package 10",
|
|
14
|
+
"Package 11",
|
|
15
|
+
"Package 12"
|
|
16
|
+
],
|
|
17
|
+
"allPackages": [
|
|
18
|
+
"SHIP-105",
|
|
19
|
+
"Small crate",
|
|
20
|
+
"Large crate"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"manifest": {
|
|
5
|
+
"type": "array",
|
|
6
|
+
"items": [
|
|
7
|
+
{
|
|
8
|
+
"type": "string",
|
|
9
|
+
"title": "Shipment reference"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"additionalItems": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"minItems": 1
|
|
16
|
+
},
|
|
17
|
+
"allPackages": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "Shipment reference"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"additionalItems": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"featureNavigation.section1.label": "Paginated items",
|
|
4
|
+
"featureNavigation.section2.label": "Unpaginated items",
|
|
5
|
+
"shipment.reference.label": "Shipment reference",
|
|
6
|
+
"shipment.0.label": "Paginated shipment",
|
|
7
|
+
"shipment.1.label": "Unpaginated shipment (config default)"
|
|
8
|
+
},
|
|
9
|
+
"bg": {
|
|
10
|
+
"featureNavigation.section1.label": "Елементи със страници",
|
|
11
|
+
"featureNavigation.section2.label": "Елементи без страници",
|
|
12
|
+
"shipment.reference.label": "Номер на пратката",
|
|
13
|
+
"shipment.0.label": "Пратка със страници",
|
|
14
|
+
"shipment.1.label": "Пратка без страници (настройка по подразбиране)"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Categorization",
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Category",
|
|
9
|
+
"label": "Paginated items",
|
|
10
|
+
"i18n": "featureNavigation.section1",
|
|
11
|
+
"elements": [
|
|
12
|
+
{
|
|
13
|
+
"type": "Control",
|
|
14
|
+
"scope": "#/properties/manifest",
|
|
15
|
+
"label": "Paginated shipment",
|
|
16
|
+
"options": {
|
|
17
|
+
"additionalItems": {
|
|
18
|
+
"pagination": true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "Category",
|
|
26
|
+
"label": "Unpaginated items",
|
|
27
|
+
"i18n": "featureNavigation.section2",
|
|
28
|
+
"elements": [
|
|
29
|
+
{
|
|
30
|
+
"type": "Control",
|
|
31
|
+
"scope": "#/properties/allPackages",
|
|
32
|
+
"label": "Unpaginated shipment (config default)"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# Example: additional properties
|
|
2
|
+
|
|
3
|
+
**Example ID:** `additional-properties`\
|
|
4
|
+
**Demo entry:** **Spec: Additional properties** (`#spec-additional-properties`)\
|
|
5
|
+
**Domain:** inventory metadata\
|
|
6
|
+
**Specs covered:**
|
|
7
|
+
|
|
8
|
+
- [Additional (dynamic) properties](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
9
|
+
- [Empty property name policy](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
10
|
+
- [Empty-name presentation, and empty add-name draft feedback](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
11
|
+
- [Literal-key editing](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
12
|
+
- [Honest rendering of invalid data](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
13
|
+
- [Dynamic property names](../../docs/spec.md#1816-object-controls-and-dynamic-properties)
|
|
14
|
+
|
|
15
|
+
Five objects whose keys are data rather than schema, plus an object combining
|
|
16
|
+
static fields and dynamic properties. The point of the example is
|
|
17
|
+
that **a key is a value too**: what it may be called, whether it can be reached
|
|
18
|
+
by a data path, and whether it can be renamed or deleted are all separate
|
|
19
|
+
questions, and they have different answers.
|
|
20
|
+
|
|
21
|
+
## Files
|
|
22
|
+
|
|
23
|
+
| File | Role |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| `schema.json` | Five dynamic-property objects: free-form, `propertyNames`-constrained, `patternProperties` with `additionalProperties: false`, imported keys, and one with `minProperties`. |
|
|
26
|
+
| `uischema.json` | `allowEmptyPropertyNames` on one control and explicitly `false` on another, over a global `true`. |
|
|
27
|
+
| `data.json` | Keys that used to be impossible: brackets, digits, an empty name, surrounding whitespace, a dot and a slash. One key violates its `propertyNames`. |
|
|
28
|
+
| `config.json` | `showUnfocusedDescription`, `restrict`, and a global `allowEmptyPropertyNames: true`, all top level. |
|
|
29
|
+
| `translations.json` | English and Bulgarian, including the three name-refusal messages. |
|
|
30
|
+
|
|
31
|
+
No `uischemas.json`: nothing here needs a registered detail form.
|
|
32
|
+
|
|
33
|
+
## What the form contains
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
Inventory metadata
|
|
37
|
+
Inventory labels allowEmptyPropertyNames: true -> 5 keys, incl. "" and " spaced "
|
|
38
|
+
Telemetry readings propertyNames: pattern+minLength -> "sensor-x" is too short (invalid)
|
|
39
|
+
Supplier headers additionalProperties: false -> only x-supplier- / x-trace-
|
|
40
|
+
---
|
|
41
|
+
Imported annotations free-form -> "legacy.key", "notes/1"
|
|
42
|
+
---
|
|
43
|
+
Required quota minProperties: 2, option false -> Delete disabled under restrict
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Validation state
|
|
47
|
+
|
|
48
|
+
Validated with Ajv (`allErrors`, `strict: false`), the supplied data produces
|
|
49
|
+
two errors — **both from one violation**:
|
|
50
|
+
|
|
51
|
+
| Instance path | Keyword | Message |
|
|
52
|
+
| --- | --- | --- |
|
|
53
|
+
| `/telemetry` | `minLength` | must NOT have fewer than 9 characters |
|
|
54
|
+
| `/telemetry` | `propertyNames` | property name must be valid |
|
|
55
|
+
|
|
56
|
+
`sensor-x` is eight characters and `propertyNames` requires nine. Ajv reports
|
|
57
|
+
the inner failure and the wrapping keyword separately, which is why one bad key
|
|
58
|
+
produces two entries. The key stays visible and editable — §19 — and renaming it
|
|
59
|
+
to something nine characters or longer clears both.
|
|
60
|
+
|
|
61
|
+
Note that the errors are attached to `/telemetry`, the **object**, not to a path
|
|
62
|
+
for the offending key. A key has no data path of its own, so there is nowhere
|
|
63
|
+
else to put them.
|
|
64
|
+
|
|
65
|
+
## Expected behaviour
|
|
66
|
+
|
|
67
|
+
### What a key may be called
|
|
68
|
+
|
|
69
|
+
**Inventory labels already holds keys that used to be rejected.** `items[0]` is
|
|
70
|
+
one key, not an index into an array. `2024` is an object key, not an array
|
|
71
|
+
position. Both work because core 3.9 stopped using lodash's path grammar in the
|
|
72
|
+
reducer; before that they were written to the wrong place. See
|
|
73
|
+
[14](../../docs/spec.md#1816-object-controls-and-dynamic-properties).
|
|
74
|
+
|
|
75
|
+
**Type `sdf.sdf` into any Add box.** It is accepted, and it becomes **one key
|
|
76
|
+
called `sdf.sdf`** — not a nested `{ "sdf": { "sdf": … } }`. A dot cannot be
|
|
77
|
+
addressed by a data path, but that is a reason to edit the property differently,
|
|
78
|
+
not a reason to refuse it: the value gets a form of its own, exactly as the
|
|
79
|
+
empty-named one does.
|
|
80
|
+
|
|
81
|
+
**` spaced ` keeps its spaces.** Names are stored exactly as typed; trimming
|
|
82
|
+
is only used to decide whether a name counts as blank. Add a property called
|
|
83
|
+
` two ` and read the Data tab.
|
|
84
|
+
|
|
85
|
+
### Empty names
|
|
86
|
+
|
|
87
|
+
**Inventory labels permits an empty key**, and one is already there. Its label is
|
|
88
|
+
**visually blank** — not the literal `""` — and Rename and Delete still sit
|
|
89
|
+
above its value, exactly like every other property.
|
|
90
|
+
|
|
91
|
+
**Edit the empty-named property's value.** It works, and the object around it is
|
|
92
|
+
untouched. This is not an ordinary delegated control: an empty path segment
|
|
93
|
+
composes away to the parent's own path, so a control dispatched there would edit
|
|
94
|
+
the whole `labels` object. It is edited in an **isolated form** rooted at that
|
|
95
|
+
value instead, and written back under its exact key. The same applies to
|
|
96
|
+
`legacy.key` in Imported annotations.
|
|
97
|
+
|
|
98
|
+
That isolated form has its own root schema, so a local `$ref` inside the
|
|
99
|
+
property's schema would stop resolving. The schema is **rebundled** for it: the
|
|
100
|
+
original document travels along under `definitions.__jsonforms_root` and local
|
|
101
|
+
references are rewritten to point into it. Nothing in this example needs it, but
|
|
102
|
+
a schema with shared definitions would.
|
|
103
|
+
|
|
104
|
+
**Clear the Add-property name box and look for an error.** There is none, even
|
|
105
|
+
though an empty key already exists and adding a second would collide. the renderer contract: an
|
|
106
|
+
exactly empty draft "must not show inline name-validation errors on initial load
|
|
107
|
+
or after it is cleared or reset". The Add button is still disabled, because
|
|
108
|
+
suppressing the message must not suppress the judgement.
|
|
109
|
+
|
|
110
|
+
**Required quota has the option explicitly off**, over a global `true` in
|
|
111
|
+
`config.json`. Its Add button stays disabled on an empty name. the renderer contract requires an
|
|
112
|
+
element option to override config "including `false` overriding `true`", which a
|
|
113
|
+
truthiness merge would silently get wrong.
|
|
114
|
+
|
|
115
|
+
**Use the demo's own switch to see both halves.** The settings panel carries
|
|
116
|
+
**Allow Empty Property Names**, which writes the global config option. It reads
|
|
117
|
+
as *on* when this example loads, because the example's `config.json` sets it;
|
|
118
|
+
turn it off and Inventory labels stops accepting an empty name while Required
|
|
119
|
+
quota is unaffected either way — the control's own option has the last word.
|
|
120
|
+
|
|
121
|
+
### What the schema admits
|
|
122
|
+
|
|
123
|
+
**Telemetry applies the whole of `propertyNames`.** Try `sensor-a`: refused,
|
|
124
|
+
because it is eight characters and `minLength` is nine. `sensor-deck-b` is
|
|
125
|
+
accepted. A pattern-only check would have taken both.
|
|
126
|
+
|
|
127
|
+
**Supplier headers admits only what its patterns claim.** `additionalProperties`
|
|
128
|
+
is `false`, so a name must match `^x-supplier-` or `^x-trace-`; `x-other-id` is
|
|
129
|
+
refused.
|
|
130
|
+
|
|
131
|
+
**Type `__proto__` into an Add box.** It is accepted and becomes an ordinary
|
|
132
|
+
own property; the containing object's prototype is untouched. It is not in the
|
|
133
|
+
fixture, and that is itself worth knowing: a quoted `__proto__` survives
|
|
134
|
+
`JSON.parse`, but the bundler compiles a JSON module into an **object literal**,
|
|
135
|
+
where `{"__proto__": v}` sets the prototype rather than creating a key — so the
|
|
136
|
+
property would silently vanish from the example before the form ever saw it.
|
|
137
|
+
|
|
138
|
+
**Imported annotations holds `notes/1`.** A slash is an ordinary character in a
|
|
139
|
+
key; it only needs escaping when a JSON Pointer is built from it, not when the
|
|
140
|
+
key is stored.
|
|
141
|
+
|
|
142
|
+
### Removal
|
|
143
|
+
|
|
144
|
+
**Required quota has two entries and `minProperties: 2`** with `restrict` on, so
|
|
145
|
+
both Delete buttons are disabled. Switch `restrict` off in the Config tab and
|
|
146
|
+
they become available, with the validator reporting the shortfall instead.
|
|
147
|
+
|
|
148
|
+
### Localization
|
|
149
|
+
|
|
150
|
+
**Switch the demo to Bulgarian.** The section heading, the placeholder, the
|
|
151
|
+
Add/Rename/Delete names and all three refusal messages translate. The keys
|
|
152
|
+
themselves do not: they are data.
|
|
153
|
+
|
|
154
|
+
## Fallback behaviour
|
|
155
|
+
|
|
156
|
+
| Situation | Result |
|
|
157
|
+
| --- | --- |
|
|
158
|
+
| No `allowEmptyPropertyNames` anywhere | Empty and whitespace-only names are refused. |
|
|
159
|
+
| Config `true`, element absent | Permitted — config supplies the default. |
|
|
160
|
+
| Config `true`, element `false` | Refused. The explicit element option wins. |
|
|
161
|
+
| A name containing `.` | Accepted, and edited through an isolated form. It is one key, not a nested path. |
|
|
162
|
+
| An empty or dotted key, however it arrived | Kept, shown, and editable through an isolated form; renaming and deleting work normally. |
|
|
163
|
+
| `propertyNames` present | Applied in full. It does **not** imply `allowEmptyPropertyNames`. |
|
|
164
|
+
| No validator available to the control | Only the `pattern` constraints are checked — a documented reduction, not a skip. |
|
|
165
|
+
| `additionalProperties: false` with no `patternProperties` | No name is admissible; Add stays disabled. |
|
|
166
|
+
|
|
167
|
+
## Conformance scope
|
|
168
|
+
|
|
169
|
+
This walkthrough describes the portable contract. Renderer support must be checked
|
|
170
|
+
by a host adapter; the package validates the authored assets, not live UI behavior.
|
|
171
|
+
|
|
172
|
+
## Standalone host setup
|
|
173
|
+
|
|
174
|
+
Load the JSON assets listed in [the catalog](../catalog.json) into a host
|
|
175
|
+
with the relevant renderer capabilities. No framework registration module is
|
|
176
|
+
required by this package.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
## Feature navigation
|
|
180
|
+
|
|
181
|
+
Explore one feature at a time using the tabs: **Dynamic properties**, **Imported keys**, **Option overrides**. Tab titles are localized in English and Bulgarian. The tabs share the existing form data.
|
|
182
|
+
|
|
183
|
+
## Static and dynamic properties
|
|
184
|
+
|
|
185
|
+
The **Static and dynamic properties** tab shows **Inventory details** with schema-defined
|
|
186
|
+
Reference and Quantity fields, followed by editable Warehouse and Handling keys
|
|
187
|
+
in Additional Properties. Both sections belong inside the same object boundary.
|
|
188
|
+
Static fields must not appear again in the dynamic list.
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## Proposed acceptance cases for clearing values
|
|
192
|
+
|
|
193
|
+
In a host using the real renderer registry, load an object with an additional
|
|
194
|
+
string property whose schema defines a nonempty default. Activate the field
|
|
195
|
+
clear button, then repeat by deleting all text. Verify that the exact key has
|
|
196
|
+
the empty string value, its editor stays mounted, and the user can enter a new
|
|
197
|
+
value. Verify that explicit Delete removes the key and row. Repeat with an empty
|
|
198
|
+
key and a dotted key through the host's literal-key editor.
|
|
199
|
+
|
|
200
|
+
For an additional property containing an object with a declared string field,
|
|
201
|
+
clear that nested field and verify its normal absence semantics while its
|
|
202
|
+
additional-property parent and row remain present. These are proposed host
|
|
203
|
+
acceptance cases, not executable tests in this specification package.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"labels": {
|
|
3
|
+
"destination": "Portland",
|
|
4
|
+
"items[0]": "crate",
|
|
5
|
+
"2024": "season",
|
|
6
|
+
"": "unnamed label",
|
|
7
|
+
" spaced ": "kept exactly"
|
|
8
|
+
},
|
|
9
|
+
"telemetry": {
|
|
10
|
+
"sensor-deck-a": 4.5,
|
|
11
|
+
"sensor-x": 9.1
|
|
12
|
+
},
|
|
13
|
+
"headers": {
|
|
14
|
+
"x-supplier-id": "CAS-1",
|
|
15
|
+
"x-trace-id": "b17f"
|
|
16
|
+
},
|
|
17
|
+
"annotations": {
|
|
18
|
+
"legacy.key": "written by the old project system",
|
|
19
|
+
"notes/1": "a slash is an ordinary character in a key"
|
|
20
|
+
},
|
|
21
|
+
"quota": {
|
|
22
|
+
"weekly": 40,
|
|
23
|
+
"daily": 8
|
|
24
|
+
},
|
|
25
|
+
"inventory": {
|
|
26
|
+
"reference": "INV-204",
|
|
27
|
+
"quantity": 12,
|
|
28
|
+
"warehouse": "Portland",
|
|
29
|
+
"handling": "Keep dry"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"labels": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Inventory labels",
|
|
7
|
+
"description": "Free-form key/value labels attached to the inventory.",
|
|
8
|
+
"additionalProperties": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"maxProperties": 8
|
|
12
|
+
},
|
|
13
|
+
"telemetry": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"title": "Telemetry readings",
|
|
16
|
+
"description": "Sensor identifiers are constrained by propertyNames.",
|
|
17
|
+
"additionalProperties": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"propertyNames": {
|
|
21
|
+
"pattern": "^sensor-",
|
|
22
|
+
"minLength": 9
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"headers": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"title": "Supplier headers",
|
|
28
|
+
"description": "Only the names the patterns admit; nothing else is allowed.",
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"patternProperties": {
|
|
31
|
+
"^x-supplier-": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"^x-trace-": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"annotations": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"title": "Imported annotations",
|
|
42
|
+
"description": "Keys as the upstream system wrote them.",
|
|
43
|
+
"additionalProperties": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"quota": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"title": "Required quota entries",
|
|
50
|
+
"description": "minProperties keeps at least two entries under restrict.",
|
|
51
|
+
"additionalProperties": {
|
|
52
|
+
"type": "integer"
|
|
53
|
+
},
|
|
54
|
+
"minProperties": 2
|
|
55
|
+
},
|
|
56
|
+
"inventory": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"title": "Inventory details",
|
|
59
|
+
"properties": {
|
|
60
|
+
"reference": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"title": "Reference"
|
|
63
|
+
},
|
|
64
|
+
"quantity": {
|
|
65
|
+
"type": "integer",
|
|
66
|
+
"title": "Quantity",
|
|
67
|
+
"minimum": 0
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"reference"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|