@takeshape/schema 7.194.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/README.md +5 -0
- package/es/api-version.js +21 -0
- package/es/auth-schemas.js +0 -0
- package/es/builtin-schema.js +590 -0
- package/es/content-schema-transform.js +192 -0
- package/es/entitlements.js +0 -0
- package/es/enum.js +11 -0
- package/es/get-is-leaf.js +58 -0
- package/es/index.js +25 -0
- package/es/migration.js +413 -0
- package/es/mocks.js +47 -0
- package/es/patterns.js +0 -0
- package/es/project-schema/index.js +10 -0
- package/es/project-schema/v1.0.0.js +0 -0
- package/es/project-schema/v3.0.0.js +0 -0
- package/es/project-schema/v3.1.0.js +0 -0
- package/es/project-schema/v3.2.0.js +0 -0
- package/es/project-schema/v3.3.0.js +0 -0
- package/es/project-schema/v3.4.0.js +0 -0
- package/es/project-schema/v3.5.0.js +0 -0
- package/es/project-schema/v3.5.1.js +0 -0
- package/es/project-schema/v3.6.0.js +0 -0
- package/es/refs.js +301 -0
- package/es/resolvers.js +2 -0
- package/es/scalars.js +4 -0
- package/es/schema-util.js +1197 -0
- package/es/schemas/auth-schemas.json +313 -0
- package/es/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
- package/es/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
- package/es/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
- package/es/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
- package/es/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
- package/es/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
- package/es/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
- package/es/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
- package/es/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
- package/es/schemas/project-schema/v1.0.0.json +321 -0
- package/es/schemas/project-schema/v3.0.0.json +411 -0
- package/es/schemas/project-schema/v3.1.0.json +569 -0
- package/es/schemas/project-schema/v3.2.0.json +577 -0
- package/es/schemas/project-schema/v3.3.0.json +578 -0
- package/es/schemas/project-schema/v3.4.0.json +568 -0
- package/es/schemas/project-schema/v3.5.0.json +568 -0
- package/es/schemas/project-schema/v3.5.1.json +568 -0
- package/es/schemas/project-schema/v3.6.0.json +584 -0
- package/es/schemas/project-schema.json +16 -0
- package/es/schemas/user-schema.json +58 -0
- package/es/services.js +379 -0
- package/es/taxonomies.js +55 -0
- package/es/template-shapes.js +79 -0
- package/es/types.js +202 -0
- package/es/unions.js +137 -0
- package/es/user-schema.js +0 -0
- package/es/util/detect-cycles.js +54 -0
- package/es/util/index.js +1 -0
- package/es/validate.js +764 -0
- package/es/versions.js +4 -0
- package/es/workflows.js +69 -0
- package/examples/.pnpm-debug.log +20 -0
- package/examples/v1_0_0/beer-schema.json +125 -0
- package/examples/v1_0_0/blog-schema.json +192 -0
- package/examples/v1_0_0/brewery-schema.json +232 -0
- package/examples/v1_0_0/complex-project-schema.json +3197 -0
- package/examples/v1_0_0/error-schema.json +275 -0
- package/examples/v1_0_0/frank-and-fred-schema.json +21387 -0
- package/examples/v1_0_0/massive-schema.json +6930 -0
- package/examples/v1_0_0/post-schema.json +83 -0
- package/examples/v1_0_0/real-world-schema.json +797 -0
- package/examples/v1_0_0/recursive-repeater-schema.json +69 -0
- package/examples/v1_0_0/recursive-schema.json +79 -0
- package/examples/v1_0_0/schema-with-repeater-draftjs.json +292 -0
- package/examples/v1_0_0/shape-books.json +797 -0
- package/examples/v1_0_0/user-schema-no-required.json +84 -0
- package/examples/v1_0_0/user-schema-with-defaults.json +105 -0
- package/examples/v1_0_0/user-schema-with-obj-prop.json +92 -0
- package/examples/v1_0_0/user-schema.json +87 -0
- package/examples/v3_0_0/rick-and-morty-rest.json +62 -0
- package/examples/v3_0_0/shopify-lookbook.json +1172 -0
- package/examples/v3_0_0/shopify-store-with-widget.json +11323 -0
- package/examples/v3_2_0/blog-schema.json +378 -0
- package/examples/v3_2_0/brewery-schema.json +385 -0
- package/examples/v3_2_0/complex-project-schema.json +3748 -0
- package/examples/v3_2_0/frank-and-fred-schema.json +19217 -0
- package/examples/v3_2_0/massive-schema.json +6676 -0
- package/examples/v3_2_0/pet-oneof-array.json +323 -0
- package/examples/v3_2_0/post-schema.json +265 -0
- package/examples/v3_2_0/real-world-schema.json +970 -0
- package/examples/v3_2_0/recursive-repeater-schema.json +144 -0
- package/examples/v3_2_0/recursive-schema.json +151 -0
- package/examples/v3_2_0/rick-and-morty-rest.json +65 -0
- package/examples/v3_2_0/schema-with-repeater-draftjs.json +381 -0
- package/examples/v3_2_0/shape-books.json +1044 -0
- package/examples/v3_2_0/shopify-store-with-widget.json +11016 -0
- package/examples/v3_2_0/user-schema-no-required.json +174 -0
- package/examples/v3_2_0/user-schema-with-defaults.json +187 -0
- package/examples/v3_3_0/blog-schema.json +405 -0
- package/examples/v3_3_0/brewery-schema.json +406 -0
- package/examples/v3_3_0/complex-project-schema.json +4076 -0
- package/examples/v3_3_0/frank-and-fred-schema.json +20913 -0
- package/examples/v3_3_0/massive-schema.json +7309 -0
- package/examples/v3_3_0/pet-oneof-array.json +380 -0
- package/examples/v3_3_0/post-schema.json +248 -0
- package/examples/v3_3_0/real-world-schema.json +1046 -0
- package/examples/v3_3_0/recursive-repeater-schema.json +154 -0
- package/examples/v3_3_0/recursive-schema.json +161 -0
- package/examples/v3_3_0/rick-and-morty-rest.json +101 -0
- package/examples/v3_3_0/schema-with-repeater-draftjs.json +393 -0
- package/examples/v3_3_0/shape-books.json +1121 -0
- package/examples/v3_3_0/shopify-lookbook.json +1196 -0
- package/examples/v3_3_0/shopify-store-with-widget.json +11320 -0
- package/examples/v3_3_0/user-schema-no-required.json +185 -0
- package/examples/v3_3_0/user-schema-with-defaults.json +210 -0
- package/examples/v3_4_0/blog-schema.json +405 -0
- package/examples/v3_4_0/brewery-schema.json +406 -0
- package/examples/v3_4_0/complex-project-schema.json +4076 -0
- package/examples/v3_4_0/frank-and-fred-schema.json +20913 -0
- package/examples/v3_4_0/massive-schema.json +7309 -0
- package/examples/v3_4_0/pet-oneof-array.json +420 -0
- package/examples/v3_4_0/post-schema.json +248 -0
- package/examples/v3_4_0/real-world-schema.json +1046 -0
- package/examples/v3_4_0/recursive-repeater-schema.json +154 -0
- package/examples/v3_4_0/recursive-schema.json +161 -0
- package/examples/v3_4_0/rick-and-morty-rest.json +101 -0
- package/examples/v3_4_0/schema-with-repeater-draftjs.json +393 -0
- package/examples/v3_4_0/shape-books.json +1121 -0
- package/examples/v3_4_0/shopify-lookbook.json +1196 -0
- package/examples/v3_4_0/shopify-store-with-widget.json +11323 -0
- package/examples/v3_4_0/user-schema-no-required.json +185 -0
- package/examples/v3_4_0/user-schema-with-defaults.json +210 -0
- package/examples/v3_5_0/blog-schema.json +405 -0
- package/examples/v3_5_0/brewery-schema.json +406 -0
- package/examples/v3_5_0/complex-project-schema.json +4076 -0
- package/examples/v3_5_0/frank-and-fred-schema.json +20913 -0
- package/examples/v3_5_0/massive-schema.json +7309 -0
- package/examples/v3_5_0/pet-oneof-array.json +420 -0
- package/examples/v3_5_0/post-schema.json +248 -0
- package/examples/v3_5_0/real-world-schema.json +1046 -0
- package/examples/v3_5_0/recursive-repeater-schema.json +154 -0
- package/examples/v3_5_0/recursive-schema.json +161 -0
- package/examples/v3_5_0/rick-and-morty-rest.json +101 -0
- package/examples/v3_5_0/schema-with-repeater-draftjs.json +393 -0
- package/examples/v3_5_0/shape-books.json +1121 -0
- package/examples/v3_5_0/shopify-lookbook.json +1196 -0
- package/examples/v3_5_0/shopify-store-with-widget.json +12271 -0
- package/examples/v3_5_0/user-schema-no-required.json +185 -0
- package/examples/v3_5_0/user-schema-with-defaults.json +210 -0
- package/examples/v3_5_1/blog-schema.json +405 -0
- package/examples/v3_5_1/brewery-schema.json +406 -0
- package/examples/v3_5_1/complex-project-schema.json +4076 -0
- package/examples/v3_5_1/frank-and-fred-schema.json +20913 -0
- package/examples/v3_5_1/massive-schema.json +7309 -0
- package/examples/v3_5_1/pet-oneof-array.json +420 -0
- package/examples/v3_5_1/post-schema.json +248 -0
- package/examples/v3_5_1/real-world-schema.json +1046 -0
- package/examples/v3_5_1/recursive-repeater-schema.json +154 -0
- package/examples/v3_5_1/recursive-schema.json +161 -0
- package/examples/v3_5_1/rick-and-morty-rest.json +101 -0
- package/examples/v3_5_1/schema-with-repeater-draftjs.json +393 -0
- package/examples/v3_5_1/shape-books.json +1121 -0
- package/examples/v3_5_1/shopify-lookbook.json +1196 -0
- package/examples/v3_5_1/shopify-store-with-widget.json +12271 -0
- package/examples/v3_5_1/stripe-starter-resolved.json +21419 -0
- package/examples/v3_5_1/user-schema-no-required.json +185 -0
- package/examples/v3_5_1/user-schema-with-defaults.json +210 -0
- package/examples/v3_6_0/blog-schema.json +405 -0
- package/examples/v3_6_0/brewery-schema.json +406 -0
- package/examples/v3_6_0/complex-project-schema.json +4076 -0
- package/examples/v3_6_0/frank-and-fred-schema.json +20913 -0
- package/examples/v3_6_0/massive-schema.json +7309 -0
- package/examples/v3_6_0/pet-oneof-array.json +420 -0
- package/examples/v3_6_0/post-schema.json +248 -0
- package/examples/v3_6_0/real-world-schema.json +1046 -0
- package/examples/v3_6_0/recursive-repeater-schema.json +154 -0
- package/examples/v3_6_0/recursive-schema.json +161 -0
- package/examples/v3_6_0/rick-and-morty-rest.json +101 -0
- package/examples/v3_6_0/schema-with-repeater-draftjs.json +393 -0
- package/examples/v3_6_0/shape-books.json +1121 -0
- package/examples/v3_6_0/shopify-lookbook.json +1196 -0
- package/examples/v3_6_0/shopify-store-with-widget.json +12271 -0
- package/examples/v3_6_0/stripe-starter-resolved.json +21419 -0
- package/examples/v3_6_0/user-schema-no-required.json +185 -0
- package/examples/v3_6_0/user-schema-with-defaults.json +210 -0
- package/lib/api-version.d.ts +6 -0
- package/lib/api-version.d.ts.map +1 -0
- package/lib/api-version.js +36 -0
- package/lib/auth-schemas.d.ts +105 -0
- package/lib/auth-schemas.d.ts.map +1 -0
- package/lib/auth-schemas.js +1 -0
- package/lib/builtin-schema.d.ts +8 -0
- package/lib/builtin-schema.d.ts.map +1 -0
- package/lib/builtin-schema.js +606 -0
- package/lib/content-schema-transform.d.ts +41 -0
- package/lib/content-schema-transform.d.ts.map +1 -0
- package/lib/content-schema-transform.js +217 -0
- package/lib/entitlements.d.ts +1 -0
- package/lib/entitlements.d.ts.map +1 -0
- package/lib/entitlements.js +1 -0
- package/lib/enum.d.ts +3 -0
- package/lib/enum.d.ts.map +1 -0
- package/lib/enum.js +18 -0
- package/lib/get-is-leaf.d.ts +4 -0
- package/lib/get-is-leaf.d.ts.map +1 -0
- package/lib/get-is-leaf.js +68 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +359 -0
- package/lib/migration.d.ts +55 -0
- package/lib/migration.d.ts.map +1 -0
- package/lib/migration.js +463 -0
- package/lib/mocks.d.ts +13 -0
- package/lib/mocks.d.ts.map +1 -0
- package/lib/mocks.js +61 -0
- package/lib/patterns.d.ts +13 -0
- package/lib/patterns.d.ts.map +1 -0
- package/lib/patterns.js +1 -0
- package/lib/project-schema/index.d.ts +21 -0
- package/lib/project-schema/index.d.ts.map +1 -0
- package/lib/project-schema/index.js +122 -0
- package/lib/project-schema/v1.0.0.d.ts +293 -0
- package/lib/project-schema/v1.0.0.d.ts.map +1 -0
- package/lib/project-schema/v1.0.0.js +1 -0
- package/lib/project-schema/v3.0.0.d.ts +480 -0
- package/lib/project-schema/v3.0.0.d.ts.map +1 -0
- package/lib/project-schema/v3.0.0.js +1 -0
- package/lib/project-schema/v3.1.0.d.ts +623 -0
- package/lib/project-schema/v3.1.0.d.ts.map +1 -0
- package/lib/project-schema/v3.1.0.js +1 -0
- package/lib/project-schema/v3.2.0.d.ts +634 -0
- package/lib/project-schema/v3.2.0.d.ts.map +1 -0
- package/lib/project-schema/v3.2.0.js +1 -0
- package/lib/project-schema/v3.3.0.d.ts +634 -0
- package/lib/project-schema/v3.3.0.d.ts.map +1 -0
- package/lib/project-schema/v3.3.0.js +1 -0
- package/lib/project-schema/v3.4.0.d.ts +626 -0
- package/lib/project-schema/v3.4.0.d.ts.map +1 -0
- package/lib/project-schema/v3.4.0.js +1 -0
- package/lib/project-schema/v3.5.0.d.ts +651 -0
- package/lib/project-schema/v3.5.0.d.ts.map +1 -0
- package/lib/project-schema/v3.5.0.js +1 -0
- package/lib/project-schema/v3.5.1.d.ts +651 -0
- package/lib/project-schema/v3.5.1.d.ts.map +1 -0
- package/lib/project-schema/v3.5.1.js +1 -0
- package/lib/project-schema/v3.6.0.d.ts +660 -0
- package/lib/project-schema/v3.6.0.d.ts.map +1 -0
- package/lib/project-schema/v3.6.0.js +1 -0
- package/lib/refs.d.ts +122 -0
- package/lib/refs.d.ts.map +1 -0
- package/lib/refs.js +359 -0
- package/lib/resolvers.d.ts +4 -0
- package/lib/resolvers.d.ts.map +1 -0
- package/lib/resolvers.js +10 -0
- package/lib/scalars.d.ts +3 -0
- package/lib/scalars.d.ts.map +1 -0
- package/lib/scalars.js +13 -0
- package/lib/schema-util.d.ts +201 -0
- package/lib/schema-util.d.ts.map +1 -0
- package/lib/schema-util.js +1353 -0
- package/lib/schemas/auth-schemas.json +313 -0
- package/lib/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
- package/lib/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
- package/lib/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
- package/lib/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
- package/lib/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
- package/lib/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
- package/lib/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
- package/lib/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
- package/lib/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
- package/lib/schemas/project-schema/v1.0.0.json +321 -0
- package/lib/schemas/project-schema/v3.0.0.json +411 -0
- package/lib/schemas/project-schema/v3.1.0.json +569 -0
- package/lib/schemas/project-schema/v3.2.0.json +577 -0
- package/lib/schemas/project-schema/v3.3.0.json +578 -0
- package/lib/schemas/project-schema/v3.4.0.json +568 -0
- package/lib/schemas/project-schema/v3.5.0.json +568 -0
- package/lib/schemas/project-schema/v3.5.1.json +568 -0
- package/lib/schemas/project-schema/v3.6.0.json +584 -0
- package/lib/schemas/project-schema.json +16 -0
- package/lib/schemas/user-schema.json +58 -0
- package/lib/services.d.ts +71 -0
- package/lib/services.d.ts.map +1 -0
- package/lib/services.js +413 -0
- package/lib/taxonomies.d.ts +16 -0
- package/lib/taxonomies.d.ts.map +1 -0
- package/lib/taxonomies.js +69 -0
- package/lib/template-shapes.d.ts +32 -0
- package/lib/template-shapes.d.ts.map +1 -0
- package/lib/template-shapes.js +100 -0
- package/lib/types.d.ts +187 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +289 -0
- package/lib/unions.d.ts +29 -0
- package/lib/unions.d.ts.map +1 -0
- package/lib/unions.js +167 -0
- package/lib/user-schema.d.ts +39 -0
- package/lib/user-schema.d.ts.map +1 -0
- package/lib/user-schema.js +1 -0
- package/lib/util/detect-cycles.d.ts +6 -0
- package/lib/util/detect-cycles.d.ts.map +1 -0
- package/lib/util/detect-cycles.js +61 -0
- package/lib/util/index.d.ts +2 -0
- package/lib/util/index.d.ts.map +1 -0
- package/lib/util/index.js +18 -0
- package/lib/validate.d.ts +49 -0
- package/lib/validate.d.ts.map +1 -0
- package/lib/validate.js +823 -0
- package/lib/versions.d.ts +5 -0
- package/lib/versions.d.ts.map +1 -0
- package/lib/versions.js +14 -0
- package/lib/workflows.d.ts +15 -0
- package/lib/workflows.d.ts.map +1 -0
- package/lib/workflows.js +92 -0
- package/package.json +65 -0
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schema.takeshape.io/project-schema/v3.6.0#",
|
|
4
|
+
"title": "Project Schema",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"shape": {
|
|
7
|
+
"title": "Shape",
|
|
8
|
+
"description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"name": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
14
|
+
"description": "The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations"
|
|
15
|
+
},
|
|
16
|
+
"id": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"pattern": "[0-9A-Za-z_-]+",
|
|
19
|
+
"description": "The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable \"table name\" and changing it will result in orphaning that data."
|
|
20
|
+
},
|
|
21
|
+
"title": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The human-readable name for a Shape for use in a UI."
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"model": {
|
|
29
|
+
"description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"type": {
|
|
33
|
+
"title": "Model Type",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["single", "multiple", "taxonomy"]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": ["type"],
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
},
|
|
41
|
+
"workflow": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"schema": {
|
|
45
|
+
"$ref": "https://schema.takeshape.io/project-schema/meta-schema-v3.6.0#/definitions/contentObjectSchema"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": ["name", "title", "id", "schema"]
|
|
49
|
+
},
|
|
50
|
+
"shapeWithObjectSchema": {
|
|
51
|
+
"title": "Shape With Object Schema",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"allOf": [
|
|
54
|
+
{
|
|
55
|
+
"$ref": "#/definitions/shape"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"schema": {
|
|
61
|
+
"$ref": "https://schema.takeshape.io/project-schema/meta-schema-v3.6.0#/definitions/objectSchema"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": ["schema"],
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"shapeMap": {
|
|
70
|
+
"title": "Shape Map",
|
|
71
|
+
"type": "object",
|
|
72
|
+
"patternProperties": {
|
|
73
|
+
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/shape"}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"formMap": {
|
|
77
|
+
"title": "Form Map",
|
|
78
|
+
"type": "object",
|
|
79
|
+
"patternProperties": {
|
|
80
|
+
"[0-9A-Za-z_-]+": {
|
|
81
|
+
"$ref": "#/definitions/formsConfig"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"formScalarConfig": {
|
|
86
|
+
"title": "Form Scalar Config",
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"widget": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": ["widget"]
|
|
95
|
+
},
|
|
96
|
+
"formObjectConfig": {
|
|
97
|
+
"title": "Form Object Config",
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"widget": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"order": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"properties": {
|
|
110
|
+
"patternProperties": {
|
|
111
|
+
"[0-9A-Za-z_-]+": {
|
|
112
|
+
"$ref": "#/definitions/formConfig"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
},
|
|
119
|
+
"formArrayConfig": {
|
|
120
|
+
"title": "Form Array Config",
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"widget": {
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"items": {
|
|
127
|
+
"$ref": "#/definitions/formConfig"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"additionalProperties": false,
|
|
131
|
+
"required": ["widget", "items"]
|
|
132
|
+
},
|
|
133
|
+
"customAuthentication": {
|
|
134
|
+
"title": "Custom Authentication",
|
|
135
|
+
"description": "For use with a custom auth handler on a service provider.",
|
|
136
|
+
"type": "object"
|
|
137
|
+
},
|
|
138
|
+
"searchParamsAuthentication": {
|
|
139
|
+
"title": "Search Params Authentication",
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"properties": {
|
|
143
|
+
"name": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"value": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": ["name", "value"],
|
|
151
|
+
"additionalProperties": false
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"bearerAuthentication": {
|
|
155
|
+
"title": "Bearer Authentication",
|
|
156
|
+
"type": "object",
|
|
157
|
+
"properties": {
|
|
158
|
+
"token": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"prefix": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"header": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"additionalProperties": false
|
|
169
|
+
},
|
|
170
|
+
"oauth2BearerAuthentication": {
|
|
171
|
+
"title": "OAuth 2 Bearer Authentication",
|
|
172
|
+
"type": "object",
|
|
173
|
+
"properties": {
|
|
174
|
+
"token": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"prefix": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"header": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"scope": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"expiresAt": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"additionalProperties": false
|
|
191
|
+
},
|
|
192
|
+
"basicAuthentication": {
|
|
193
|
+
"title": "Basic Authentication",
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"username": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"password": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"useIso8859": {
|
|
203
|
+
"type": "boolean"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"additionalProperties": false
|
|
207
|
+
},
|
|
208
|
+
"oauth2Authentication": {
|
|
209
|
+
"title": "OAuth 2 Authentication",
|
|
210
|
+
"type": "object",
|
|
211
|
+
"properties": {
|
|
212
|
+
"grantType": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"enum": ["authorizationCode", "clientCredentials"]
|
|
215
|
+
},
|
|
216
|
+
"authorizationUrl": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"accessTokenUrl": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"clientId": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"clientSecret": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
},
|
|
228
|
+
"scope": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"usePkce": {
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
},
|
|
234
|
+
"redirectUrl": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"headerPrefix": {
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
240
|
+
"audience": {
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"resource": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"additionalProperties": false
|
|
248
|
+
},
|
|
249
|
+
"awsAuthentication": {
|
|
250
|
+
"title": "AWS Authentication",
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"awsAccessKeyId": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"awsSecretAccessKey": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"additionalProperties": false
|
|
261
|
+
},
|
|
262
|
+
"serviceAuthentication": {
|
|
263
|
+
"title": "Service Authentication",
|
|
264
|
+
"oneOf": [
|
|
265
|
+
{
|
|
266
|
+
"$ref": "#/definitions/oauth2Authentication"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"$ref": "#/definitions/oauth2BearerAuthentication"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"$ref": "#/definitions/bearerAuthentication"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"$ref": "#/definitions/basicAuthentication"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"$ref": "#/definitions/searchParamsAuthentication"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"$ref": "#/definitions/awsAuthentication"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"$ref": "#/definitions/customAuthentication"
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"serviceType": {
|
|
289
|
+
"title": "Service Type",
|
|
290
|
+
"description": "The general type of this service, specifying how and where it will be utilized.",
|
|
291
|
+
"type": "string",
|
|
292
|
+
"enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
|
|
293
|
+
},
|
|
294
|
+
"serviceConfig": {
|
|
295
|
+
"title": "Service Config",
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"id": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"description": "Machine-readable identifier, should typically be the same as the property name on the services object."
|
|
301
|
+
},
|
|
302
|
+
"title": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "Human-readable name for this service."
|
|
305
|
+
},
|
|
306
|
+
"provider": {
|
|
307
|
+
"description": "The service provider id.",
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"namespace": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "A namespace to use for the imported types tied to this service."
|
|
313
|
+
},
|
|
314
|
+
"serviceType": {
|
|
315
|
+
"$ref": "#/definitions/serviceType"
|
|
316
|
+
},
|
|
317
|
+
"authenticationType": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
|
|
320
|
+
},
|
|
321
|
+
"authentication": {
|
|
322
|
+
"$ref": "#/definitions/serviceAuthentication"
|
|
323
|
+
},
|
|
324
|
+
"webhookId": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"options": {
|
|
328
|
+
"type": "object",
|
|
329
|
+
"description": "Configuration options passed to and handled by the provider."
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": ["id", "title", "provider", "serviceType", "authenticationType"],
|
|
333
|
+
"additionalProperties": false
|
|
334
|
+
},
|
|
335
|
+
"storedServiceConfig": {
|
|
336
|
+
"title": "Stored Service Config",
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"id": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Machine-readable identifier, should typically be the same as the property name on the services object."
|
|
342
|
+
},
|
|
343
|
+
"title": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"description": "Human-readable name for this service."
|
|
346
|
+
},
|
|
347
|
+
"provider": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"description": "The service provider id."
|
|
350
|
+
},
|
|
351
|
+
"namespace": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"description": "A namespace to use for the imported types tied to this service."
|
|
354
|
+
},
|
|
355
|
+
"serviceType": {
|
|
356
|
+
"$ref": "#/definitions/serviceType"
|
|
357
|
+
},
|
|
358
|
+
"authenticationType": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
|
|
361
|
+
},
|
|
362
|
+
"authentication": {
|
|
363
|
+
"type": "string"
|
|
364
|
+
},
|
|
365
|
+
"webhookId": {
|
|
366
|
+
"type": "string"
|
|
367
|
+
},
|
|
368
|
+
"options": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"description": "Configuration options passed to and handled by the provider."
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"required": ["id", "title", "provider", "serviceType", "authenticationType"],
|
|
374
|
+
"additionalProperties": false
|
|
375
|
+
},
|
|
376
|
+
"anyServiceConfig": {
|
|
377
|
+
"title": "Any Service Config",
|
|
378
|
+
"oneOf": [
|
|
379
|
+
{
|
|
380
|
+
"$ref": "#/definitions/storedServiceConfig"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"$ref": "#/definitions/serviceConfig"
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
"storedServiceMap": {
|
|
388
|
+
"title": "Stored Service Map",
|
|
389
|
+
"type": "object",
|
|
390
|
+
"patternProperties": {
|
|
391
|
+
"[0-9A-Za-z_-]+": {
|
|
392
|
+
"$ref": "#/definitions/storedServiceConfig"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"workflowStep": {
|
|
397
|
+
"title": "Workflow Step",
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"name": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"title": "Name",
|
|
403
|
+
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
404
|
+
"description": "machine-readable slug"
|
|
405
|
+
},
|
|
406
|
+
"title": {
|
|
407
|
+
"title": "Title",
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "Human-readable id for use in the UI"
|
|
410
|
+
},
|
|
411
|
+
"description": {
|
|
412
|
+
"title": "Description",
|
|
413
|
+
"type": "string"
|
|
414
|
+
},
|
|
415
|
+
"color": {
|
|
416
|
+
"title": "Color",
|
|
417
|
+
"type": "string",
|
|
418
|
+
"description": "Hex color code"
|
|
419
|
+
},
|
|
420
|
+
"live": {
|
|
421
|
+
"title": "Live",
|
|
422
|
+
"type": "boolean",
|
|
423
|
+
"description": "Value to indicate whether items in the state should be returned in list queries"
|
|
424
|
+
},
|
|
425
|
+
"key": {
|
|
426
|
+
"title": "Key",
|
|
427
|
+
"type": "string",
|
|
428
|
+
"description": "machine-readable id"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": ["name", "title", "color", "live", "key"],
|
|
432
|
+
"additionalProperties": false
|
|
433
|
+
},
|
|
434
|
+
"workflow": {
|
|
435
|
+
"title": "Workflow",
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {
|
|
438
|
+
"name": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
441
|
+
"description": "machine-readable id"
|
|
442
|
+
},
|
|
443
|
+
"title": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"title": "Workflow Name",
|
|
446
|
+
"minLength": 1,
|
|
447
|
+
"description": "Human-readable id for use in the UI"
|
|
448
|
+
},
|
|
449
|
+
"steps": {
|
|
450
|
+
"type": "array",
|
|
451
|
+
"title": "Steps",
|
|
452
|
+
"items": {
|
|
453
|
+
"$ref": "#/definitions/workflowStep"
|
|
454
|
+
},
|
|
455
|
+
"minItems": 1
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"required": ["name", "title", "steps"]
|
|
459
|
+
},
|
|
460
|
+
"workflowMap": {
|
|
461
|
+
"title": "Workflow Map",
|
|
462
|
+
"type": "object",
|
|
463
|
+
"patternProperties": {
|
|
464
|
+
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/workflow"}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"formConfig": {
|
|
468
|
+
"title": "Form Config",
|
|
469
|
+
"type": "object"
|
|
470
|
+
},
|
|
471
|
+
"formsConfig": {
|
|
472
|
+
"title": "Forms Config",
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"default": {
|
|
476
|
+
"$ref": "#/definitions/formConfig"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"patternProperties": {
|
|
480
|
+
"[0-9A-Za-z_-]+": {
|
|
481
|
+
"$ref": "#/definitions/formConfig"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"required": ["default"]
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"properties": {
|
|
488
|
+
"$schema": {
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
"version": {
|
|
492
|
+
"type": "number",
|
|
493
|
+
"description": "This is the revision number of your schema. Every time your project schema is updated, this value should be incremented."
|
|
494
|
+
},
|
|
495
|
+
"apiVersion": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
|
|
498
|
+
},
|
|
499
|
+
"schemaVersion": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"enum": ["3.6.0"],
|
|
502
|
+
"description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
|
|
503
|
+
},
|
|
504
|
+
"projectId": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"description": "The ID of the TakeShape project this schema belongs to."
|
|
507
|
+
},
|
|
508
|
+
"author": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "The ID of the TakeShape user who created the schema."
|
|
511
|
+
},
|
|
512
|
+
"created": {
|
|
513
|
+
"type": "string",
|
|
514
|
+
"format": "date-time",
|
|
515
|
+
"description": "The date the schema was created"
|
|
516
|
+
},
|
|
517
|
+
"updated": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"format": "date-time",
|
|
520
|
+
"description": "The date the schema was last updated"
|
|
521
|
+
},
|
|
522
|
+
"deactivated": {
|
|
523
|
+
"type": "number"
|
|
524
|
+
},
|
|
525
|
+
"defaultLocale": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"minLength": 1,
|
|
528
|
+
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$",
|
|
529
|
+
"description": "The locale that should be preferred when creating new Shape items. This must be an entry in the locales array."
|
|
530
|
+
},
|
|
531
|
+
"locales": {
|
|
532
|
+
"type": "array",
|
|
533
|
+
"minItems": 1,
|
|
534
|
+
"items": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"minLength": 1,
|
|
537
|
+
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"queries": {
|
|
541
|
+
"$ref": "https://schema.takeshape.io/project-schema/meta-schema-v3.6.0#/definitions/queryMap",
|
|
542
|
+
"description": "Queries map directly to queries your project's GraphQL API"
|
|
543
|
+
},
|
|
544
|
+
"mutations": {
|
|
545
|
+
"$ref": "https://schema.takeshape.io/project-schema/meta-schema-v3.6.0#/definitions/queryMap",
|
|
546
|
+
"description": "Mutations map directly to mutations your project's GraphQL API"
|
|
547
|
+
},
|
|
548
|
+
"shapes": {
|
|
549
|
+
"$ref": "#/definitions/shapeMap",
|
|
550
|
+
"description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
|
|
551
|
+
},
|
|
552
|
+
"forms": {
|
|
553
|
+
"$ref": "#/definitions/formMap",
|
|
554
|
+
"description": "Forms define a visual interface for editing Shapes in the TakeShape UI."
|
|
555
|
+
},
|
|
556
|
+
"workflows": {
|
|
557
|
+
"$ref": "#/definitions/workflowMap",
|
|
558
|
+
"description": "Workflows describe the status of a shape item. Every schema starts with a default workflow with two steps, Disabled and Enabled"
|
|
559
|
+
},
|
|
560
|
+
"dataKey": {
|
|
561
|
+
"type": "string"
|
|
562
|
+
},
|
|
563
|
+
"services": {
|
|
564
|
+
"$ref": "#/definitions/storedServiceMap",
|
|
565
|
+
"description": "By connecting new Services to your project schema, you can add shapes, queries, and mutations from 3rd party sources to your API in TakeShape. This allows you to mesh together exactly the API you need to interact with all of the services your app or business depends upon. Services use an encrypted configuration to keep auth tokens secret. For this reason, services can only be added to a schema through the web client or through the Admin API."
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"additionalProperties": false,
|
|
569
|
+
"required": [
|
|
570
|
+
"projectId",
|
|
571
|
+
"created",
|
|
572
|
+
"updated",
|
|
573
|
+
"apiVersion",
|
|
574
|
+
"schemaVersion",
|
|
575
|
+
"version",
|
|
576
|
+
"defaultLocale",
|
|
577
|
+
"locales",
|
|
578
|
+
"shapes",
|
|
579
|
+
"queries",
|
|
580
|
+
"mutations",
|
|
581
|
+
"workflows",
|
|
582
|
+
"dataKey"
|
|
583
|
+
]
|
|
584
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schema.takeshape.io/project-schema#",
|
|
4
|
+
"title": "Any Project Schema",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v1.0.0#"},
|
|
7
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.0.0#"},
|
|
8
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.1.0#"},
|
|
9
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.2.0#"},
|
|
10
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.3.0#"},
|
|
11
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.4.0#"},
|
|
12
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.5.0#"},
|
|
13
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.5.1#"},
|
|
14
|
+
{"$ref": "https://schema.takeshape.io/project-schema/v3.6.0#"}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schema.takeshape.io/user-schema#",
|
|
4
|
+
"title": "User",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"email": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"fullName": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"created": {
|
|
16
|
+
"type": "number"
|
|
17
|
+
},
|
|
18
|
+
"updated": {
|
|
19
|
+
"type": "number"
|
|
20
|
+
},
|
|
21
|
+
"firstTime": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"avatarPath": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"intercomHash": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"googleUserId": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"comcastId": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"token": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"policies": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"$ref": "src/schemas/auth-schemas.json#/definitions/AccessPolicyDocument"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"preferences": {
|
|
46
|
+
"type": "object"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": [
|
|
51
|
+
"id",
|
|
52
|
+
"email",
|
|
53
|
+
"fullName",
|
|
54
|
+
"created",
|
|
55
|
+
"updated",
|
|
56
|
+
"firstTime"
|
|
57
|
+
]
|
|
58
|
+
}
|