@takeshape/schema 8.20.1 → 8.20.2

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.
Files changed (117) hide show
  1. package/es/enum.js +1 -1
  2. package/es/get-is-leaf.js +5 -5
  3. package/es/layers/type-utils.js +2 -2
  4. package/es/migration.js +59 -1
  5. package/es/project-schema/index.js +1 -0
  6. package/es/project-schema/v3.10.0.js +1 -0
  7. package/es/refs.js +19 -19
  8. package/es/schema-util.js +7 -7
  9. package/es/schemas/index.js +15 -15
  10. package/es/schemas/index.ts +26 -25
  11. package/es/schemas/project-schema/v3.10.0.json +2091 -0
  12. package/es/schemas/project-schema/v4.0.0.json +8 -6
  13. package/es/schemas/project-schema.json +2 -1
  14. package/es/types/types.js +1 -1
  15. package/es/types/utils.js +20 -19
  16. package/es/util/detect-cycles.js +1 -1
  17. package/es/validate.js +8 -5
  18. package/examples/latest/blog-schema.json +32 -32
  19. package/examples/latest/brewery-schema.json +53 -53
  20. package/examples/latest/complex-project-schema.json +3278 -3278
  21. package/examples/latest/fabric-ecommerce.json +130 -130
  22. package/examples/latest/frank-and-fred-schema.json +15588 -15588
  23. package/examples/latest/massive-schema.json +5836 -5836
  24. package/examples/latest/mill-components-schema.json +876 -876
  25. package/examples/latest/pet-oneof-array.json +77 -77
  26. package/examples/latest/post-schema.json +23 -23
  27. package/examples/latest/pruned-shopify-product-schema.json +19 -19
  28. package/examples/latest/real-world-schema.json +166 -166
  29. package/examples/latest/recursive-repeater-schema.json +14 -14
  30. package/examples/latest/recursive-schema.json +14 -14
  31. package/examples/latest/rick-and-morty-ast.json +1875 -1896
  32. package/examples/latest/rick-and-morty-graphql.json +1093 -1093
  33. package/examples/latest/rick-and-morty-rest.json +20 -20
  34. package/examples/latest/schema-with-repeater-draftjs.json +9 -9
  35. package/examples/latest/shape-books-v3_2_0.json +218 -218
  36. package/examples/latest/shape-books.json +218 -218
  37. package/examples/latest/shopify-lookbook.json +147 -147
  38. package/examples/latest/shopify-store-with-widget.json +10420 -10420
  39. package/examples/latest/stripe-starter-resolved.json +1018 -1018
  40. package/examples/latest/user-schema-no-required.json +19 -19
  41. package/examples/latest/user-schema-with-defaults.json +20 -20
  42. package/examples/source/rick-and-morty-ast.json +0 -21
  43. package/lib/content-schema-transform.d.ts +13 -13
  44. package/lib/content-schema-transform.d.ts.map +1 -1
  45. package/lib/enum.d.ts +2 -2
  46. package/lib/enum.d.ts.map +1 -1
  47. package/lib/enum.js +2 -2
  48. package/lib/get-is-leaf.d.ts +2 -2
  49. package/lib/get-is-leaf.d.ts.map +1 -1
  50. package/lib/get-is-leaf.js +5 -5
  51. package/lib/layers/type-utils.js +1 -1
  52. package/lib/migration.d.ts +6 -5
  53. package/lib/migration.d.ts.map +1 -1
  54. package/lib/migration.js +60 -0
  55. package/lib/project-schema/index.d.ts +3 -1
  56. package/lib/project-schema/index.d.ts.map +1 -1
  57. package/lib/project-schema/index.js +25 -12
  58. package/lib/project-schema/latest.d.ts +260 -238
  59. package/lib/project-schema/latest.d.ts.map +1 -1
  60. package/lib/project-schema/v1.0.0.d.ts +14 -7
  61. package/lib/project-schema/v1.0.0.d.ts.map +1 -1
  62. package/lib/project-schema/v3.0.0.d.ts +24 -25
  63. package/lib/project-schema/v3.0.0.d.ts.map +1 -1
  64. package/lib/project-schema/v3.1.0.d.ts +42 -43
  65. package/lib/project-schema/v3.1.0.d.ts.map +1 -1
  66. package/lib/project-schema/v3.10.0.d.ts +1202 -0
  67. package/lib/project-schema/v3.10.0.d.ts.map +1 -0
  68. package/lib/project-schema/v3.10.0.js +5 -0
  69. package/lib/project-schema/v3.2.0.d.ts +42 -43
  70. package/lib/project-schema/v3.2.0.d.ts.map +1 -1
  71. package/lib/project-schema/v3.3.0.d.ts +42 -43
  72. package/lib/project-schema/v3.3.0.d.ts.map +1 -1
  73. package/lib/project-schema/v3.4.0.d.ts +42 -43
  74. package/lib/project-schema/v3.4.0.d.ts.map +1 -1
  75. package/lib/project-schema/v3.5.0.d.ts +42 -43
  76. package/lib/project-schema/v3.5.0.d.ts.map +1 -1
  77. package/lib/project-schema/v3.5.1.d.ts +42 -43
  78. package/lib/project-schema/v3.5.1.d.ts.map +1 -1
  79. package/lib/project-schema/v3.6.0.d.ts +42 -43
  80. package/lib/project-schema/v3.6.0.d.ts.map +1 -1
  81. package/lib/project-schema/v3.7.0.d.ts +42 -43
  82. package/lib/project-schema/v3.7.0.d.ts.map +1 -1
  83. package/lib/project-schema/v3.8.0.d.ts +42 -43
  84. package/lib/project-schema/v3.8.0.d.ts.map +1 -1
  85. package/lib/project-schema/v3.9.0.d.ts +42 -43
  86. package/lib/project-schema/v3.9.0.d.ts.map +1 -1
  87. package/lib/project-schema/v4.0.0.d.ts +54 -52
  88. package/lib/project-schema/v4.0.0.d.ts.map +1 -1
  89. package/lib/refs.d.ts +8 -8
  90. package/lib/refs.d.ts.map +1 -1
  91. package/lib/refs.js +19 -19
  92. package/lib/schema-util.d.ts +23 -23
  93. package/lib/schema-util.d.ts.map +1 -1
  94. package/lib/schema-util.js +7 -7
  95. package/lib/schemas/index.d.ts +3421 -3420
  96. package/lib/schemas/index.d.ts.map +1 -1
  97. package/lib/schemas/index.js +26 -30
  98. package/lib/schemas/index.ts +26 -25
  99. package/lib/schemas/project-schema/v3.10.0.json +2091 -0
  100. package/lib/schemas/project-schema/v4.0.0.json +8 -6
  101. package/lib/schemas/project-schema.json +2 -1
  102. package/lib/types/types.d.ts +7 -7
  103. package/lib/types/types.d.ts.map +1 -1
  104. package/lib/types/types.js +1 -1
  105. package/lib/types/utils.d.ts +9 -8
  106. package/lib/types/utils.d.ts.map +1 -1
  107. package/lib/types/utils.js +25 -23
  108. package/lib/unions.d.ts +8 -8
  109. package/lib/unions.d.ts.map +1 -1
  110. package/lib/util/detect-cycles.d.ts +2 -2
  111. package/lib/util/detect-cycles.d.ts.map +1 -1
  112. package/lib/util/detect-cycles.js +1 -1
  113. package/lib/validate.d.ts.map +1 -1
  114. package/lib/validate.js +7 -4
  115. package/lib/workflows.d.ts +2 -2
  116. package/lib/workflows.d.ts.map +1 -1
  117. package/package.json +5 -5
@@ -3,6 +3,7 @@
3
3
  "$id": "https://schema.takeshape.io/project-schema/v4.0.0#",
4
4
  "definitions": {
5
5
  "schemaArray": {
6
+ "title": "Schema Array",
6
7
  "type": "array",
7
8
  "minItems": 1,
8
9
  "items": {
@@ -10,10 +11,12 @@
10
11
  }
11
12
  },
12
13
  "nonNegativeInteger": {
14
+ "title": "Non Negative Integer",
13
15
  "type": "integer",
14
16
  "minimum": 0
15
17
  },
16
18
  "nonNegativeIntegerDefault0": {
19
+ "title": "Non Negative Integer Default 0",
17
20
  "allOf": [
18
21
  {
19
22
  "$ref": "#/definitions/nonNegativeInteger"
@@ -24,9 +27,11 @@
24
27
  ]
25
28
  },
26
29
  "simpleTypes": {
30
+ "title": "Simple Types",
27
31
  "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
28
32
  },
29
33
  "stringArray": {
34
+ "title": "String Array",
30
35
  "type": "array",
31
36
  "items": {
32
37
  "type": "string"
@@ -57,6 +62,7 @@
57
62
  "additionalProperties": false
58
63
  },
59
64
  "mappingString": {
65
+ "title": "Mapping String",
60
66
  "type": "string",
61
67
  "pattern": "^[\\w-]+(?::[\\w-]+)+(?:\\.[\\w-]+)+$"
62
68
  },
@@ -79,7 +85,7 @@
79
85
  "type": "object",
80
86
  "properties": {
81
87
  "@ref": {
82
- "$ref": "#/definitions/ref"
88
+ "type": "string"
83
89
  }
84
90
  },
85
91
  "required": ["@ref"]
@@ -89,7 +95,7 @@
89
95
  "type": "object",
90
96
  "properties": {
91
97
  "$ref": {
92
- "$ref": "#/definitions/ref"
98
+ "type": "string"
93
99
  }
94
100
  },
95
101
  "required": ["$ref"]
@@ -1220,10 +1226,6 @@
1220
1226
  "title": "Resolver",
1221
1227
  "oneOf": [{"$ref": "#/definitions/basicResolver"}, {"$ref": "#/definitions/composeResolver"}]
1222
1228
  },
1223
- "ref": {
1224
- "title": "Ref",
1225
- "type": "string"
1226
- },
1227
1229
  "query": {
1228
1230
  "title": "Query",
1229
1231
  "type": "object",
@@ -14,6 +14,7 @@
14
14
  {"$ref": "https://schema.takeshape.io/project-schema/v3.6.0#"},
15
15
  {"$ref": "https://schema.takeshape.io/project-schema/v3.7.0#"},
16
16
  {"$ref": "https://schema.takeshape.io/project-schema/v3.8.0#"},
17
- {"$ref": "https://schema.takeshape.io/project-schema/v3.9.0#"}
17
+ {"$ref": "https://schema.takeshape.io/project-schema/v3.9.0#"},
18
+ {"$ref": "https://schema.takeshape.io/project-schema/v3.10.0#"}
18
19
  ]
19
20
  }
package/es/types/types.js CHANGED
@@ -18,7 +18,7 @@
18
18
  */
19
19
  export let RefType;
20
20
  /**
21
- * Stub of a ContentSchema that may contain a `$ref` or `@ref`.
21
+ * Stub of a PropertySchema that may contain a `$ref` or `@ref`.
22
22
  */
23
23
 
24
24
  (function (RefType) {
package/es/types/utils.js CHANGED
@@ -6,7 +6,7 @@ import isPlainObject from 'lodash/isPlainObject';
6
6
  import isString from 'lodash/isString';
7
7
  import isArray from 'lodash/isArray';
8
8
  import has from 'lodash/has';
9
- import { CURRENT_SCHEMA_VERSION, latestMetaSchemaJson } from '../schemas';
9
+ import { CURRENT_SCHEMA_VERSION, latestSchemaJson } from '../schemas';
10
10
  import satisfies from 'semver/functions/satisfies';
11
11
  /** Resolver Type Utils **/
12
12
 
@@ -28,7 +28,7 @@ const {
28
28
  restResolver,
29
29
  awsLambdaResolver
30
30
  }
31
- } = latestMetaSchemaJson;
31
+ } = latestSchemaJson;
32
32
  export function isTakeshapeResolver(resolver) {
33
33
  return takeshapeResolver.properties.name.enum.includes(resolver.name);
34
34
  }
@@ -67,6 +67,7 @@ export const isProjectSchemaV3_6 = createVersionPredicate('3.6.0');
67
67
  export const isProjectSchemaV3_7 = createVersionPredicate('3.7.0');
68
68
  export const isProjectSchemaV3_8 = createVersionPredicate('3.8.0');
69
69
  export const isProjectSchemaV3_9 = createVersionPredicate('3.9.0');
70
+ export const isProjectSchemaV3_10 = createVersionPredicate('3.10.0');
70
71
  export const isLatestProjectSchema = createVersionPredicate(CURRENT_SCHEMA_VERSION);
71
72
  export function isV3XSchema(maybeSchema) {
72
73
  if (!isObject(maybeSchema) || !isString(maybeSchema.projectId) || !isString(maybeSchema.schemaVersion)) {
@@ -86,7 +87,7 @@ export function isAnyProjectSchema(value) {
86
87
  }
87
88
 
88
89
  const maybeSchema = value;
89
- return isObject(value) && isString(maybeSchema.projectId) && (isProjectSchemaV1(maybeSchema) || isProjectSchemaV3(maybeSchema) || isProjectSchemaV3_1(maybeSchema) || isProjectSchemaV3_2(maybeSchema) || isProjectSchemaV3_3(maybeSchema) || isProjectSchemaV3_4(maybeSchema) || isProjectSchemaV3_5(maybeSchema) || isProjectSchemaV3_5_1(maybeSchema) || isProjectSchemaV3_6(maybeSchema) || isProjectSchemaV3_7(maybeSchema) || isProjectSchemaV3_8(maybeSchema) || isProjectSchemaV3_9(maybeSchema));
90
+ return isObject(value) && isString(maybeSchema.projectId) && (isProjectSchemaV1(maybeSchema) || isProjectSchemaV3(maybeSchema) || isProjectSchemaV3_1(maybeSchema) || isProjectSchemaV3_2(maybeSchema) || isProjectSchemaV3_3(maybeSchema) || isProjectSchemaV3_4(maybeSchema) || isProjectSchemaV3_5(maybeSchema) || isProjectSchemaV3_5_1(maybeSchema) || isProjectSchemaV3_6(maybeSchema) || isProjectSchemaV3_7(maybeSchema) || isProjectSchemaV3_8(maybeSchema) || isProjectSchemaV3_9(maybeSchema) || isProjectSchemaV3_10(maybeSchema));
90
91
  }
91
92
  export function isProjectSchemaWithServices(schema) {
92
93
  return typeof schema.dataKey !== 'undefined' && typeof schema.services !== 'undefined';
@@ -173,7 +174,7 @@ const {
173
174
  parameterSerializeStyleOptionsForSearchParams,
174
175
  parameterSerializeStyleOptionsForPathParams
175
176
  }
176
- } = latestMetaSchemaJson;
177
+ } = latestSchemaJson;
177
178
  export function isParameterSerializeStyleForSearchParams(maybeParam) {
178
179
  return Boolean(maybeParam && parameterSerializeStyleOptionsForSearchParams.properties.style.enum.includes(maybeParam));
179
180
  }
@@ -189,23 +190,26 @@ export function isParameterSerializeStyleOptions(maybeStyle) {
189
190
  }
190
191
  /** Typeguards for different types of shape schemas **/
191
192
 
192
- export function isRefSchema(maybeRefSchema) {
193
- return isString(maybeRefSchema['@ref']) || isString(maybeRefSchema.$ref);
193
+ export function isRefSchema(propertySchema) {
194
+ return isString(propertySchema['@ref']) || isString(propertySchema.$ref);
194
195
  }
195
- export function isRefSchemaLegacy(maybeRefSchema) {
196
- return isString(maybeRefSchema.$ref);
196
+ export function isRefSchemaLegacy(propertySchema) {
197
+ return isString(propertySchema.$ref);
197
198
  }
198
- export function isAllOfSchema(maybeExtendableSchema) {
199
- return isArray(maybeExtendableSchema.allOf);
199
+ export function isAllOfSchema(propertySchema) {
200
+ return isArray(propertySchema.allOf);
200
201
  }
201
- export function isOneOfSchema(maybeExclusiveOrSchema) {
202
- return isArray(maybeExclusiveOrSchema.oneOf);
202
+ export function isOneOfSchema(propertySchema) {
203
+ return isArray(propertySchema.oneOf);
203
204
  }
204
- export function isArraySchema(maybeArraySchema) {
205
- return maybeArraySchema.type === 'array' && isObject(maybeArraySchema.items);
205
+ export function isEnumSchema(obj) {
206
+ return isArray(obj.enum);
206
207
  }
207
- export function isObjectSchema(maybeObjectSchema) {
208
- return maybeObjectSchema.type === 'object' && isObject(maybeObjectSchema.properties);
208
+ export function isArraySchema(propertySchema) {
209
+ return propertySchema.type === 'array' && isObject(propertySchema.items);
210
+ }
211
+ export function isObjectSchema(propertySchema) {
212
+ return propertySchema.type === 'object' && isObject(propertySchema.properties);
209
213
  }
210
214
  /** Service Config Utils **/
211
215
 
@@ -274,9 +278,6 @@ export const getArgsType = argsSchema => {
274
278
  return ArgsType.args;
275
279
  }
276
280
  };
277
- export function isContentObjectSchema(maybeSchema) {
278
- return isRefSchema(maybeSchema) || isAllOfSchema(maybeSchema) || isObjectSchema(maybeSchema);
279
- }
280
281
  /**
281
282
  * A utility to return the type of ref present on a schema.
282
283
  *
@@ -27,7 +27,7 @@ export function hasCycle(projectSchema, schema, shapesSeen = new Set()) {
27
27
  return hasCycle(projectSchema, refShape.schema, immutableSetAdd(shapesSeen, refShape.name));
28
28
  }
29
29
 
30
- const combo = schema.oneOf ?? schema.allOf ?? schema.anyOf;
30
+ const combo = schema.oneOf ?? schema.allOf;
31
31
 
32
32
  if (combo) {
33
33
  return combo.some(childSchema => hasCycle(projectSchema, childSchema, shapesSeen));
package/es/validate.js CHANGED
@@ -16,7 +16,7 @@ import { isBasicResolver, isComposeResolver } from './types/utils';
16
16
  import { refItemToAtRef, refItemToShapeName } from './refs';
17
17
  import { scalars } from './scalars';
18
18
  import { enumerateOneOfKeys, isUnionSchema } from './unions';
19
- import { isEnumSchema } from './enum';
19
+ import { isEnumLikeSchema } from './enum';
20
20
  import metaSchemaV3_9_0 from './schemas/project-schema/meta-schema-v3.9.0.json';
21
21
 
22
22
  function findDuplicates(items) {
@@ -331,8 +331,10 @@ function validateRefs(projectSchema, additionalShapeNames = builtInShapeNames) {
331
331
  }
332
332
 
333
333
  function validateDirectives(projectSchema, additionalShapeIds = builtInModelShapeIds) {
334
- const errors = [];
335
- const projectShapeIds = new Set([...getModelShapeIds(projectSchema.shapes), ...additionalShapeIds]);
334
+ const errors = []; // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
335
+
336
+ const projectShapeIds = new Set([...getModelShapeIds(projectSchema.shapes), ...additionalShapeIds]); // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
337
+
336
338
  visitShapeProperties(projectSchema.shapes, (schema, path) => {
337
339
  if (schema['@relationship']) {
338
340
  var _schema$Relationship;
@@ -364,7 +366,8 @@ function validateDirectives(projectSchema, additionalShapeIds = builtInModelShap
364
366
  }
365
367
 
366
368
  function validateOneOfs(projectSchema) {
367
- const errors = [];
369
+ const errors = []; // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
370
+
368
371
  visitShapeProperties(projectSchema.shapes, (schema, path) => {
369
372
  const oneOfPath = schema.items ? ['items', 'oneOf'] : ['oneOf'];
370
373
  schema = schema.items ? schema.items : schema;
@@ -381,7 +384,7 @@ function validateOneOfs(projectSchema) {
381
384
  message: `Invalid refs to ${shapeNames}. oneOf unions cannot reference model shapes. Use @relationship instead`
382
385
  });
383
386
  }
384
- } else if (!isEnumSchema(schema)) {
387
+ } else if (!isEnumLikeSchema(schema)) {
385
388
  errors.push({
386
389
  type: 'json',
387
390
  path: path.concat(oneOfPath),
@@ -10,6 +10,37 @@
10
10
  "apiVersion": "2",
11
11
  "author": "<userId>",
12
12
  "workflows": {},
13
+ "created": "2016-06-21T15:16:19.051Z",
14
+ "updated": "2016-06-21T15:16:19.051Z",
15
+ "forms": {
16
+ "Homepage": {
17
+ "default": {
18
+ "order": [
19
+ "headline",
20
+ "hero"
21
+ ]
22
+ }
23
+ },
24
+ "Post": {
25
+ "default": {
26
+ "order": [
27
+ "title",
28
+ "body",
29
+ "rating",
30
+ "otherStuff",
31
+ "tags"
32
+ ]
33
+ }
34
+ },
35
+ "Tag": {
36
+ "default": {
37
+ "order": [
38
+ "name"
39
+ ]
40
+ }
41
+ }
42
+ },
43
+ "dataKey": "supersecret",
13
44
  "queries": {
14
45
  "getHomepage": {
15
46
  "shape": "Homepage",
@@ -154,9 +185,6 @@
154
185
  "args": "DeleteArgs<Tag>"
155
186
  }
156
187
  },
157
- "schemaVersion": "3.9.0",
158
- "created": "2016-06-21T15:16:19.051Z",
159
- "updated": "2016-06-21T15:16:19.051Z",
160
188
  "shapes": {
161
189
  "Homepage": {
162
190
  "id": "<homepageContentTypeId>",
@@ -345,33 +373,5 @@
345
373
  }
346
374
  }
347
375
  },
348
- "forms": {
349
- "Homepage": {
350
- "default": {
351
- "order": [
352
- "headline",
353
- "hero"
354
- ]
355
- }
356
- },
357
- "Post": {
358
- "default": {
359
- "order": [
360
- "title",
361
- "body",
362
- "rating",
363
- "otherStuff",
364
- "tags"
365
- ]
366
- }
367
- },
368
- "Tag": {
369
- "default": {
370
- "order": [
371
- "name"
372
- ]
373
- }
374
- }
375
- },
376
- "dataKey": "supersecret"
376
+ "schemaVersion": "3.10.0"
377
377
  }
@@ -9,6 +9,58 @@
9
9
  "en-us"
10
10
  ],
11
11
  "workflows": {},
12
+ "created": "2016-06-21T15:16:19.051Z",
13
+ "updated": "2016-06-21T15:16:19.051Z",
14
+ "forms": {
15
+ "Brewery": {
16
+ "default": {
17
+ "properties": {
18
+ "name": {
19
+ "widget": "singleLineText"
20
+ },
21
+ "addresses": {
22
+ "properties": {
23
+ "image": {
24
+ "widget": "image"
25
+ },
26
+ "zipCode": {
27
+ "widget": "singleLineText"
28
+ },
29
+ "state": {
30
+ "widget": "singleLineText"
31
+ },
32
+ "city": {
33
+ "widget": "singleLineText"
34
+ },
35
+ "street": {
36
+ "widget": "singleLineText"
37
+ }
38
+ },
39
+ "widget": "repeater",
40
+ "order": [
41
+ "image",
42
+ "street",
43
+ "city",
44
+ "state",
45
+ "zipCode"
46
+ ]
47
+ }
48
+ },
49
+ "order": [
50
+ "name",
51
+ "addresses"
52
+ ]
53
+ }
54
+ },
55
+ "Asset": {
56
+ "default": {
57
+ "order": [
58
+ "title"
59
+ ]
60
+ }
61
+ }
62
+ },
63
+ "dataKey": "supersecret",
12
64
  "queries": {
13
65
  "getBrewery": {
14
66
  "shape": "Brewery",
@@ -133,9 +185,6 @@
133
185
  "args": "DeleteArgs<Asset>"
134
186
  }
135
187
  },
136
- "schemaVersion": "3.9.0",
137
- "created": "2016-06-21T15:16:19.051Z",
138
- "updated": "2016-06-21T15:16:19.051Z",
139
188
  "shapes": {
140
189
  "Brewery": {
141
190
  "id": "BREWERY",
@@ -329,54 +378,5 @@
329
378
  }
330
379
  }
331
380
  },
332
- "forms": {
333
- "Brewery": {
334
- "default": {
335
- "properties": {
336
- "name": {
337
- "widget": "singleLineText"
338
- },
339
- "addresses": {
340
- "properties": {
341
- "image": {
342
- "widget": "image"
343
- },
344
- "zipCode": {
345
- "widget": "singleLineText"
346
- },
347
- "state": {
348
- "widget": "singleLineText"
349
- },
350
- "city": {
351
- "widget": "singleLineText"
352
- },
353
- "street": {
354
- "widget": "singleLineText"
355
- }
356
- },
357
- "widget": "repeater",
358
- "order": [
359
- "image",
360
- "street",
361
- "city",
362
- "state",
363
- "zipCode"
364
- ]
365
- }
366
- },
367
- "order": [
368
- "name",
369
- "addresses"
370
- ]
371
- }
372
- },
373
- "Asset": {
374
- "default": {
375
- "order": [
376
- "title"
377
- ]
378
- }
379
- }
380
- },
381
- "dataKey": "supersecret"
381
+ "schemaVersion": "3.10.0"
382
382
  }