@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +126 -2
- package/conformance/authoring.json +2169 -0
- package/conformance/behavior.json +731 -0
- package/conformance/config-consumption.json +1531 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +80 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +180 -0
- package/docs/implementation-pitfalls.md +802 -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 +8321 -0
- package/docs/todo.md +149 -0
- package/examples/README.md +121 -0
- package/examples/additional-errors/README.md +169 -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 +188 -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 +151 -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 +19 -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 +30 -0
- package/examples/conditional-fields/uischema.json +71 -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 +200 -0
- package/examples/label-interpolation/config.json +8 -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 +375 -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 +77 -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 +327 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1923 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1421 -0
- package/typescript/README.md +540 -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 +376 -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 +419 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +626 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +140 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +145 -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,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"error.required": "Choose an appointment date.",
|
|
4
|
+
"error.pattern": "Use a year and month, such as 2027-01.",
|
|
5
|
+
"control.clearValue": "Clear value",
|
|
6
|
+
"schemaBased.weeks.label": "Support period (weeks, no action bar)",
|
|
7
|
+
"specTemporalControls.schema.properties.schemaBased.label": "Selected by the schema",
|
|
8
|
+
"specTemporalControls.schema.properties.schemaBased.properties.date.label": "Appointment date",
|
|
9
|
+
"specTemporalControls.schema.properties.schemaBased.properties.date.description": "format: date. Validated as a calendar date.",
|
|
10
|
+
"specTemporalControls.schema.properties.schemaBased.properties.time.label": "Start time",
|
|
11
|
+
"specTemporalControls.schema.properties.schemaBased.properties.time.description": "format: time. RFC 3339 requires seconds and an offset.",
|
|
12
|
+
"specTemporalControls.schema.properties.schemaBased.properties.datetime.label": "Send reminder at",
|
|
13
|
+
"specTemporalControls.schema.properties.schemaBased.properties.datetime.description": "format: date-time.",
|
|
14
|
+
"specTemporalControls.schema.properties.schemaBased.properties.duration.label": "Session length",
|
|
15
|
+
"specTemporalControls.schema.properties.schemaBased.properties.duration.description": "format: duration. An ISO 8601 period.",
|
|
16
|
+
"specTemporalControls.schema.properties.schemaBased.properties.timeWithSeconds.label": "Start time, to the second",
|
|
17
|
+
"specTemporalControls.schema.properties.schemaBased.properties.timeWithSeconds.description": "The same format keyword, with seconds on screen.",
|
|
18
|
+
"specTemporalControls.schema.properties.schemaBased.properties.weeks.label": "Support period",
|
|
19
|
+
"specTemporalControls.schema.properties.uiSchemaBased.label": "Selected by the UI schema",
|
|
20
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.month.label": "Renewal month",
|
|
21
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.month.description": "A plain string. Only `pattern` validates it.",
|
|
22
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.time.label": "Opening time",
|
|
23
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.time.description": "A plain string shown on a twelve-hour clock.",
|
|
24
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetime.label": "Published at",
|
|
25
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetime.description": "A plain string stored in a house format.",
|
|
26
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.timeSeconds.label": "Opening time, to the second",
|
|
27
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.timeSeconds.description": "A plain string storing HH:mm:ss.",
|
|
28
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetimeSeconds.label": "Published at, to the second",
|
|
29
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetimeSeconds.description": "A plain string storing seconds in a house format.",
|
|
30
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.coarseTime.label": "Collection window",
|
|
31
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.coarseTime.description": "Stores seconds, but is chosen to the minute. `views` and the save format are independent.",
|
|
32
|
+
"specTemporalControls.schema.properties.bounded.label": "Restricting the range",
|
|
33
|
+
"specTemporalControls.schema.properties.bounded.properties.bookingDate.label": "Booking date",
|
|
34
|
+
"specTemporalControls.schema.properties.bounded.properties.notBefore.label": "Strictly after 19 October",
|
|
35
|
+
"specTemporalControls.schema.properties.bounded.properties.officeHours.label": "Within office hours",
|
|
36
|
+
"specTemporalControls.schema.properties.bounded.properties.slot.label": "Appointment slot",
|
|
37
|
+
"specTemporalControls.schema.properties.bounded.properties.unrestricted.label": "Same bounds, restrict off",
|
|
38
|
+
"specTemporalControls.schema.properties.composed.label": "In other structures",
|
|
39
|
+
"specTemporalControls.schema.properties.composed.properties.bookingPeriod.label": "Booking period",
|
|
40
|
+
"specTemporalControls.schema.properties.composed.properties.reportPeriod.label": "Report period",
|
|
41
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.label": "Cover (tuple)",
|
|
42
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.items.0.label": "From",
|
|
43
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.items.1.label": "To",
|
|
44
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.label": "Cover (draft-07 tuple)",
|
|
45
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.items.0.label": "From",
|
|
46
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.items.1.label": "To",
|
|
47
|
+
"specTemporalControls.schema.properties.composed.properties.maybeDate.label": "Optional date",
|
|
48
|
+
"specTemporalControls.schema.$defs.dateRange.properties.from.label": "From",
|
|
49
|
+
"specTemporalControls.schema.$defs.dateRange.properties.to.label": "To",
|
|
50
|
+
"specTemporalControls.ui.elements.0.text": "Every control below stores a string. Which renderer appears, and what validates it, are two different questions.",
|
|
51
|
+
"specTemporalControls.ui.elements.1.elements.0.label": "Selected by the schema",
|
|
52
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.0.text": "The schema's format keyword picks the renderer AND gives the validator something to check.",
|
|
53
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.4.text": "Same keyword, same storage. timeFormat adds the seconds column - and seconds you cannot see are zeroed by the next edit.",
|
|
54
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.9.text": "Defaults, unset here: YYYY-MM-DD, HH:mm:ssZ and YYYY-MM-DDTHH:mm:ssZ. Each satisfies the format that selected it.",
|
|
55
|
+
"specTemporalControls.ui.elements.1.elements.1.label": "Selected by the UI schema",
|
|
56
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.0.text": "The schema says only 'string'. options.format picks the renderer; nothing validates the shape but pattern.",
|
|
57
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.1.label": "Year and month picker",
|
|
58
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.2.text": "views picks the calendar granularity; dateSaveFormat is a separate setting, and pattern is what validates it.",
|
|
59
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.4.text": "ampm is presentation only. A bare HH:mm is storable here precisely because no format keyword judges it.",
|
|
60
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.6.text": "The same control with seconds, stored as HH:mm:ss.",
|
|
61
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.8.text": "The same seconds-bearing format, with views naming only hours and minutes: the picker drops its seconds column while the stored value keeps them. views chooses the panels, never the storage.",
|
|
62
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.9.label": "Published at, chosen to the minute",
|
|
63
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.10.text": "A date-time control applies both halves of views: year and month can narrow the calendar, while hours and minutes choose the time columns. The stored format stays independent.",
|
|
64
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.12.text": "Displayed one way, stored another - and the stored spelling is nobody's standard but this form's.",
|
|
65
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.14.text": "And with seconds, in the same house format.",
|
|
66
|
+
"specTemporalControls.ui.elements.1.elements.2.label": "Restricting the range",
|
|
67
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.0.text": "formatMinimum and formatMaximum limit what the picker offers. Open each one.",
|
|
68
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.2.text": "October only. The bounds themselves are selectable.",
|
|
69
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.4.text": "formatExclusiveMinimum: the 19th is not offered, so the first selectable day is the 20th.",
|
|
70
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.6.text": "Hours outside 09:00 to 17:00 are not offered.",
|
|
71
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.8.text": "A date-time bound narrows the hours on the first and last day only.",
|
|
72
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.11.text": "The same bounds with restrict off: the picker offers everything, and validation still objects.",
|
|
73
|
+
"specTemporalControls.ui.elements.1.elements.3.label": "In other structures",
|
|
74
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.0.text": "The same controls reached through a $ref, inside a tuple, and inside a mixed type.",
|
|
75
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.3.text": "One $defs definition, two properties. formatMinimum uses $data to hold To at or after From - try inverting one.",
|
|
76
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.7.text": "prefixItems and the draft-07 items array describe the same pair of positions.",
|
|
77
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.10.text": "A mixed type: pick string to get the date picker, null to clear it."
|
|
78
|
+
},
|
|
79
|
+
"bg": {
|
|
80
|
+
"error.required": "Изберете дата за срещата.",
|
|
81
|
+
"error.pattern": "Въведете година и месец, например 2027-01.",
|
|
82
|
+
"control.clearValue": "Изчистване на стойността",
|
|
83
|
+
"schemaBased.weeks.label": "Период на поддръжка (седмици, без лента с действия)",
|
|
84
|
+
"specTemporalControls.schema.properties.schemaBased.label": "Избор чрез схемата",
|
|
85
|
+
"specTemporalControls.schema.properties.schemaBased.properties.date.label": "Дата на срещата",
|
|
86
|
+
"specTemporalControls.schema.properties.schemaBased.properties.date.description": "format: date. Проверява се като календарна дата.",
|
|
87
|
+
"specTemporalControls.schema.properties.schemaBased.properties.time.label": "Начален час",
|
|
88
|
+
"specTemporalControls.schema.properties.schemaBased.properties.time.description": "format: time. RFC 3339 изисква секунди и отместване на часовата зона.",
|
|
89
|
+
"specTemporalControls.schema.properties.schemaBased.properties.datetime.label": "Изпращане на напомняне на",
|
|
90
|
+
"specTemporalControls.schema.properties.schemaBased.properties.datetime.description": "format: date-time.",
|
|
91
|
+
"specTemporalControls.schema.properties.schemaBased.properties.duration.label": "Продължителност на срещата",
|
|
92
|
+
"specTemporalControls.schema.properties.schemaBased.properties.duration.description": "format: duration. Период по ISO 8601.",
|
|
93
|
+
"specTemporalControls.schema.properties.schemaBased.properties.timeWithSeconds.label": "Начален час със секунди",
|
|
94
|
+
"specTemporalControls.schema.properties.schemaBased.properties.timeWithSeconds.description": "Същата ключова дума format, с показване на секундите.",
|
|
95
|
+
"specTemporalControls.schema.properties.schemaBased.properties.weeks.label": "Период на поддръжка",
|
|
96
|
+
"specTemporalControls.schema.properties.uiSchemaBased.label": "Избор чрез UI схемата",
|
|
97
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.month.label": "Месец на подновяване",
|
|
98
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.month.description": "Обикновен низ. Проверява се само чрез `pattern`.",
|
|
99
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.time.label": "Час на отваряне",
|
|
100
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.time.description": "Обикновен низ, показан в дванадесетчасов формат.",
|
|
101
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetime.label": "Публикувано на",
|
|
102
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetime.description": "Обикновен низ, записван в собствен формат.",
|
|
103
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.timeSeconds.label": "Час на отваряне със секунди",
|
|
104
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.timeSeconds.description": "Обикновен низ, записван като HH:mm:ss.",
|
|
105
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetimeSeconds.label": "Публикувано на, със секунди",
|
|
106
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.datetimeSeconds.description": "Обикновен низ, записван със секунди в собствен формат.",
|
|
107
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.coarseTime.label": "Период за получаване",
|
|
108
|
+
"specTemporalControls.schema.properties.uiSchemaBased.properties.coarseTime.description": "Записва секунди, но изборът е с точност до минута. `views` и форматът за запис са независими.",
|
|
109
|
+
"specTemporalControls.schema.properties.bounded.label": "Ограничаване на диапазона",
|
|
110
|
+
"specTemporalControls.schema.properties.bounded.properties.bookingDate.label": "Дата на резервацията",
|
|
111
|
+
"specTemporalControls.schema.properties.bounded.properties.notBefore.label": "Строго след 19 октомври",
|
|
112
|
+
"specTemporalControls.schema.properties.bounded.properties.officeHours.label": "В работно време",
|
|
113
|
+
"specTemporalControls.schema.properties.bounded.properties.slot.label": "Час за срещата",
|
|
114
|
+
"specTemporalControls.schema.properties.bounded.properties.unrestricted.label": "Същите граници, без restrict",
|
|
115
|
+
"specTemporalControls.schema.properties.composed.label": "В други структури",
|
|
116
|
+
"specTemporalControls.schema.properties.composed.properties.bookingPeriod.label": "Период на резервацията",
|
|
117
|
+
"specTemporalControls.schema.properties.composed.properties.reportPeriod.label": "Отчетен период",
|
|
118
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.label": "Покритие (кортеж)",
|
|
119
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.items.0.label": "От",
|
|
120
|
+
"specTemporalControls.schema.properties.composed.properties.tupleRange.items.1.label": "До",
|
|
121
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.label": "Покритие (кортеж по draft-07)",
|
|
122
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.items.0.label": "От",
|
|
123
|
+
"specTemporalControls.schema.properties.composed.properties.legacyTupleRange.items.1.label": "До",
|
|
124
|
+
"specTemporalControls.schema.properties.composed.properties.maybeDate.label": "Незадължителна дата",
|
|
125
|
+
"specTemporalControls.schema.$defs.dateRange.properties.from.label": "От",
|
|
126
|
+
"specTemporalControls.schema.$defs.dateRange.properties.to.label": "До",
|
|
127
|
+
"specTemporalControls.ui.elements.0.text": "Всички контроли по-долу записват низ. Изборът на визуализатор и проверката на стойността са отделни въпроси.",
|
|
128
|
+
"specTemporalControls.ui.elements.1.elements.0.label": "Избор чрез схемата",
|
|
129
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.0.text": "Ключовата дума format в схемата избира визуализатора И задава проверка за валидатора.",
|
|
130
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.4.text": "Същата ключова дума и същият запис. timeFormat добавя колона за секундите. Скритите секунди се нулират при следващата редакция.",
|
|
131
|
+
"specTemporalControls.ui.elements.1.elements.0.elements.9.text": "Стойности по подразбиране, които тук не са зададени: YYYY-MM-DD, HH:mm:ssZ и YYYY-MM-DDTHH:mm:ssZ. Всяка отговаря на избралия я format.",
|
|
132
|
+
"specTemporalControls.ui.elements.1.elements.1.label": "Избор чрез UI схемата",
|
|
133
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.0.text": "Схемата задава само string. options.format избира визуализатора; единствено pattern проверява формата на стойността.",
|
|
134
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.1.label": "Избор на година и месец",
|
|
135
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.2.text": "views определя точността на календара; dateSaveFormat е отделна настройка, а pattern проверява стойността.",
|
|
136
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.4.text": "ampm променя само показването. Тук може да се записва HH:mm, защото няма ключова дума format, която да го проверява.",
|
|
137
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.6.text": "Същият контрол със секунди, записвани като HH:mm:ss.",
|
|
138
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.8.text": "Същият формат със секунди, но views задава само часове и минути: колоната за секунди се скрива, а записаната стойност ги запазва. views избира панелите, без да определя записа.",
|
|
139
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.9.label": "Публикувано на, с избор до минута",
|
|
140
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.10.text": "Контролът за дата и час прилага и двете части на views: година и месец ограничават календара, а часове и минути избират колоните за час. Форматът за запис остава независим.",
|
|
141
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.12.text": "Показва се по един начин, а се записва по друг — във формат, определен само за този формуляр.",
|
|
142
|
+
"specTemporalControls.ui.elements.1.elements.1.elements.14.text": "И със секунди, в същия собствен формат.",
|
|
143
|
+
"specTemporalControls.ui.elements.1.elements.2.label": "Ограничаване на диапазона",
|
|
144
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.0.text": "formatMinimum и formatMaximum ограничават предлаганите стойности. Отворете всеки контрол.",
|
|
145
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.2.text": "Само октомври. Самите гранични стойности могат да се избират.",
|
|
146
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.4.text": "formatExclusiveMinimum: 19-и не се предлага, затова първият възможен ден е 20-и.",
|
|
147
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.6.text": "Часове извън 09:00–17:00 не се предлагат.",
|
|
148
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.8.text": "Граница за дата и час ограничава часовете само на първия и последния ден.",
|
|
149
|
+
"specTemporalControls.ui.elements.1.elements.2.elements.11.text": "Същите граници с изключен restrict: предлагат се всички стойности, но проверката продължава да отчита грешки.",
|
|
150
|
+
"specTemporalControls.ui.elements.1.elements.3.label": "В други структури",
|
|
151
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.0.text": "Същите контроли чрез $ref, в кортеж и в смесен тип.",
|
|
152
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.3.text": "Една дефиниция в $defs и две свойства. formatMinimum използва $data, за да държи „До“ на или след „От“ — опитайте да обърнете периода.",
|
|
153
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.7.text": "prefixItems и масивът items по draft-07 описват една и съща двойка позиции.",
|
|
154
|
+
"specTemporalControls.ui.elements.1.elements.3.elements.10.text": "Смесен тип: изберете string за избор на дата или null за изчистване."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"options": {
|
|
4
|
+
"gap": "1rem"
|
|
5
|
+
},
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Label",
|
|
9
|
+
"text": "Every control below stores a string. Which renderer appears, and what validates it, are two different questions."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "Categorization",
|
|
13
|
+
"elements": [
|
|
14
|
+
{
|
|
15
|
+
"type": "Category",
|
|
16
|
+
"name": "schemaBased",
|
|
17
|
+
"label": "Selected by the schema",
|
|
18
|
+
"elements": [
|
|
19
|
+
{
|
|
20
|
+
"type": "Label",
|
|
21
|
+
"text": "The schema's format keyword picks the renderer AND gives the validator something to check."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "Control",
|
|
25
|
+
"scope": "#/properties/schemaBased/properties/date"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "Control",
|
|
29
|
+
"scope": "#/properties/schemaBased/properties/time"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "Control",
|
|
33
|
+
"scope": "#/properties/schemaBased/properties/timeWithSeconds",
|
|
34
|
+
"options": {
|
|
35
|
+
"timeFormat": "HH:mm:ss"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "Label",
|
|
40
|
+
"text": "Same keyword, same storage. timeFormat adds the seconds column - and seconds you cannot see are zeroed by the next edit."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "Control",
|
|
44
|
+
"scope": "#/properties/schemaBased/properties/datetime"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "Control",
|
|
48
|
+
"scope": "#/properties/schemaBased/properties/duration"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "Control",
|
|
52
|
+
"scope": "#/properties/schemaBased/properties/weeks",
|
|
53
|
+
"options": {
|
|
54
|
+
"showActions": false
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "Separator"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "Label",
|
|
62
|
+
"text": "Defaults, unset here: YYYY-MM-DD, HH:mm:ssZ and YYYY-MM-DDTHH:mm:ssZ. Each satisfies the format that selected it."
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "Category",
|
|
68
|
+
"name": "uiSchemaBased",
|
|
69
|
+
"label": "Selected by the UI schema",
|
|
70
|
+
"elements": [
|
|
71
|
+
{
|
|
72
|
+
"type": "Label",
|
|
73
|
+
"text": "The schema says only 'string'. options.format picks the renderer; nothing validates the shape but pattern."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "Control",
|
|
77
|
+
"scope": "#/properties/uiSchemaBased/properties/month",
|
|
78
|
+
"label": "Year and month picker",
|
|
79
|
+
"options": {
|
|
80
|
+
"format": "date",
|
|
81
|
+
"views": [
|
|
82
|
+
"year",
|
|
83
|
+
"month"
|
|
84
|
+
],
|
|
85
|
+
"dateFormat": "YYYY.MM",
|
|
86
|
+
"dateSaveFormat": "YYYY-MM"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "Label",
|
|
91
|
+
"text": "views picks the calendar granularity; dateSaveFormat is a separate setting, and pattern is what validates it."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "Control",
|
|
95
|
+
"scope": "#/properties/uiSchemaBased/properties/time",
|
|
96
|
+
"options": {
|
|
97
|
+
"format": "time",
|
|
98
|
+
"ampm": true,
|
|
99
|
+
"timeSaveFormat": "HH:mm",
|
|
100
|
+
"placeholder": "hh:mm am"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "Label",
|
|
105
|
+
"text": "ampm is presentation only. A bare HH:mm is storable here precisely because no format keyword judges it."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "Control",
|
|
109
|
+
"scope": "#/properties/uiSchemaBased/properties/timeSeconds",
|
|
110
|
+
"options": {
|
|
111
|
+
"format": "time",
|
|
112
|
+
"timeFormat": "HH:mm:ss",
|
|
113
|
+
"timeSaveFormat": "HH:mm:ss"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "Label",
|
|
118
|
+
"text": "The same control with seconds, stored as HH:mm:ss."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "Control",
|
|
122
|
+
"scope": "#/properties/uiSchemaBased/properties/coarseTime",
|
|
123
|
+
"options": {
|
|
124
|
+
"format": "time",
|
|
125
|
+
"timeFormat": "HH:mm:ss",
|
|
126
|
+
"timeSaveFormat": "HH:mm:ss",
|
|
127
|
+
"views": [
|
|
128
|
+
"hours",
|
|
129
|
+
"minutes"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "Label",
|
|
135
|
+
"text": "The same seconds-bearing format, with views naming only hours and minutes: the picker drops its seconds column while the stored value keeps them. views chooses the panels, never the storage."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "Control",
|
|
139
|
+
"scope": "#/properties/uiSchemaBased/properties/datetimeSeconds",
|
|
140
|
+
"label": "Published at, chosen to the minute",
|
|
141
|
+
"options": {
|
|
142
|
+
"format": "date-time",
|
|
143
|
+
"dateTimeFormat": "DD-MM-YY hh:mm:ss a",
|
|
144
|
+
"dateTimeSaveFormat": "YYYY/MM/DD h:mm:ss a",
|
|
145
|
+
"ampm": true,
|
|
146
|
+
"views": [
|
|
147
|
+
"year",
|
|
148
|
+
"day",
|
|
149
|
+
"hours",
|
|
150
|
+
"minutes"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "Label",
|
|
156
|
+
"text": "A date-time control takes both halves of views. Only the time half is applied: a date-time picker always offers a full date, so narrowing the calendar would leave it unable to express a value it must store."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "Control",
|
|
160
|
+
"scope": "#/properties/uiSchemaBased/properties/datetime",
|
|
161
|
+
"options": {
|
|
162
|
+
"format": "date-time",
|
|
163
|
+
"dateTimeFormat": "DD-MM-YY hh:mm a",
|
|
164
|
+
"dateTimeSaveFormat": "YYYY/MM/DD h:mm a",
|
|
165
|
+
"ampm": true
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "Label",
|
|
170
|
+
"text": "Displayed one way, stored another - and the stored spelling is nobody's standard but this form's."
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"type": "Control",
|
|
174
|
+
"scope": "#/properties/uiSchemaBased/properties/datetimeSeconds",
|
|
175
|
+
"options": {
|
|
176
|
+
"format": "date-time",
|
|
177
|
+
"dateTimeFormat": "DD-MM-YY hh:mm:ss a",
|
|
178
|
+
"dateTimeSaveFormat": "YYYY/MM/DD h:mm:ss a",
|
|
179
|
+
"ampm": true
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "Label",
|
|
184
|
+
"text": "And with seconds, in the same house format."
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "Category",
|
|
190
|
+
"name": "bounds",
|
|
191
|
+
"label": "Restricting the range",
|
|
192
|
+
"elements": [
|
|
193
|
+
{
|
|
194
|
+
"type": "Label",
|
|
195
|
+
"text": "formatMinimum and formatMaximum limit what the picker offers. Open each one."
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "Control",
|
|
199
|
+
"scope": "#/properties/bounded/properties/bookingDate"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "Label",
|
|
203
|
+
"text": "October only. The bounds themselves are selectable."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "Control",
|
|
207
|
+
"scope": "#/properties/bounded/properties/notBefore"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "Label",
|
|
211
|
+
"text": "formatExclusiveMinimum: the 19th is not offered, so the first selectable day is the 20th."
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "Control",
|
|
215
|
+
"scope": "#/properties/bounded/properties/officeHours"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "Label",
|
|
219
|
+
"text": "Hours outside 09:00 to 17:00 are not offered."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "Control",
|
|
223
|
+
"scope": "#/properties/bounded/properties/slot"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "Label",
|
|
227
|
+
"text": "A date-time bound narrows the hours on the first and last day only."
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "Separator"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "Control",
|
|
234
|
+
"scope": "#/properties/bounded/properties/unrestricted",
|
|
235
|
+
"options": {
|
|
236
|
+
"restrict": false
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "Label",
|
|
241
|
+
"text": "The same bounds with restrict off: the picker offers everything, and validation still objects."
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "Category",
|
|
247
|
+
"name": "composed",
|
|
248
|
+
"label": "In other structures",
|
|
249
|
+
"elements": [
|
|
250
|
+
{
|
|
251
|
+
"type": "Label",
|
|
252
|
+
"text": "The same controls reached through a $ref, inside a tuple, and inside a mixed type."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"type": "Control",
|
|
256
|
+
"scope": "#/properties/composed/properties/bookingPeriod"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "Control",
|
|
260
|
+
"scope": "#/properties/composed/properties/reportPeriod"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "Label",
|
|
264
|
+
"text": "One $defs definition, two properties. formatMinimum uses $data to hold To at or after From - try inverting one."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "Separator"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "Control",
|
|
271
|
+
"scope": "#/properties/composed/properties/tupleRange"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "Control",
|
|
275
|
+
"scope": "#/properties/composed/properties/legacyTupleRange"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "Label",
|
|
279
|
+
"text": "prefixItems and the draft-07 items array describe the same pair of positions."
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "Separator"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"type": "Control",
|
|
286
|
+
"scope": "#/properties/composed/properties/maybeDate"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "Label",
|
|
290
|
+
"text": "A mixed type: pick string to get the date picker, null to clear it."
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Tree with a maximum depth
|
|
2
|
+
|
|
3
|
+
Root counts as level 1. Five finite node definitions replace unbounded recursion. Level 5 folders use maxItems: 0 and items: false. File and Folder layouts are shared through the registry. Imported deeper data is invalid; the schema, not visual collapse, enforces the limit.
|
|
4
|
+
|
|
5
|
+
Node unions have an explicit empty-object default. Add leaves Kind unselected; selecting File or Folder applies its whole-object default. Clearing an object-only child retains its slot as {}.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tree": {
|
|
3
|
+
"kind": "folder",
|
|
4
|
+
"name": "Level 1",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"kind": "folder",
|
|
8
|
+
"name": "Level 2",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "folder",
|
|
12
|
+
"name": "Level 3",
|
|
13
|
+
"children": [
|
|
14
|
+
{
|
|
15
|
+
"kind": "folder",
|
|
16
|
+
"name": "Level 4",
|
|
17
|
+
"children": [
|
|
18
|
+
{
|
|
19
|
+
"kind": "folder",
|
|
20
|
+
"name": "Level 5",
|
|
21
|
+
"children": []
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
}
|