@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,153 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"uischema": {
|
|
4
|
+
"type": "HorizontalLayout",
|
|
5
|
+
"name": "applicant",
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "VerticalLayout",
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"type": "ImageView",
|
|
12
|
+
"scope": "#/properties/applicant/properties/profilePicture",
|
|
13
|
+
"alt": "Profile Picture",
|
|
14
|
+
"options": {
|
|
15
|
+
"width": 192,
|
|
16
|
+
"height": 192
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "Control",
|
|
21
|
+
"scope": "#/properties/applicant/properties/profilePicture"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"options": {
|
|
25
|
+
"layout": {
|
|
26
|
+
"weight": 1,
|
|
27
|
+
"minWidth": 220
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "VerticalLayout",
|
|
33
|
+
"elements": [
|
|
34
|
+
{
|
|
35
|
+
"type": "HorizontalLayout",
|
|
36
|
+
"elements": [
|
|
37
|
+
{
|
|
38
|
+
"type": "Control",
|
|
39
|
+
"scope": "#/properties/applicant/properties/firstName"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "Control",
|
|
43
|
+
"scope": "#/properties/applicant/properties/lastName"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "HorizontalLayout",
|
|
49
|
+
"elements": [
|
|
50
|
+
{
|
|
51
|
+
"type": "Control",
|
|
52
|
+
"scope": "#/properties/applicant/properties/gender"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "Control",
|
|
56
|
+
"scope": "#/properties/applicant/properties/dateOfBirth"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "HorizontalLayout",
|
|
62
|
+
"elements": [
|
|
63
|
+
{
|
|
64
|
+
"type": "Control",
|
|
65
|
+
"scope": "#/properties/applicant/properties/email"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "Control",
|
|
69
|
+
"scope": "#/properties/applicant/properties/phoneNumber"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"options": {
|
|
75
|
+
"layout": {
|
|
76
|
+
"weight": 3,
|
|
77
|
+
"minWidth": 420
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"options": {
|
|
83
|
+
"wrap": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"uischema": {
|
|
89
|
+
"type": "Group",
|
|
90
|
+
"name": "applicantAddress",
|
|
91
|
+
"label": "Address Information",
|
|
92
|
+
"elements": [
|
|
93
|
+
{
|
|
94
|
+
"type": "Control",
|
|
95
|
+
"scope": "#/properties/applicant/properties/address/properties/street"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "HorizontalLayout",
|
|
99
|
+
"elements": [
|
|
100
|
+
{
|
|
101
|
+
"type": "Control",
|
|
102
|
+
"scope": "#/properties/applicant/properties/address/properties/city"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "Control",
|
|
106
|
+
"scope": "#/properties/applicant/properties/address/properties/state"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "Control",
|
|
110
|
+
"scope": "#/properties/applicant/properties/address/properties/zipCode"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"i18n": "static-text.group.address-information"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"uischema": {
|
|
120
|
+
"type": "Group",
|
|
121
|
+
"name": "jobDetails",
|
|
122
|
+
"label": "Position Information",
|
|
123
|
+
"elements": [
|
|
124
|
+
{
|
|
125
|
+
"type": "Control",
|
|
126
|
+
"scope": "#/properties/jobDetails/properties/position"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "Control",
|
|
130
|
+
"scope": "#/properties/jobDetails/properties/salaryExpectation"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "HorizontalLayout",
|
|
134
|
+
"elements": [
|
|
135
|
+
{
|
|
136
|
+
"type": "Control",
|
|
137
|
+
"scope": "#/properties/jobDetails/properties/availableStartDate"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "Control",
|
|
141
|
+
"scope": "#/properties/jobDetails/properties/availableStartTime"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "Control",
|
|
147
|
+
"scope": "#/properties/jobDetails/properties/availableStartDateTime"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"i18n": "static-text.group.position-information"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# JSON editor: any JSON type
|
|
2
|
+
|
|
3
|
+
Start with an empty value. Choose any JSON type, or paste JSON into the Data editor and click Apply data changes. The explicit empty schema allows every JSON value. Clear the Schema editor and apply it to try inference instead.
|
|
4
|
+
|
|
5
|
+
## Try it
|
|
6
|
+
|
|
7
|
+
1. Open **Spec: JSON editor: any JSON type** (`#spec-json-editor`).
|
|
8
|
+
2. Paste this into the demo's Monaco **Data** editor and click **Apply data changes**:
|
|
9
|
+
|
|
10
|
+
```json
|
|
11
|
+
{"name":"Sample","active":true,"count":2,"tags":["one","two"],"address":{"city":"Portland"},"note":null}
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
3. Edit the resulting form and observe the Data editor.
|
|
15
|
+
4. Replace the entire Data document with `[1, "two", false, null]`, a scalar, or `null` and apply again.
|
|
16
|
+
|
|
17
|
+
The fixture has an explicit `schema.json` containing `{}` and deliberately omits `data.json`. Absence is different from JSON null: the initial type selector is unselected. All types remain available regardless of the current data. Structured values use the mixed renderer’s default tree presentation.
|
|
18
|
+
|
|
19
|
+
## Compare the modes
|
|
20
|
+
|
|
21
|
+
An explicit `{}` schema permits arbitrary JSON and enables mixed type selection.
|
|
22
|
+
An omitted schema requests inference from data. To switch an existing demo to
|
|
23
|
+
inference, clear the Schema editor and apply that blank value. To return to the
|
|
24
|
+
generic editor, enter `{}` in Schema and apply. Clearing Data returns to an
|
|
25
|
+
absent value; entering `null` selects the JSON null value.
|
|
26
|
+
|
|
27
|
+
The host must register mixed-value and null controls; renderer coverage can differ. The Data editor requires Monaco and a host action to apply valid JSON;
|
|
28
|
+
malformed JSON must not replace the current form data.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"json-editor.intro.text": "Start with an empty value. Choose any JSON type, or paste JSON into the Data editor and click Apply data changes. The explicit empty schema allows every JSON value. Clear the Schema editor and apply it to try inference instead.",
|
|
4
|
+
"json-editor.value.label": "JSON value"
|
|
5
|
+
},
|
|
6
|
+
"bg": {
|
|
7
|
+
"json-editor.intro.text": "Започнете с празна стойност. Изберете JSON тип или поставете JSON в редактора Data и приложете промените. Празната схема допуска всяка JSON стойност.",
|
|
8
|
+
"json-editor.value.label": "JSON стойност"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Label",
|
|
6
|
+
"text": "Start with an empty value. Choose any JSON type, or paste JSON into the Data editor and click Apply data changes. The explicit empty schema allows every JSON value. Clear the Schema editor and apply it to try inference instead.",
|
|
7
|
+
"i18n": "json-editor.intro"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"type": "Control",
|
|
11
|
+
"scope": "#",
|
|
12
|
+
"label": "JSON value",
|
|
13
|
+
"i18n": "json-editor.value"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# JSON inference: paste data without a schema
|
|
2
|
+
|
|
3
|
+
No schema or initial data is supplied. Paste valid JSON into the Data editor, then click Apply data changes to generate a form from its inferred schema. Try an object, array, string, number, boolean, or null. The Schema tab stays blank: inference happens in JSON Forms.
|
|
4
|
+
|
|
5
|
+
## Try it
|
|
6
|
+
|
|
7
|
+
1. Open **Spec: JSON inference: paste data without a schema** (`#spec-json-inference`).
|
|
8
|
+
2. Paste this into the demo's Monaco **Data** editor and click **Apply data changes**:
|
|
9
|
+
|
|
10
|
+
```json
|
|
11
|
+
{"name":"Sample","active":true,"count":2,"tags":["one","two"],"address":{"city":"Portland"},"note":null}
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
3. Edit the resulting form and observe the Data editor.
|
|
15
|
+
4. Replace the entire Data document with `[1, "two", false, null]`, a scalar, or `null` and apply again.
|
|
16
|
+
|
|
17
|
+
This fixture deliberately omits both `schema.json` and `data.json`. The host must preserve their absence instead of substituting `{}` or `null`. JSON Forms generates a schema from the applied data, then dispatches the root control against that schema. The Schema editor remains blank; the inferred schema is not written back as an authored schema. Inference reflects the sample, not a complete business contract, and heterogeneous arrays depend on the core generator’s inference behavior.
|
|
18
|
+
|
|
19
|
+
## Compare the modes
|
|
20
|
+
|
|
21
|
+
An explicit `{}` schema permits arbitrary JSON and enables mixed type selection.
|
|
22
|
+
An omitted schema requests inference from data. To switch an existing demo to
|
|
23
|
+
inference, clear the Schema editor and apply that blank value. To return to the
|
|
24
|
+
generic editor, enter `{}` in Schema and apply. Clearing Data returns to an
|
|
25
|
+
absent value; entering `null` selects the JSON null value.
|
|
26
|
+
|
|
27
|
+
The host must register mixed-value and null controls; renderer coverage can differ. The Data editor requires Monaco and a host action to apply valid JSON;
|
|
28
|
+
malformed JSON must not replace the current form data.
|
|
29
|
+
|
|
30
|
+
Hosts should verify inference for absent data, explicit null, every scalar type,
|
|
31
|
+
arrays, objects, and replacement with a different root type. An adapter for a
|
|
32
|
+
core version that lacks these cases must keep its inferred runtime schema out of
|
|
33
|
+
the authored Schema editor. The Monaco stale-schema cleanup is separate.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"json-inference.intro.text": "No schema or initial data is supplied. Paste valid JSON into the Data editor, then click Apply data changes to generate a form from its inferred schema. Try an object, array, string, number, boolean, or null. The Schema tab stays blank: inference happens in JSON Forms.",
|
|
4
|
+
"json-inference.value.label": "JSON value"
|
|
5
|
+
},
|
|
6
|
+
"bg": {
|
|
7
|
+
"json-inference.intro.text": "Не са зададени схема и начални данни. Поставете валиден JSON в редактора Data и приложете промените, за да се създаде формуляр според данните. Разделът Schema остава празен.",
|
|
8
|
+
"json-inference.value.label": "JSON стойност"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Label",
|
|
6
|
+
"text": "No schema or initial data is supplied. Paste valid JSON into the Data editor, then click Apply data changes to generate a form from its inferred schema. Try an object, array, string, number, boolean, or null. The Schema tab stays blank: inference happens in JSON Forms.",
|
|
7
|
+
"i18n": "json-inference.intro"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"type": "Control",
|
|
11
|
+
"scope": "#",
|
|
12
|
+
"label": "JSON value",
|
|
13
|
+
"i18n": "json-inference.value"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Kitchen sink: job application
|
|
2
|
+
|
|
3
|
+
A shared renderer example with English and Bulgarian authoring catalogs.
|
|
4
|
+
Register base and extended renderers **and cells**, including AG Grid and Monaco.
|
|
5
|
+
Load the matching renderer locale for built-in actions, pagination and dialogs.
|
|
6
|
+
Use the demo language selector to switch locale.
|
|
7
|
+
|
|
8
|
+
## Coverage
|
|
9
|
+
|
|
10
|
+
- Identity: text, email, URI, international phone pattern, password, OTP and multiline text.
|
|
11
|
+
- Contact: object, oneOf branch selection, anyOf alternatives and allOf composition.
|
|
12
|
+
- Preferences: enum dropdown, radio, checkbox, toggle, integer, decimal, slider and color.
|
|
13
|
+
- Scheduling: date, time, date-time, duration and cron.
|
|
14
|
+
- Collections: normal table and AG Grid with seven rows, three per page, nested
|
|
15
|
+
object/array cell dialogs, row details, list/detail, string array, additional
|
|
16
|
+
properties and a tuple.
|
|
17
|
+
- Advanced: mixed data, a text attachment and a bounded JSON editor.
|
|
18
|
+
- Category validation markers, localized validation messages and translated field labels.
|
|
19
|
+
|
|
20
|
+
## Validation walkthrough
|
|
21
|
+
|
|
22
|
+
`data.json` starts valid. Replace the demo data with `invalid-data.json` to show
|
|
23
|
+
10 deliberately invalid paths, including errors on page two in each table.
|
|
24
|
+
Correct email addresses, international phone syntax, OTP length, numeric bounds,
|
|
25
|
+
date syntax, an empty city and an empty company name. Row, cell and category
|
|
26
|
+
indicators should clear as their corresponding errors are fixed.
|
|
27
|
+
|
|
28
|
+
Phone numbers must match `^\+[1-9][0-9]{7,14}$`: a leading plus and 8–15 digits.
|
|
29
|
+
This checks a deliberately restricted international syntax, not country-specific
|
|
30
|
+
numbering plans, number assignment or reachability. Email validation uses the
|
|
31
|
+
standard JSON Schema email format; it does not prove mailbox ownership.
|
|
32
|
+
Postal codes use a permissive international pattern, not a country-specific validator.
|
|
33
|
+
Password rules are demonstration constraints, not a password security policy.
|
|
34
|
+
|
|
35
|
+
The host must enable standard format validation (for example Ajv plus ajv-formats).
|
|
36
|
+
Password/color/cron are renderer formats; this fixture does not claim that a
|
|
37
|
+
standard JSON Schema validator understands those custom formats. JSON editor
|
|
38
|
+
syntax feedback requires Monaco's language service and is distinct from schema validation.
|
|
39
|
+
|
|
40
|
+
## Limits
|
|
41
|
+
|
|
42
|
+
This example uses components shared by both families. Chips and multi-select array variants are also available in both renderer families.
|
|
43
|
+
It does not require remote services, submit handlers, $dynamic overlays or timezone
|
|
44
|
+
conversion. Values and free-form user data are not translated. Native library
|
|
45
|
+
strings require the host's component-library locale as well as the fixture catalog.
|
|
46
|
+
|
|
47
|
+
Combinator branches declare their own object type and editable properties.
|
|
48
|
+
A required-only branch is avoided because it gives the generated branch editor
|
|
49
|
+
no fields to render. First and last names are strings of 1–80 characters; only
|
|
50
|
+
the advanced Payload field intentionally uses a mixed-type editor.
|
|
51
|
+
|
|
52
|
+
## Phone input guidance
|
|
53
|
+
|
|
54
|
+
The main phone field and table row-detail phone editors request masks for
|
|
55
|
+
8–15 digits prefixed with `+`. `returnMaskedValue: true` preserves that plus in
|
|
56
|
+
storage, matching the schema pattern. The example placeholder is
|
|
57
|
+
`+442079460123`; translated descriptions explain the country code and length.
|
|
58
|
+
Renderer implementations should provide the mask behavior described above. Inline table cells keep their existing editors.
|
|
59
|
+
|
|
60
|
+
## Domain and source inspiration
|
|
61
|
+
|
|
62
|
+
This is a job-application example. See the [implementation notes](../../docs/implementation-web-typescript.md#example-provenance) for source inspiration and adaptation details.
|
|
63
|
+
The stable catalog ID remains `kitchen-sink` to preserve existing demo links.
|
|
64
|
+
Future domain examples should use their own IDs and domain-qualified titles.
|
|
65
|
+
|
|
66
|
+
Résumé and documents and Technical work sample now have separate visible tabs.
|
|
67
|
+
The two reference tables demonstrate alternative editors over separate sample
|
|
68
|
+
collections. Integration metadata is an optional administrative extension,
|
|
69
|
+
not an applicant name field. This remains a component demonstration; no submission
|
|
70
|
+
or real recruitment backend is connected.
|
|
71
|
+
|
|
72
|
+
### Usable detail dialogs
|
|
73
|
+
|
|
74
|
+
The example config enables dragging, resizing and maximizing for row and complex-cell dialogs through `jsonformsExtended.dialog`. Phone fields in the applicant and reference-row forms use international phone masks; validation still checks syntax. Open References: table and References: AG Grid row editors: the header and action buttons must remain within the viewport while the form body scrolls.
|
|
75
|
+
|
|
76
|
+
### Navigation
|
|
77
|
+
|
|
78
|
+
Four steps (Profile, Job, References, Finish) use the existing stepper with localized Next/Previous actions and direct step selection. Each step contains two to four related tabs. All eleven original sections remain available, with category validation indicators retained at both levels. Navigation does not submit or discard data. Check both English and Bulgarian labels and navigate away from and back to edited fields.
|
|
79
|
+
|
|
80
|
+
### Horizontal sizing in the form
|
|
81
|
+
|
|
82
|
+
Profile → Applicant and account uses 6/10 spans for first/last name, 2:1 weights for email/phone, and a flexible password beside a fixed 220px verification-code field. Job → Job preferences uses 2:1 weights for position/department and a fixed 140px age field beside a flexible budget. These rows wrap at their minimum widths and inherit the portable gap. Existing masks, labels and translations are preserved. Narrow the form with the demo splitter to inspect wrapping.
|
|
83
|
+
|
|
84
|
+
### Presentation elements
|
|
85
|
+
|
|
86
|
+
Finish → Résumé and documents includes a decorative ImageView with an embedded SVG data URL and empty alt, a translated Markdown Label, a horizontal Separator (divider), an explicit 24px Spacer before the help section, and a translated mailto Link. The recruitment address is illustrative. These elements preserve form data and use the normal image/link URL policy.
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
{
|
|
2
|
+
"firstName": "Ada",
|
|
3
|
+
"lastName": "Lovelace",
|
|
4
|
+
"email": "ada@example.com",
|
|
5
|
+
"phone": "+442079460123",
|
|
6
|
+
"website": "https://example.com",
|
|
7
|
+
"password": "ExampleSecret42!",
|
|
8
|
+
"otp": "123456",
|
|
9
|
+
"bio": "Mathematician and computing pioneer.",
|
|
10
|
+
"address": {
|
|
11
|
+
"city": "London",
|
|
12
|
+
"street": "12 Example Street",
|
|
13
|
+
"postalCode": "SW1A 1AA"
|
|
14
|
+
},
|
|
15
|
+
"preferredContact": {
|
|
16
|
+
"email": "ada@example.com"
|
|
17
|
+
},
|
|
18
|
+
"availableContacts": {
|
|
19
|
+
"email": "ada@example.com",
|
|
20
|
+
"phone": "+442079460123"
|
|
21
|
+
},
|
|
22
|
+
"billing": {
|
|
23
|
+
"name": "Ada Lovelace",
|
|
24
|
+
"email": "billing@example.com"
|
|
25
|
+
},
|
|
26
|
+
"department": "research",
|
|
27
|
+
"workMode": "hybrid",
|
|
28
|
+
"newsletter": true,
|
|
29
|
+
"active": true,
|
|
30
|
+
"age": 36,
|
|
31
|
+
"budget": 1250.5,
|
|
32
|
+
"allocation": 60,
|
|
33
|
+
"color": "#7c3aed",
|
|
34
|
+
"startDate": "2026-10-01",
|
|
35
|
+
"startTime": "09:30:00Z",
|
|
36
|
+
"appointment": "2026-10-01T09:30:00Z",
|
|
37
|
+
"duration": "P1Y",
|
|
38
|
+
"cron": "0 0 9 * * MON",
|
|
39
|
+
"team": [
|
|
40
|
+
{
|
|
41
|
+
"name": "Colleague 1",
|
|
42
|
+
"email": "colleague1@example.com",
|
|
43
|
+
"phone": "+442079460100",
|
|
44
|
+
"address": {
|
|
45
|
+
"city": "London",
|
|
46
|
+
"street": "1 Example Street",
|
|
47
|
+
"postalCode": "SW1A 1AA"
|
|
48
|
+
},
|
|
49
|
+
"skills": [
|
|
50
|
+
"Research",
|
|
51
|
+
"Writing"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Colleague 2",
|
|
56
|
+
"email": "colleague2@example.com",
|
|
57
|
+
"phone": "+442079460101",
|
|
58
|
+
"address": {
|
|
59
|
+
"city": "London",
|
|
60
|
+
"street": "2 Example Street",
|
|
61
|
+
"postalCode": "SW1A 1AA"
|
|
62
|
+
},
|
|
63
|
+
"skills": [
|
|
64
|
+
"Research",
|
|
65
|
+
"Writing"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Colleague 3",
|
|
70
|
+
"email": "colleague3@example.com",
|
|
71
|
+
"phone": "+442079460102",
|
|
72
|
+
"address": {
|
|
73
|
+
"city": "London",
|
|
74
|
+
"street": "3 Example Street",
|
|
75
|
+
"postalCode": "SW1A 1AA"
|
|
76
|
+
},
|
|
77
|
+
"skills": [
|
|
78
|
+
"Research",
|
|
79
|
+
"Writing"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "Colleague 4",
|
|
84
|
+
"email": "colleague4@example.com",
|
|
85
|
+
"phone": "+442079460103",
|
|
86
|
+
"address": {
|
|
87
|
+
"city": "London",
|
|
88
|
+
"street": "4 Example Street",
|
|
89
|
+
"postalCode": "SW1A 1AA"
|
|
90
|
+
},
|
|
91
|
+
"skills": [
|
|
92
|
+
"Research",
|
|
93
|
+
"Writing"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "Colleague 5",
|
|
98
|
+
"email": "colleague5@example.com",
|
|
99
|
+
"phone": "+442079460104",
|
|
100
|
+
"address": {
|
|
101
|
+
"city": "London",
|
|
102
|
+
"street": "5 Example Street",
|
|
103
|
+
"postalCode": "SW1A 1AA"
|
|
104
|
+
},
|
|
105
|
+
"skills": [
|
|
106
|
+
"Research",
|
|
107
|
+
"Writing"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "Colleague 6",
|
|
112
|
+
"email": "colleague6@example.com",
|
|
113
|
+
"phone": "+442079460105",
|
|
114
|
+
"address": {
|
|
115
|
+
"city": "London",
|
|
116
|
+
"street": "6 Example Street",
|
|
117
|
+
"postalCode": "SW1A 1AA"
|
|
118
|
+
},
|
|
119
|
+
"skills": [
|
|
120
|
+
"Research",
|
|
121
|
+
"Writing"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "Colleague 7",
|
|
126
|
+
"email": "colleague7@example.com",
|
|
127
|
+
"phone": "+442079460106",
|
|
128
|
+
"address": {
|
|
129
|
+
"city": "London",
|
|
130
|
+
"street": "7 Example Street",
|
|
131
|
+
"postalCode": "SW1A 1AA"
|
|
132
|
+
},
|
|
133
|
+
"skills": [
|
|
134
|
+
"Research",
|
|
135
|
+
"Writing"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"gridTeam": [
|
|
140
|
+
{
|
|
141
|
+
"name": "Colleague 1",
|
|
142
|
+
"email": "colleague1@example.com",
|
|
143
|
+
"phone": "+442079460100",
|
|
144
|
+
"address": {
|
|
145
|
+
"city": "London",
|
|
146
|
+
"street": "1 Example Street",
|
|
147
|
+
"postalCode": "SW1A 1AA"
|
|
148
|
+
},
|
|
149
|
+
"skills": [
|
|
150
|
+
"Research",
|
|
151
|
+
"Writing"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "Colleague 2",
|
|
156
|
+
"email": "colleague2@example.com",
|
|
157
|
+
"phone": "+442079460101",
|
|
158
|
+
"address": {
|
|
159
|
+
"city": "London",
|
|
160
|
+
"street": "2 Example Street",
|
|
161
|
+
"postalCode": "SW1A 1AA"
|
|
162
|
+
},
|
|
163
|
+
"skills": [
|
|
164
|
+
"Research",
|
|
165
|
+
"Writing"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "Colleague 3",
|
|
170
|
+
"email": "colleague3@example.com",
|
|
171
|
+
"phone": "+442079460102",
|
|
172
|
+
"address": {
|
|
173
|
+
"city": "London",
|
|
174
|
+
"street": "3 Example Street",
|
|
175
|
+
"postalCode": "SW1A 1AA"
|
|
176
|
+
},
|
|
177
|
+
"skills": [
|
|
178
|
+
"Research",
|
|
179
|
+
"Writing"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "Colleague 4",
|
|
184
|
+
"email": "colleague4@example.com",
|
|
185
|
+
"phone": "+442079460103",
|
|
186
|
+
"address": {
|
|
187
|
+
"city": "London",
|
|
188
|
+
"street": "4 Example Street",
|
|
189
|
+
"postalCode": "SW1A 1AA"
|
|
190
|
+
},
|
|
191
|
+
"skills": [
|
|
192
|
+
"Research",
|
|
193
|
+
"Writing"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "Colleague 5",
|
|
198
|
+
"email": "colleague5@example.com",
|
|
199
|
+
"phone": "+442079460104",
|
|
200
|
+
"address": {
|
|
201
|
+
"city": "London",
|
|
202
|
+
"street": "5 Example Street",
|
|
203
|
+
"postalCode": "SW1A 1AA"
|
|
204
|
+
},
|
|
205
|
+
"skills": [
|
|
206
|
+
"Research",
|
|
207
|
+
"Writing"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "Colleague 6",
|
|
212
|
+
"email": "colleague6@example.com",
|
|
213
|
+
"phone": "+442079460105",
|
|
214
|
+
"address": {
|
|
215
|
+
"city": "London",
|
|
216
|
+
"street": "6 Example Street",
|
|
217
|
+
"postalCode": "SW1A 1AA"
|
|
218
|
+
},
|
|
219
|
+
"skills": [
|
|
220
|
+
"Research",
|
|
221
|
+
"Writing"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "Colleague 7",
|
|
226
|
+
"email": "colleague7@example.com",
|
|
227
|
+
"phone": "+442079460106",
|
|
228
|
+
"address": {
|
|
229
|
+
"city": "London",
|
|
230
|
+
"street": "7 Example Street",
|
|
231
|
+
"postalCode": "SW1A 1AA"
|
|
232
|
+
},
|
|
233
|
+
"skills": [
|
|
234
|
+
"Research",
|
|
235
|
+
"Writing"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"experience": [
|
|
240
|
+
{
|
|
241
|
+
"company": "Example Research",
|
|
242
|
+
"years": 3,
|
|
243
|
+
"email": "reference@example.com"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"tags": [
|
|
247
|
+
"Research",
|
|
248
|
+
"Writing"
|
|
249
|
+
],
|
|
250
|
+
"metadata": {
|
|
251
|
+
"costCentre": "R42"
|
|
252
|
+
},
|
|
253
|
+
"tuple": [
|
|
254
|
+
51.5,
|
|
255
|
+
-0.12
|
|
256
|
+
],
|
|
257
|
+
"payload": {
|
|
258
|
+
"enabled": true
|
|
259
|
+
},
|
|
260
|
+
"policy": "{\n \"enabled\": true\n}",
|
|
261
|
+
"position": "Research software engineer",
|
|
262
|
+
"termsAccepted": true
|
|
263
|
+
}
|