@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +126 -2
- package/conformance/authoring.json +2680 -0
- package/conformance/behavior.json +1602 -0
- package/conformance/config-consumption.json +1542 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +122 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +233 -0
- package/docs/implementation-pitfalls.md +968 -0
- package/docs/implementation-web-typescript.md +41 -0
- package/docs/renderer-and-demo.md +1347 -0
- package/docs/renderer-selection.md +99 -0
- package/docs/spec.md +8470 -0
- package/docs/todo.md +166 -0
- package/examples/README.md +127 -0
- package/examples/additional-errors/README.md +176 -0
- package/examples/additional-errors/config.json +3 -0
- package/examples/additional-errors/data.json +11 -0
- package/examples/additional-errors/schema.json +56 -0
- package/examples/additional-errors/translations.json +64 -0
- package/examples/additional-errors/uischema.json +158 -0
- package/examples/additional-items-pagination/README.md +8 -0
- package/examples/additional-items-pagination/config.json +10 -0
- package/examples/additional-items-pagination/data.json +22 -0
- package/examples/additional-items-pagination/schema.json +30 -0
- package/examples/additional-items-pagination/translations.json +16 -0
- package/examples/additional-items-pagination/uischema.json +39 -0
- package/examples/additional-properties/README.md +203 -0
- package/examples/additional-properties/config.json +5 -0
- package/examples/additional-properties/data.json +31 -0
- package/examples/additional-properties/schema.json +78 -0
- package/examples/additional-properties/translations.json +80 -0
- package/examples/additional-properties/uischema.json +104 -0
- package/examples/ag-grid/README.md +62 -0
- package/examples/ag-grid/config.json +14 -0
- package/examples/ag-grid/data.json +124 -0
- package/examples/ag-grid/schema.json +48 -0
- package/examples/ag-grid/translations.json +58 -0
- package/examples/ag-grid/uischema.json +671 -0
- package/examples/array-choices/README.md +150 -0
- package/examples/array-choices/config.json +4 -0
- package/examples/array-choices/data.json +10 -0
- package/examples/array-choices/schema.json +68 -0
- package/examples/array-choices/translations.json +64 -0
- package/examples/array-choices/uischema.json +97 -0
- package/examples/array-controls/README.md +237 -0
- package/examples/array-controls/config.json +4 -0
- package/examples/array-controls/data.json +147 -0
- package/examples/array-controls/schema.json +374 -0
- package/examples/array-controls/translations.json +186 -0
- package/examples/array-controls/uischema.json +685 -0
- package/examples/array-detail-modes/README.md +11 -0
- package/examples/array-detail-modes/data.json +38 -0
- package/examples/array-detail-modes/schema.json +89 -0
- package/examples/array-detail-modes/translations.json +36 -0
- package/examples/array-detail-modes/uischema.json +73 -0
- package/examples/array-detail-modes/uischemas.d.mts +2 -0
- package/examples/array-detail-modes/uischemas.json +15 -0
- package/examples/boolean-controls/README.md +109 -0
- package/examples/boolean-controls/config.json +3 -0
- package/examples/boolean-controls/data.json +27 -0
- package/examples/boolean-controls/schema.json +98 -0
- package/examples/boolean-controls/translations.json +94 -0
- package/examples/boolean-controls/uischema.json +126 -0
- package/examples/button-actions/README.md +259 -0
- package/examples/button-actions/config.json +7 -0
- package/examples/button-actions/data.json +5 -0
- package/examples/button-actions/host.mjs +14 -0
- package/examples/button-actions/schema.json +20 -0
- package/examples/button-actions/translations.json +60 -0
- package/examples/button-actions/uischema.json +179 -0
- package/examples/catalog.json +634 -0
- package/examples/categorization/README.md +132 -0
- package/examples/categorization/config.json +7 -0
- package/examples/categorization/data.json +8 -0
- package/examples/categorization/schema.json +29 -0
- package/examples/categorization/translations.json +72 -0
- package/examples/categorization/uischema.json +288 -0
- package/examples/choice-controls/README.md +136 -0
- package/examples/choice-controls/config.json +10 -0
- package/examples/choice-controls/data.json +61 -0
- package/examples/choice-controls/schema.json +406 -0
- package/examples/choice-controls/translations.json +154 -0
- package/examples/choice-controls/uischema.json +575 -0
- package/examples/choice-controls/uischemas.d.mts +2 -0
- package/examples/choice-controls/uischemas.json +16 -0
- package/examples/code-editor/README.md +74 -0
- package/examples/code-editor/data.json +8 -0
- package/examples/code-editor/schema.json +28 -0
- package/examples/code-editor/translations.json +20 -0
- package/examples/code-editor/uischema.json +77 -0
- package/examples/collection-pagination/README.md +5 -0
- package/examples/collection-pagination/config.json +1 -0
- package/examples/collection-pagination/data.json +64 -0
- package/examples/collection-pagination/schema.json +23 -0
- package/examples/collection-pagination/translations.json +14 -0
- package/examples/collection-pagination/uischema.json +14 -0
- package/examples/color-control/README.md +154 -0
- package/examples/color-control/config.json +7 -0
- package/examples/color-control/data.json +11 -0
- package/examples/color-control/schema.json +61 -0
- package/examples/color-control/translations.json +76 -0
- package/examples/color-control/uischema.json +106 -0
- package/examples/combinators/README.md +223 -0
- package/examples/combinators/config.json +9 -0
- package/examples/combinators/data.json +23 -0
- package/examples/combinators/schema.json +232 -0
- package/examples/combinators/translations.json +178 -0
- package/examples/combinators/uischema.json +158 -0
- package/examples/conditional-fields/README.md +27 -0
- package/examples/conditional-fields/config.json +5 -0
- package/examples/conditional-fields/data.json +7 -0
- package/examples/conditional-fields/schema.json +59 -0
- package/examples/conditional-fields/translations.json +32 -0
- package/examples/conditional-fields/uischema.json +131 -0
- package/examples/container-validation-indicator/README.md +187 -0
- package/examples/container-validation-indicator/config.json +9 -0
- package/examples/container-validation-indicator/data.json +68 -0
- package/examples/container-validation-indicator/schema.json +222 -0
- package/examples/container-validation-indicator/translations.json +120 -0
- package/examples/container-validation-indicator/uischema.json +98 -0
- package/examples/cron-control/README.md +155 -0
- package/examples/cron-control/data.json +15 -0
- package/examples/cron-control/schema.json +72 -0
- package/examples/cron-control/translations.json +80 -0
- package/examples/cron-control/uischema.json +91 -0
- package/examples/destructive-confirmation/README.md +210 -0
- package/examples/destructive-confirmation/config.json +17 -0
- package/examples/destructive-confirmation/data.json +86 -0
- package/examples/destructive-confirmation/schema.json +204 -0
- package/examples/destructive-confirmation/translations.json +112 -0
- package/examples/destructive-confirmation/uischema.json +105 -0
- package/examples/draft-07-metaschema/README.md +11 -0
- package/examples/draft-07-metaschema/config.json +3 -0
- package/examples/draft-07-metaschema/data.json +25 -0
- package/examples/draft-07-metaschema/schema.json +172 -0
- package/examples/draft-07-metaschema/translations.json +10 -0
- package/examples/draft-07-metaschema/uischema.json +14 -0
- package/examples/dynamic-playground/README.md +95 -0
- package/examples/dynamic-playground/config.json +8 -0
- package/examples/dynamic-playground/configuration.json +152 -0
- package/examples/dynamic-playground/data.json +15 -0
- package/examples/dynamic-playground/dynamic-uischema.json +379 -0
- package/examples/dynamic-playground/host.mjs +37 -0
- package/examples/dynamic-playground/schema.json +48 -0
- package/examples/dynamic-playground/translations.json +76 -0
- package/examples/dynamic-playground/uischema.json +36 -0
- package/examples/editor-details/README.md +10 -0
- package/examples/editor-details/data.json +18 -0
- package/examples/editor-details/schema.json +49 -0
- package/examples/editor-details/translations.json +28 -0
- package/examples/editor-details/uischema.json +53 -0
- package/examples/editor-details/uischemas.d.mts +2 -0
- package/examples/editor-details/uischemas.json +14 -0
- package/examples/file-control/README.md +108 -0
- package/examples/file-control/data.json +28 -0
- package/examples/file-control/schema.json +89 -0
- package/examples/file-control/translations.json +46 -0
- package/examples/file-control/uischema.json +152 -0
- package/examples/group-layout/README.md +149 -0
- package/examples/group-layout/config.json +10 -0
- package/examples/group-layout/data.json +9 -0
- package/examples/group-layout/schema.json +51 -0
- package/examples/group-layout/translations.json +62 -0
- package/examples/group-layout/uischema.json +249 -0
- package/examples/index.d.ts +17 -0
- package/examples/index.js +69 -0
- package/examples/input-adornments/README.md +68 -0
- package/examples/input-adornments/data.json +41 -0
- package/examples/input-adornments/schema.json +207 -0
- package/examples/input-adornments/translations.json +106 -0
- package/examples/input-adornments/uischema.json +695 -0
- package/examples/job-application/README.md +23 -0
- package/examples/job-application/config.json +10 -0
- package/examples/job-application/data.json +68 -0
- package/examples/job-application/schema.json +196 -0
- package/examples/job-application/translations.json +388 -0
- package/examples/job-application/uischema.json +218 -0
- package/examples/job-application/uischemas.json +153 -0
- package/examples/json-editor/README.md +28 -0
- package/examples/json-editor/schema.json +1 -0
- package/examples/json-editor/translations.json +10 -0
- package/examples/json-editor/uischema.json +16 -0
- package/examples/json-inference/README.md +33 -0
- package/examples/json-inference/translations.json +10 -0
- package/examples/json-inference/uischema.json +16 -0
- package/examples/kitchen-sink/README.md +86 -0
- package/examples/kitchen-sink/config.json +14 -0
- package/examples/kitchen-sink/data.json +263 -0
- package/examples/kitchen-sink/invalid-data.json +263 -0
- package/examples/kitchen-sink/schema.json +515 -0
- package/examples/kitchen-sink/translations.json +270 -0
- package/examples/kitchen-sink/uischema.json +722 -0
- package/examples/label-interpolation/README.md +241 -0
- package/examples/label-interpolation/config.json +14 -0
- package/examples/label-interpolation/data.json +13 -0
- package/examples/label-interpolation/schema.json +64 -0
- package/examples/label-interpolation/translations.json +94 -0
- package/examples/label-interpolation/uischema.json +379 -0
- package/examples/layout-sizing/README.md +162 -0
- package/examples/layout-sizing/config.json +10 -0
- package/examples/layout-sizing/data.json +14 -0
- package/examples/layout-sizing/schema.json +58 -0
- package/examples/layout-sizing/translations.json +42 -0
- package/examples/layout-sizing/uischema.json +558 -0
- package/examples/markup-label/README.md +109 -0
- package/examples/markup-label/config.json +16 -0
- package/examples/markup-label/data.json +5 -0
- package/examples/markup-label/schema.json +24 -0
- package/examples/markup-label/translations.json +40 -0
- package/examples/markup-label/uischema.json +149 -0
- package/examples/mixed-control/README.md +164 -0
- package/examples/mixed-control/config.json +11 -0
- package/examples/mixed-control/data.json +70 -0
- package/examples/mixed-control/schema.json +221 -0
- package/examples/mixed-control/translations.json +158 -0
- package/examples/mixed-control/uischema.json +211 -0
- package/examples/null-control/README.md +111 -0
- package/examples/null-control/config.json +4 -0
- package/examples/null-control/data.json +6 -0
- package/examples/null-control/schema.json +36 -0
- package/examples/null-control/translations.json +42 -0
- package/examples/null-control/uischema.json +56 -0
- package/examples/numeric-controls/README.md +94 -0
- package/examples/numeric-controls/config.json +4 -0
- package/examples/numeric-controls/data.json +8 -0
- package/examples/numeric-controls/schema.json +52 -0
- package/examples/numeric-controls/translations.json +56 -0
- package/examples/numeric-controls/uischema.json +77 -0
- package/examples/object-control/README.md +220 -0
- package/examples/object-control/config.json +4 -0
- package/examples/object-control/data.json +62 -0
- package/examples/object-control/schema.json +252 -0
- package/examples/object-control/translations.json +160 -0
- package/examples/object-control/uischema.json +275 -0
- package/examples/object-control/uischemas.d.mts +2 -0
- package/examples/object-control/uischemas.json +59 -0
- package/examples/password-control/README.md +119 -0
- package/examples/password-control/config.json +3 -0
- package/examples/password-control/data.json +18 -0
- package/examples/password-control/schema.json +65 -0
- package/examples/password-control/translations.json +64 -0
- package/examples/password-control/uischema.json +94 -0
- package/examples/pre-touch-errors/README.md +176 -0
- package/examples/pre-touch-errors/config.json +4 -0
- package/examples/pre-touch-errors/data.json +5 -0
- package/examples/pre-touch-errors/schema.json +56 -0
- package/examples/pre-touch-errors/translations.json +68 -0
- package/examples/pre-touch-errors/uischema.json +85 -0
- package/examples/presentation/README.md +148 -0
- package/examples/presentation/config.json +9 -0
- package/examples/presentation/data.json +6 -0
- package/examples/presentation/schema.json +21 -0
- package/examples/presentation/translations.json +64 -0
- package/examples/presentation/uischema.json +210 -0
- package/examples/property-pagination/README.md +5 -0
- package/examples/property-pagination/config.json +1 -0
- package/examples/property-pagination/data.json +17 -0
- package/examples/property-pagination/schema.json +14 -0
- package/examples/property-pagination/translations.json +10 -0
- package/examples/property-pagination/uischema.json +24 -0
- package/examples/recursive-tree/README.md +49 -0
- package/examples/recursive-tree/config.json +1 -0
- package/examples/recursive-tree/data.json +40 -0
- package/examples/recursive-tree/schema.json +89 -0
- package/examples/recursive-tree/translations.json +42 -0
- package/examples/recursive-tree/uischema.json +84 -0
- package/examples/recursive-tree/uischemas.d.mts +2 -0
- package/examples/recursive-tree/uischemas.json +51 -0
- package/examples/split-layout/README.md +123 -0
- package/examples/split-layout/config.json +3 -0
- package/examples/split-layout/data.json +13 -0
- package/examples/split-layout/schema.json +50 -0
- package/examples/split-layout/translations.json +50 -0
- package/examples/split-layout/uischema.json +204 -0
- package/examples/string-controls/README.md +159 -0
- package/examples/string-controls/config.json +5 -0
- package/examples/string-controls/data.json +13 -0
- package/examples/string-controls/schema.json +70 -0
- package/examples/string-controls/translations.json +76 -0
- package/examples/string-controls/uischema.json +148 -0
- package/examples/table-row-details/README.md +69 -0
- package/examples/table-row-details/config.json +7 -0
- package/examples/table-row-details/data.json +280 -0
- package/examples/table-row-details/schema.json +61 -0
- package/examples/table-row-details/translations.json +56 -0
- package/examples/table-row-details/uischema.json +1303 -0
- package/examples/template-layout/README.md +250 -0
- package/examples/template-layout/config.json +9 -0
- package/examples/template-layout/data.json +20 -0
- package/examples/template-layout/host.mjs +13 -0
- package/examples/template-layout/schema.json +48 -0
- package/examples/template-layout/translations.json +70 -0
- package/examples/template-layout/uischema.json +177 -0
- package/examples/template-slots/README.md +19 -0
- package/examples/template-slots/data.json +4 -0
- package/examples/template-slots/schema.json +11 -0
- package/examples/template-slots/translations.json +26 -0
- package/examples/template-slots/uischema.json +47 -0
- package/examples/template-slots/uischemas.d.mts +2 -0
- package/examples/template-slots/uischemas.json +56 -0
- package/examples/temporal-controls/README.md +325 -0
- package/examples/temporal-controls/data.json +44 -0
- package/examples/temporal-controls/schema.json +208 -0
- package/examples/temporal-controls/translations.json +156 -0
- package/examples/temporal-controls/uischema.json +297 -0
- package/examples/tree-max-depth/README.md +5 -0
- package/examples/tree-max-depth/config.json +3 -0
- package/examples/tree-max-depth/data.json +31 -0
- package/examples/tree-max-depth/schema.json +258 -0
- package/examples/tree-max-depth/translations.json +42 -0
- package/examples/tree-max-depth/uischema.json +16 -0
- package/examples/tree-max-depth/uischemas.d.mts +2 -0
- package/examples/tree-max-depth/uischemas.json +50 -0
- package/examples/tuple-control/README.md +335 -0
- package/examples/tuple-control/config.json +4 -0
- package/examples/tuple-control/data.json +61 -0
- package/examples/tuple-control/schema.json +218 -0
- package/examples/tuple-control/translations.json +142 -0
- package/examples/tuple-control/uischema.json +128 -0
- package/examples/tuple-control/uischemas.d.mts +2 -0
- package/examples/tuple-control/uischemas.json +125 -0
- package/examples/validator-profile/README.md +197 -0
- package/examples/validator-profile/config.json +9 -0
- package/examples/validator-profile/data.json +16 -0
- package/examples/validator-profile/schema.json +139 -0
- package/examples/validator-profile/translations.json +34 -0
- package/examples/validator-profile/uischema.json +59 -0
- package/package.json +83 -3
- package/provenance.json +140 -0
- package/schemas/README.md +82 -0
- package/schemas/example.schema.json +37 -0
- package/schemas/jsonforms-config.schema.json +427 -0
- package/schemas/jsonforms-dynamic-uischema.schema.json +220 -0
- package/schemas/jsonforms-extended-config.schema.json +332 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1932 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1434 -0
- package/typescript/README.md +546 -0
- package/typescript/lib/authoring/cssLength.d.ts +33 -0
- package/typescript/lib/authoring/cssLength.js +25 -0
- package/typescript/lib/authoring/dynamic.d.ts +73 -0
- package/typescript/lib/authoring/dynamic.js +8 -0
- package/typescript/lib/authoring/forSchema.d.ts +385 -0
- package/typescript/lib/authoring/forSchema.js +84 -0
- package/typescript/lib/authoring/schemaTypes.d.ts +111 -0
- package/typescript/lib/authoring/schemaTypes.js +15 -0
- package/typescript/lib/index.d.ts +4 -0
- package/typescript/lib/index.js +20 -0
- package/typescript/package.json +1 -0
- package/typescript/src/authoring/cssLength.ts +79 -0
- package/typescript/src/authoring/dynamic.ts +96 -0
- package/typescript/src/authoring/forSchema.ts +428 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +638 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +151 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +178 -0
- package/typescript/test/typedAuthoringCssLength.test.ts +81 -0
- package/typescript/test/typedAuthoringNames.test.ts +90 -0
- package/typescript/test/typedDynamic.test.ts +88 -0
- package/typescript/tsconfig.json +15 -0
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"required": [
|
|
4
|
+
"firstName",
|
|
5
|
+
"lastName",
|
|
6
|
+
"email",
|
|
7
|
+
"phone",
|
|
8
|
+
"password",
|
|
9
|
+
"otp",
|
|
10
|
+
"position",
|
|
11
|
+
"termsAccepted"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"firstName": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"maxLength": 80,
|
|
18
|
+
"title": "First name"
|
|
19
|
+
},
|
|
20
|
+
"lastName": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"maxLength": 80,
|
|
24
|
+
"title": "Last name"
|
|
25
|
+
},
|
|
26
|
+
"email": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": "email",
|
|
29
|
+
"maxLength": 254,
|
|
30
|
+
"title": "Email"
|
|
31
|
+
},
|
|
32
|
+
"phone": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
35
|
+
"title": "International phone"
|
|
36
|
+
},
|
|
37
|
+
"website": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "uri",
|
|
40
|
+
"title": "Website"
|
|
41
|
+
},
|
|
42
|
+
"password": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "password",
|
|
45
|
+
"minLength": 12,
|
|
46
|
+
"title": "Password"
|
|
47
|
+
},
|
|
48
|
+
"otp": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"format": "password",
|
|
51
|
+
"minLength": 6,
|
|
52
|
+
"maxLength": 6,
|
|
53
|
+
"pattern": "^[0-9]+$",
|
|
54
|
+
"title": "Verification code"
|
|
55
|
+
},
|
|
56
|
+
"bio": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 10,
|
|
59
|
+
"maxLength": 500,
|
|
60
|
+
"title": "Biography"
|
|
61
|
+
},
|
|
62
|
+
"address": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": [
|
|
65
|
+
"city",
|
|
66
|
+
"street",
|
|
67
|
+
"postalCode"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"city": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"minLength": 1,
|
|
73
|
+
"title": "City"
|
|
74
|
+
},
|
|
75
|
+
"street": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"minLength": 1,
|
|
78
|
+
"title": "Street"
|
|
79
|
+
},
|
|
80
|
+
"postalCode": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9 -]{1,11}$",
|
|
83
|
+
"title": "Postal code"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"title": "Postal address"
|
|
87
|
+
},
|
|
88
|
+
"preferredContact": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"oneOf": [
|
|
91
|
+
{
|
|
92
|
+
"title": "Email",
|
|
93
|
+
"properties": {
|
|
94
|
+
"email": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"format": "email",
|
|
97
|
+
"maxLength": 254,
|
|
98
|
+
"title": "Email"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": [
|
|
102
|
+
"email"
|
|
103
|
+
],
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"type": "object"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"title": "Phone",
|
|
109
|
+
"properties": {
|
|
110
|
+
"phone": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
113
|
+
"title": "Phone"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"phone"
|
|
118
|
+
],
|
|
119
|
+
"additionalProperties": false,
|
|
120
|
+
"type": "object"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"title": "Preferred contact"
|
|
124
|
+
},
|
|
125
|
+
"availableContacts": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"email": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"format": "email",
|
|
131
|
+
"maxLength": 254,
|
|
132
|
+
"title": "Email"
|
|
133
|
+
},
|
|
134
|
+
"phone": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
137
|
+
"title": "Phone"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"anyOf": [
|
|
141
|
+
{
|
|
142
|
+
"title": "Email",
|
|
143
|
+
"required": [
|
|
144
|
+
"email"
|
|
145
|
+
],
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"email": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"format": "email",
|
|
151
|
+
"maxLength": 254,
|
|
152
|
+
"title": "Email"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"title": "Phone",
|
|
158
|
+
"required": [
|
|
159
|
+
"phone"
|
|
160
|
+
],
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"phone": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
166
|
+
"title": "Phone"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"title": "Available contacts"
|
|
172
|
+
},
|
|
173
|
+
"billing": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"allOf": [
|
|
176
|
+
{
|
|
177
|
+
"properties": {
|
|
178
|
+
"name": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"minLength": 1,
|
|
181
|
+
"title": "Name"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"required": [
|
|
185
|
+
"name"
|
|
186
|
+
],
|
|
187
|
+
"type": "object"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"properties": {
|
|
191
|
+
"email": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"format": "email",
|
|
194
|
+
"maxLength": 254,
|
|
195
|
+
"title": "Email"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"email"
|
|
200
|
+
],
|
|
201
|
+
"type": "object"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"title": "Billing contact"
|
|
205
|
+
},
|
|
206
|
+
"department": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"enum": [
|
|
209
|
+
"engineering",
|
|
210
|
+
"research",
|
|
211
|
+
"operations"
|
|
212
|
+
],
|
|
213
|
+
"title": "Department"
|
|
214
|
+
},
|
|
215
|
+
"workMode": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"enum": [
|
|
218
|
+
"office",
|
|
219
|
+
"remote",
|
|
220
|
+
"hybrid"
|
|
221
|
+
],
|
|
222
|
+
"title": "Work mode"
|
|
223
|
+
},
|
|
224
|
+
"newsletter": {
|
|
225
|
+
"type": "boolean",
|
|
226
|
+
"title": "Job alerts"
|
|
227
|
+
},
|
|
228
|
+
"active": {
|
|
229
|
+
"type": "boolean",
|
|
230
|
+
"title": "Open to relocation"
|
|
231
|
+
},
|
|
232
|
+
"age": {
|
|
233
|
+
"type": "integer",
|
|
234
|
+
"minimum": 18,
|
|
235
|
+
"maximum": 120,
|
|
236
|
+
"title": "Age"
|
|
237
|
+
},
|
|
238
|
+
"budget": {
|
|
239
|
+
"type": "number",
|
|
240
|
+
"minimum": 0,
|
|
241
|
+
"maximum": 100000,
|
|
242
|
+
"multipleOf": 0.01,
|
|
243
|
+
"title": "Expected annual salary"
|
|
244
|
+
},
|
|
245
|
+
"allocation": {
|
|
246
|
+
"type": "integer",
|
|
247
|
+
"minimum": 0,
|
|
248
|
+
"maximum": 100,
|
|
249
|
+
"title": "Desired workload (%)"
|
|
250
|
+
},
|
|
251
|
+
"color": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"format": "color",
|
|
254
|
+
"title": "Accent color"
|
|
255
|
+
},
|
|
256
|
+
"startDate": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"format": "date",
|
|
259
|
+
"title": "Start date"
|
|
260
|
+
},
|
|
261
|
+
"startTime": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"format": "time",
|
|
264
|
+
"title": "Start time"
|
|
265
|
+
},
|
|
266
|
+
"appointment": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"format": "date-time",
|
|
269
|
+
"title": "Appointment"
|
|
270
|
+
},
|
|
271
|
+
"duration": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"format": "duration",
|
|
274
|
+
"title": "Contract duration"
|
|
275
|
+
},
|
|
276
|
+
"cron": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"format": "cron",
|
|
279
|
+
"title": "Reminder schedule"
|
|
280
|
+
},
|
|
281
|
+
"team": {
|
|
282
|
+
"type": "array",
|
|
283
|
+
"minItems": 1,
|
|
284
|
+
"items": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"required": [
|
|
287
|
+
"name",
|
|
288
|
+
"email",
|
|
289
|
+
"phone"
|
|
290
|
+
],
|
|
291
|
+
"properties": {
|
|
292
|
+
"name": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"minLength": 1,
|
|
295
|
+
"title": "Name"
|
|
296
|
+
},
|
|
297
|
+
"email": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"format": "email",
|
|
300
|
+
"maxLength": 254,
|
|
301
|
+
"title": "Email"
|
|
302
|
+
},
|
|
303
|
+
"phone": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
306
|
+
"title": "Phone"
|
|
307
|
+
},
|
|
308
|
+
"address": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"required": [
|
|
311
|
+
"city",
|
|
312
|
+
"street",
|
|
313
|
+
"postalCode"
|
|
314
|
+
],
|
|
315
|
+
"properties": {
|
|
316
|
+
"city": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"minLength": 1,
|
|
319
|
+
"title": "City"
|
|
320
|
+
},
|
|
321
|
+
"street": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"minLength": 1,
|
|
324
|
+
"title": "Street"
|
|
325
|
+
},
|
|
326
|
+
"postalCode": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9 -]{1,11}$",
|
|
329
|
+
"title": "Postal code"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"title": "Address"
|
|
333
|
+
},
|
|
334
|
+
"skills": {
|
|
335
|
+
"type": "array",
|
|
336
|
+
"minItems": 1,
|
|
337
|
+
"uniqueItems": true,
|
|
338
|
+
"items": {
|
|
339
|
+
"type": "string",
|
|
340
|
+
"minLength": 1
|
|
341
|
+
},
|
|
342
|
+
"title": "Skills"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"title": "References"
|
|
347
|
+
},
|
|
348
|
+
"gridTeam": {
|
|
349
|
+
"type": "array",
|
|
350
|
+
"minItems": 1,
|
|
351
|
+
"items": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"required": [
|
|
354
|
+
"name",
|
|
355
|
+
"email",
|
|
356
|
+
"phone"
|
|
357
|
+
],
|
|
358
|
+
"properties": {
|
|
359
|
+
"name": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"minLength": 1,
|
|
362
|
+
"title": "Name"
|
|
363
|
+
},
|
|
364
|
+
"email": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"format": "email",
|
|
367
|
+
"maxLength": 254,
|
|
368
|
+
"title": "Email"
|
|
369
|
+
},
|
|
370
|
+
"phone": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"pattern": "^\\+[1-9][0-9]{7,14}$",
|
|
373
|
+
"title": "Phone"
|
|
374
|
+
},
|
|
375
|
+
"address": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"required": [
|
|
378
|
+
"city",
|
|
379
|
+
"street",
|
|
380
|
+
"postalCode"
|
|
381
|
+
],
|
|
382
|
+
"properties": {
|
|
383
|
+
"city": {
|
|
384
|
+
"type": "string",
|
|
385
|
+
"minLength": 1,
|
|
386
|
+
"title": "City"
|
|
387
|
+
},
|
|
388
|
+
"street": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"minLength": 1,
|
|
391
|
+
"title": "Street"
|
|
392
|
+
},
|
|
393
|
+
"postalCode": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9 -]{1,11}$",
|
|
396
|
+
"title": "Postal code"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"title": "Address"
|
|
400
|
+
},
|
|
401
|
+
"skills": {
|
|
402
|
+
"type": "array",
|
|
403
|
+
"minItems": 1,
|
|
404
|
+
"uniqueItems": true,
|
|
405
|
+
"items": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"minLength": 1
|
|
408
|
+
},
|
|
409
|
+
"title": "Skills"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"title": "References"
|
|
414
|
+
},
|
|
415
|
+
"experience": {
|
|
416
|
+
"type": "array",
|
|
417
|
+
"items": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"required": [
|
|
420
|
+
"company",
|
|
421
|
+
"years"
|
|
422
|
+
],
|
|
423
|
+
"properties": {
|
|
424
|
+
"company": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"minLength": 1,
|
|
427
|
+
"title": "Company"
|
|
428
|
+
},
|
|
429
|
+
"years": {
|
|
430
|
+
"type": "integer",
|
|
431
|
+
"minimum": 0,
|
|
432
|
+
"maximum": 60,
|
|
433
|
+
"title": "Years"
|
|
434
|
+
},
|
|
435
|
+
"email": {
|
|
436
|
+
"type": "string",
|
|
437
|
+
"format": "email",
|
|
438
|
+
"maxLength": 254,
|
|
439
|
+
"title": "Email"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"title": "Work experience"
|
|
444
|
+
},
|
|
445
|
+
"tags": {
|
|
446
|
+
"type": "array",
|
|
447
|
+
"uniqueItems": true,
|
|
448
|
+
"maxItems": 10,
|
|
449
|
+
"items": {
|
|
450
|
+
"type": "string",
|
|
451
|
+
"minLength": 1
|
|
452
|
+
},
|
|
453
|
+
"title": "Skills"
|
|
454
|
+
},
|
|
455
|
+
"metadata": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"additionalProperties": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"maxLength": 80
|
|
460
|
+
},
|
|
461
|
+
"title": "Additional properties"
|
|
462
|
+
},
|
|
463
|
+
"tuple": {
|
|
464
|
+
"type": "array",
|
|
465
|
+
"items": [
|
|
466
|
+
{
|
|
467
|
+
"type": "number",
|
|
468
|
+
"minimum": -90,
|
|
469
|
+
"maximum": 90
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "number",
|
|
473
|
+
"minimum": -180,
|
|
474
|
+
"maximum": 180
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"additionalItems": false,
|
|
478
|
+
"minItems": 2,
|
|
479
|
+
"maxItems": 2,
|
|
480
|
+
"title": "Location tuple"
|
|
481
|
+
},
|
|
482
|
+
"payload": {
|
|
483
|
+
"type": [
|
|
484
|
+
"object",
|
|
485
|
+
"array",
|
|
486
|
+
"string",
|
|
487
|
+
"number",
|
|
488
|
+
"boolean",
|
|
489
|
+
"null"
|
|
490
|
+
],
|
|
491
|
+
"title": "Integration metadata"
|
|
492
|
+
},
|
|
493
|
+
"attachment": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"title": "Résumé (PDF)",
|
|
496
|
+
"format": "binary",
|
|
497
|
+
"contentMediaType": "application/pdf",
|
|
498
|
+
"contentEncoding": "base64"
|
|
499
|
+
},
|
|
500
|
+
"policy": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"minLength": 2,
|
|
503
|
+
"title": "Work sample (JSON)"
|
|
504
|
+
},
|
|
505
|
+
"position": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"minLength": 2,
|
|
508
|
+
"maxLength": 100
|
|
509
|
+
},
|
|
510
|
+
"termsAccepted": {
|
|
511
|
+
"type": "boolean",
|
|
512
|
+
"const": true
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|