@takeshape/schema 8.20.1 → 8.23.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 (124) 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 +11 -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 +2 -2
  18. package/examples/dependencies/fabric-ecommerce.json +9716 -0
  19. package/examples/dependencies/pruned-shopify-product-schema.json +9672 -0
  20. package/examples/dependencies/shopify-store-with-widget.json +9854 -0
  21. package/examples/dependencies/stripe-starter-resolved.json +27345 -0
  22. package/examples/latest/blog-schema.json +32 -32
  23. package/examples/latest/brewery-schema.json +53 -53
  24. package/examples/latest/complex-project-schema.json +3278 -3278
  25. package/examples/latest/fabric-ecommerce.json +9097 -315
  26. package/examples/latest/frank-and-fred-schema.json +15588 -15588
  27. package/examples/latest/massive-schema.json +5836 -5836
  28. package/examples/latest/mill-components-schema.json +876 -876
  29. package/examples/latest/pet-oneof-array.json +77 -77
  30. package/examples/latest/post-schema.json +23 -23
  31. package/examples/latest/pruned-shopify-product-schema.json +2843 -2504
  32. package/examples/latest/real-world-schema.json +166 -166
  33. package/examples/latest/recursive-repeater-schema.json +14 -14
  34. package/examples/latest/recursive-schema.json +14 -14
  35. package/examples/latest/rick-and-morty-ast.json +1874 -1895
  36. package/examples/latest/rick-and-morty-graphql.json +1093 -1093
  37. package/examples/latest/rick-and-morty-rest.json +20 -20
  38. package/examples/latest/schema-with-repeater-draftjs.json +9 -9
  39. package/examples/latest/shape-books-v3_2_0.json +218 -218
  40. package/examples/latest/shape-books.json +218 -218
  41. package/examples/latest/shopify-lookbook.json +147 -147
  42. package/examples/latest/shopify-store-with-widget.json +5706 -5408
  43. package/examples/latest/stripe-starter-resolved.json +21000 -13065
  44. package/examples/latest/user-schema-no-required.json +19 -19
  45. package/examples/latest/user-schema-with-defaults.json +20 -20
  46. package/examples/source/fabric-ecommerce.json +0 -894
  47. package/examples/source/pruned-shopify-product-schema.json +1 -9333
  48. package/examples/source/rick-and-morty-ast.json +0 -21
  49. package/examples/source/shopify-store-with-widget.json +0 -8953
  50. package/examples/source/stripe-starter-resolved.json +0 -19409
  51. package/lib/content-schema-transform.d.ts +13 -13
  52. package/lib/content-schema-transform.d.ts.map +1 -1
  53. package/lib/enum.d.ts +2 -2
  54. package/lib/enum.d.ts.map +1 -1
  55. package/lib/enum.js +2 -2
  56. package/lib/get-is-leaf.d.ts +2 -2
  57. package/lib/get-is-leaf.d.ts.map +1 -1
  58. package/lib/get-is-leaf.js +5 -5
  59. package/lib/layers/type-utils.js +1 -1
  60. package/lib/migration.d.ts +6 -5
  61. package/lib/migration.d.ts.map +1 -1
  62. package/lib/migration.js +60 -0
  63. package/lib/project-schema/index.d.ts +3 -1
  64. package/lib/project-schema/index.d.ts.map +1 -1
  65. package/lib/project-schema/index.js +25 -12
  66. package/lib/project-schema/latest.d.ts +260 -238
  67. package/lib/project-schema/latest.d.ts.map +1 -1
  68. package/lib/project-schema/v1.0.0.d.ts +14 -7
  69. package/lib/project-schema/v1.0.0.d.ts.map +1 -1
  70. package/lib/project-schema/v3.0.0.d.ts +24 -25
  71. package/lib/project-schema/v3.0.0.d.ts.map +1 -1
  72. package/lib/project-schema/v3.1.0.d.ts +42 -43
  73. package/lib/project-schema/v3.1.0.d.ts.map +1 -1
  74. package/lib/project-schema/v3.10.0.d.ts +1202 -0
  75. package/lib/project-schema/v3.10.0.d.ts.map +1 -0
  76. package/lib/project-schema/v3.10.0.js +5 -0
  77. package/lib/project-schema/v3.2.0.d.ts +42 -43
  78. package/lib/project-schema/v3.2.0.d.ts.map +1 -1
  79. package/lib/project-schema/v3.3.0.d.ts +42 -43
  80. package/lib/project-schema/v3.3.0.d.ts.map +1 -1
  81. package/lib/project-schema/v3.4.0.d.ts +42 -43
  82. package/lib/project-schema/v3.4.0.d.ts.map +1 -1
  83. package/lib/project-schema/v3.5.0.d.ts +42 -43
  84. package/lib/project-schema/v3.5.0.d.ts.map +1 -1
  85. package/lib/project-schema/v3.5.1.d.ts +42 -43
  86. package/lib/project-schema/v3.5.1.d.ts.map +1 -1
  87. package/lib/project-schema/v3.6.0.d.ts +42 -43
  88. package/lib/project-schema/v3.6.0.d.ts.map +1 -1
  89. package/lib/project-schema/v3.7.0.d.ts +42 -43
  90. package/lib/project-schema/v3.7.0.d.ts.map +1 -1
  91. package/lib/project-schema/v3.8.0.d.ts +42 -43
  92. package/lib/project-schema/v3.8.0.d.ts.map +1 -1
  93. package/lib/project-schema/v3.9.0.d.ts +42 -43
  94. package/lib/project-schema/v3.9.0.d.ts.map +1 -1
  95. package/lib/project-schema/v4.0.0.d.ts +54 -52
  96. package/lib/project-schema/v4.0.0.d.ts.map +1 -1
  97. package/lib/refs.d.ts +8 -8
  98. package/lib/refs.d.ts.map +1 -1
  99. package/lib/refs.js +19 -19
  100. package/lib/schema-util.d.ts +23 -23
  101. package/lib/schema-util.d.ts.map +1 -1
  102. package/lib/schema-util.js +11 -7
  103. package/lib/schemas/index.d.ts +3421 -3420
  104. package/lib/schemas/index.d.ts.map +1 -1
  105. package/lib/schemas/index.js +26 -30
  106. package/lib/schemas/index.ts +26 -25
  107. package/lib/schemas/project-schema/v3.10.0.json +2091 -0
  108. package/lib/schemas/project-schema/v4.0.0.json +8 -6
  109. package/lib/schemas/project-schema.json +2 -1
  110. package/lib/types/types.d.ts +7 -7
  111. package/lib/types/types.d.ts.map +1 -1
  112. package/lib/types/types.js +1 -1
  113. package/lib/types/utils.d.ts +9 -8
  114. package/lib/types/utils.d.ts.map +1 -1
  115. package/lib/types/utils.js +25 -23
  116. package/lib/unions.d.ts +8 -8
  117. package/lib/unions.d.ts.map +1 -1
  118. package/lib/util/detect-cycles.d.ts +2 -2
  119. package/lib/util/detect-cycles.d.ts.map +1 -1
  120. package/lib/util/detect-cycles.js +1 -1
  121. package/lib/validate.js +1 -1
  122. package/lib/workflows.d.ts +2 -2
  123. package/lib/workflows.d.ts.map +1 -1
  124. package/package.json +5 -5
@@ -28,7 +28,450 @@
28
28
  ],
29
29
  "projectId": "a8b9ea5b-2522-442d-9b68-be0bef4a1a74",
30
30
  "version": 4,
31
- "schemaVersion": "3.9.0",
31
+ "created": "2017-07-13T19:16:10.801Z",
32
+ "updated": "2021-04-27T19:03:03.051Z",
33
+ "forms": {
34
+ "Asset": {
35
+ "default": {
36
+ "order": [
37
+ "title",
38
+ "description",
39
+ "caption",
40
+ "credit",
41
+ "filename",
42
+ "path",
43
+ "mimeType",
44
+ "sourceUrl",
45
+ "uploadStatus"
46
+ ],
47
+ "properties": {
48
+ "title": {
49
+ "widget": "singleLineText",
50
+ "disabled": true
51
+ },
52
+ "description": {
53
+ "widget": "paragraphText",
54
+ "disabled": true
55
+ },
56
+ "caption": {
57
+ "widget": "wysiwygSingleLineText",
58
+ "disabled": true
59
+ },
60
+ "credit": {
61
+ "widget": "wysiwygSingleLineText",
62
+ "disabled": true
63
+ },
64
+ "filename": {
65
+ "widget": "singleLineText",
66
+ "disabled": true
67
+ },
68
+ "path": {
69
+ "widget": "singleLineText",
70
+ "disabled": true
71
+ },
72
+ "mimeType": {
73
+ "widget": "singleLineText",
74
+ "disabled": true
75
+ },
76
+ "sourceUrl": {
77
+ "widget": "singleLineText",
78
+ "disabled": true
79
+ },
80
+ "uploadStatus": {
81
+ "widget": "singleLineText",
82
+ "disabled": true
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "TsStaticSite": {
88
+ "default": {
89
+ "order": [
90
+ "title",
91
+ "provider",
92
+ "destination",
93
+ "idKey",
94
+ "secretKey",
95
+ "environmentVariables"
96
+ ],
97
+ "properties": {
98
+ "title": {
99
+ "widget": "singleLineText",
100
+ "disabled": true
101
+ },
102
+ "provider": {
103
+ "widget": "dropdown",
104
+ "disabled": true
105
+ },
106
+ "destination": {
107
+ "widget": "singleLineText",
108
+ "instructions": "Deployment Bucket or FTP Host",
109
+ "disabled": true
110
+ },
111
+ "idKey": {
112
+ "widget": "singleLineText",
113
+ "instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
114
+ "disabled": true
115
+ },
116
+ "secretKey": {
117
+ "widget": "sensitiveField",
118
+ "instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
119
+ "multiline": true,
120
+ "disabled": true
121
+ },
122
+ "environmentVariables": {
123
+ "widget": "repeater",
124
+ "order": [
125
+ "name",
126
+ "value"
127
+ ],
128
+ "disabled": true,
129
+ "properties": {
130
+ "name": {
131
+ "widget": "singleLineText",
132
+ "disabled": true
133
+ },
134
+ "value": {
135
+ "widget": "singleLineText",
136
+ "disabled": true
137
+ }
138
+ }
139
+ }
140
+ }
141
+ },
142
+ "generalHeader": {
143
+ "order": [
144
+ "title",
145
+ "provider",
146
+ "baseUrl"
147
+ ],
148
+ "properties": {
149
+ "title": {
150
+ "widget": "singleLineText",
151
+ "disabled": true
152
+ },
153
+ "provider": {
154
+ "widget": "dropdown",
155
+ "disabled": true
156
+ },
157
+ "baseUrl": {
158
+ "widget": "singleLineText",
159
+ "disabled": true
160
+ }
161
+ }
162
+ },
163
+ "generalFooter": {
164
+ "order": [
165
+ "environmentVariables",
166
+ "triggers"
167
+ ],
168
+ "properties": {
169
+ "environmentVariables": {
170
+ "widget": "repeater",
171
+ "order": [
172
+ "name",
173
+ "value"
174
+ ],
175
+ "disabled": true,
176
+ "properties": {
177
+ "name": {
178
+ "widget": "singleLineText",
179
+ "disabled": true
180
+ },
181
+ "value": {
182
+ "widget": "singleLineText",
183
+ "disabled": true
184
+ }
185
+ }
186
+ },
187
+ "triggers": {
188
+ "widget": "repeater",
189
+ "order": [
190
+ "contentTypeId",
191
+ "status"
192
+ ],
193
+ "disabled": true,
194
+ "preview": "siteTriggerPreview",
195
+ "properties": {
196
+ "contentTypeId": {
197
+ "widget": "dropdown",
198
+ "disabled": true
199
+ },
200
+ "status": {
201
+ "widget": "dropdown",
202
+ "disabled": true
203
+ }
204
+ }
205
+ }
206
+ }
207
+ },
208
+ "s3": {
209
+ "order": [
210
+ "destination",
211
+ "idKey",
212
+ "secretKey",
213
+ "privateAcl"
214
+ ],
215
+ "properties": {
216
+ "destination": {
217
+ "widget": "singleLineText",
218
+ "instructions": "Deployment Bucket Name",
219
+ "disabled": true
220
+ },
221
+ "idKey": {
222
+ "widget": "singleLineText",
223
+ "instructions": "AWS Access Key ID",
224
+ "disabled": true
225
+ },
226
+ "secretKey": {
227
+ "widget": "sensitiveField",
228
+ "instructions": "AWS Secret Access Key",
229
+ "multiline": true,
230
+ "disabled": true
231
+ },
232
+ "privateAcl": {
233
+ "widget": "checkbox",
234
+ "instructions": "Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with \"Block All Public Access\"",
235
+ "disabled": true
236
+ }
237
+ }
238
+ },
239
+ "gcs": {
240
+ "order": [
241
+ "destination",
242
+ "idKey",
243
+ "secretKey",
244
+ "privateAcl"
245
+ ],
246
+ "properties": {
247
+ "destination": {
248
+ "widget": "singleLineText",
249
+ "instructions": "Deployment Bucket Name",
250
+ "disabled": true
251
+ },
252
+ "idKey": {
253
+ "widget": "singleLineText",
254
+ "instructions": "Google Cloud Storage Client Email",
255
+ "disabled": true
256
+ },
257
+ "secretKey": {
258
+ "widget": "sensitiveField",
259
+ "instructions": "Google Cloud Storage Private Key",
260
+ "multiline": true,
261
+ "disabled": true
262
+ },
263
+ "privateAcl": {
264
+ "widget": "checkbox",
265
+ "instructions": "Disable public access to deployed files.",
266
+ "disabled": true
267
+ }
268
+ }
269
+ },
270
+ "ftp": {
271
+ "order": [
272
+ "destination",
273
+ "idKey",
274
+ "secretKey"
275
+ ],
276
+ "properties": {
277
+ "destination": {
278
+ "widget": "singleLineText",
279
+ "instructions": "FTP Host",
280
+ "disabled": true
281
+ },
282
+ "idKey": {
283
+ "widget": "singleLineText",
284
+ "instructions": "FTP Username",
285
+ "disabled": true
286
+ },
287
+ "secretKey": {
288
+ "widget": "sensitiveField",
289
+ "instructions": "FTP Password",
290
+ "multiline": true,
291
+ "disabled": true
292
+ }
293
+ }
294
+ },
295
+ "azure": {
296
+ "order": [
297
+ "destination",
298
+ "secretKey"
299
+ ],
300
+ "properties": {
301
+ "destination": {
302
+ "widget": "singleLineText",
303
+ "instructions": "Storage Account Name",
304
+ "disabled": true
305
+ },
306
+ "secretKey": {
307
+ "widget": "sensitiveField",
308
+ "instructions": "Access key",
309
+ "multiline": true,
310
+ "disabled": true
311
+ }
312
+ }
313
+ },
314
+ "netlify": {
315
+ "order": [
316
+ "destination"
317
+ ],
318
+ "properties": {
319
+ "destination": {
320
+ "widget": "publishTargets",
321
+ "itemTemplate": "siteDropdownItem",
322
+ "instructions": "Choose existing or create a new site.",
323
+ "disabled": true
324
+ }
325
+ }
326
+ },
327
+ "vercel": {
328
+ "order": [
329
+ "destination"
330
+ ],
331
+ "properties": {
332
+ "destination": {
333
+ "widget": "publishTargets",
334
+ "itemTemplate": "siteDropdownItem",
335
+ "instructions": "Choose existing or create a new project.",
336
+ "disabled": true
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "Homepage": {
342
+ "default": {
343
+ "properties": {
344
+ "title": {
345
+ "widget": "singleLineText"
346
+ },
347
+ "hero": {
348
+ "properties": {
349
+ "image": {
350
+ "widget": "image"
351
+ },
352
+ "featuredPost": {
353
+ "widget": "relationship"
354
+ }
355
+ },
356
+ "widget": "object",
357
+ "order": [
358
+ "image",
359
+ "featuredPost"
360
+ ]
361
+ }
362
+ },
363
+ "order": [
364
+ "title",
365
+ "hero"
366
+ ]
367
+ }
368
+ },
369
+ "SiteSettings": {
370
+ "default": {
371
+ "properties": {
372
+ "siteTitle": {
373
+ "widget": "singleLineText"
374
+ }
375
+ },
376
+ "order": [
377
+ "siteTitle"
378
+ ]
379
+ }
380
+ },
381
+ "Tags": {
382
+ "default": {
383
+ "properties": {
384
+ "name": {
385
+ "widget": "singleLineText"
386
+ }
387
+ },
388
+ "order": [
389
+ "name"
390
+ ]
391
+ }
392
+ },
393
+ "Post": {
394
+ "default": {
395
+ "properties": {
396
+ "title": {
397
+ "widget": "singleLineText"
398
+ },
399
+ "slug": {
400
+ "widget": "singleLineText",
401
+ "instructions": "Slug needs to be unique among items of this content type"
402
+ },
403
+ "characterId": {
404
+ "widget": "singleLineText"
405
+ },
406
+ "tags": {
407
+ "widget": "relationship"
408
+ },
409
+ "deck": {
410
+ "widget": "paragraphText"
411
+ },
412
+ "author": {
413
+ "widget": "relationship"
414
+ },
415
+ "featureImage": {
416
+ "widget": "image"
417
+ },
418
+ "body": {
419
+ "widget": "wysiwygText"
420
+ }
421
+ },
422
+ "order": [
423
+ "title",
424
+ "slug",
425
+ "characterId",
426
+ "tags",
427
+ "deck",
428
+ "author",
429
+ "featureImage",
430
+ "body",
431
+ "nested"
432
+ ]
433
+ }
434
+ },
435
+ "Author": {
436
+ "default": {
437
+ "properties": {
438
+ "name": {
439
+ "widget": "singleLineText"
440
+ },
441
+ "photo": {
442
+ "widget": "image"
443
+ },
444
+ "biography": {
445
+ "widget": "wysiwygText"
446
+ },
447
+ "slug": {
448
+ "instructions": "Slug needs to be unique among items of this content type",
449
+ "widget": "singleLineText"
450
+ }
451
+ },
452
+ "order": [
453
+ "name",
454
+ "slug",
455
+ "photo",
456
+ "biography"
457
+ ]
458
+ }
459
+ }
460
+ },
461
+ "dataKey": "AQIDAHi9nATJb1LYgj5u7ShOGp43y2H6TuckRKGDlwTU4b6ryQGI0q/SRpsDawxZIqwDcVlDAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQM854moczqo/0NmMLbAgEQgDvf6d048wXTUyv/KlbkBLU/v/D1itvLB9wgP3M9vX4bKU6WgalSGCL/QtC18KiQ+mBk5BPQTiY6+rPsWQ==",
462
+ "services": {
463
+ "rick-n-morty": {
464
+ "id": "rick-n-morty",
465
+ "provider": "generic",
466
+ "title": "Rick",
467
+ "namespace": "Rick",
468
+ "serviceType": "graphql",
469
+ "authenticationType": "none",
470
+ "options": {
471
+ "endpoint": "https://rickandmortyapi.com/graphql"
472
+ }
473
+ }
474
+ },
32
475
  "queries": {
33
476
  "getAsset": {
34
477
  "shape": "Asset",
@@ -448,8 +891,6 @@
448
891
  "args": "DeleteArgs<Author>"
449
892
  }
450
893
  },
451
- "created": "2017-07-13T19:16:10.801Z",
452
- "updated": "2021-04-27T19:03:03.051Z",
453
894
  "shapes": {
454
895
  "TSRelationship": {
455
896
  "id": "TSRelationship",
@@ -783,262 +1224,31 @@
783
1224
  "privateAcl": {
784
1225
  "type": "boolean",
785
1226
  "title": "Private ACL",
786
- "@l10n": false,
787
- "@mapping": "takeshape:local:TsStaticSite.ByFe48wWU"
788
- },
789
- "environmentVariables": {
790
- "type": "array",
791
- "title": "Environment Variables",
792
- "@l10n": false,
793
- "items": {
794
- "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
795
- },
796
- "@mapping": "takeshape:local:TsStaticSite.9fj4UiNxY"
797
- },
798
- "triggers": {
799
- "type": "array",
800
- "title": "Publish Triggers",
801
- "@l10n": false,
802
- "items": {
803
- "$ref": "#/shapes/TsStaticSiteTriggers/schema"
804
- }
805
- },
806
- "templateHash": {
807
- "type": "string",
808
- "title": "Template Hash",
809
- "@l10n": false,
810
- "@mapping": "takeshape:local:TsStaticSite.S1QA3GYI8"
811
- },
812
- "_id": {
813
- "title": "Id",
814
- "type": "string"
815
- },
816
- "_version": {
817
- "title": "Version",
818
- "type": "integer"
819
- },
820
- "_shapeId": {
821
- "title": "Shape Id",
822
- "type": "string"
823
- },
824
- "_shapeName": {
825
- "title": "Shape Name",
826
- "type": "string"
827
- },
828
- "_createdAt": {
829
- "title": "Created",
830
- "type": "string",
831
- "format": "date-time"
832
- },
833
- "_createdBy": {
834
- "title": "Created By",
835
- "type": "string",
836
- "@user": true
837
- },
838
- "_updatedAt": {
839
- "title": "Updated",
840
- "type": "string",
841
- "format": "date-time"
842
- },
843
- "_updatedBy": {
844
- "title": "Updated By",
845
- "type": "string",
846
- "@user": true
847
- },
848
- "_schemaVersion": {
849
- "title": "Schema Version",
850
- "type": "number"
851
- },
852
- "_enabled": {
853
- "title": "Enabled",
854
- "type": "boolean",
855
- "@deprecationReason": "Use _status instead"
856
- },
857
- "_enabledAt": {
858
- "title": "Enabled Date",
859
- "type": "string",
860
- "format": "date-time",
861
- "@deprecationReason": "Use a custom date field instead"
862
- },
863
- "_status": {
864
- "type": "string",
865
- "title": "Status",
866
- "@workflow": "default"
867
- }
868
- },
869
- "required": [
870
- "title",
871
- "provider",
872
- "destination"
873
- ]
874
- }
875
- },
876
- "TsStaticSiteEnvironmentVariables": {
877
- "id": "9fj4UiNxY",
878
- "name": "TsStaticSiteEnvironmentVariables",
879
- "title": "Static Site EnvironmentVariables",
880
- "schema": {
881
- "type": "object",
882
- "properties": {
883
- "name": {
884
- "type": "string",
885
- "title": "Name",
886
- "@mapping": "takeshape:local:TsStaticSite.J8sbHgfdI"
887
- },
888
- "value": {
889
- "type": "string",
890
- "title": "Value",
891
- "@mapping": "takeshape:local:TsStaticSite.ndhh88DvG"
892
- }
893
- }
894
- }
895
- },
896
- "TsStaticSiteTriggers": {
897
- "id": "TsStaticSiteTriggers",
898
- "name": "TsStaticSiteTriggers",
899
- "title": "Static Site Triggers",
900
- "schema": {
901
- "type": "object",
902
- "properties": {
903
- "contentTypeId": {
904
- "type": "string",
905
- "title": "Content Type"
906
- },
907
- "status": {
908
- "type": "string",
909
- "title": "Workflow Status"
910
- }
911
- }
912
- }
913
- },
914
- "Homepage": {
915
- "id": "H1TFgJdIb",
916
- "name": "Homepage",
917
- "title": "Homepage",
918
- "model": {
919
- "type": "single"
920
- },
921
- "schema": {
922
- "type": "object",
923
- "properties": {
924
- "title": {
925
- "type": "string",
926
- "title": "Title",
927
- "minLength": 0,
928
- "@mapping": "takeshape:local:Homepage.BJfmu0OIZ"
929
- },
930
- "hero": {
931
- "title": "Hero",
932
- "@mapping": "takeshape:local:Homepage.ry4VnCD8W",
933
- "$ref": "#/shapes/HomepageHero/schema"
934
- },
935
- "_id": {
936
- "title": "Id",
937
- "type": "string"
938
- },
939
- "_version": {
940
- "title": "Version",
941
- "type": "integer"
942
- },
943
- "_shapeId": {
944
- "title": "Shape Id",
945
- "type": "string"
946
- },
947
- "_shapeName": {
948
- "title": "Shape Name",
949
- "type": "string"
950
- },
951
- "_createdAt": {
952
- "title": "Created",
953
- "type": "string",
954
- "format": "date-time"
955
- },
956
- "_createdBy": {
957
- "title": "Created By",
958
- "type": "string",
959
- "@user": true
960
- },
961
- "_updatedAt": {
962
- "title": "Updated",
963
- "type": "string",
964
- "format": "date-time"
965
- },
966
- "_updatedBy": {
967
- "title": "Updated By",
968
- "type": "string",
969
- "@user": true
970
- },
971
- "_schemaVersion": {
972
- "title": "Schema Version",
973
- "type": "number"
974
- },
975
- "_enabled": {
976
- "title": "Enabled",
977
- "type": "boolean",
978
- "@deprecationReason": "Use _status instead"
979
- },
980
- "_enabledAt": {
981
- "title": "Enabled Date",
982
- "type": "string",
983
- "format": "date-time",
984
- "@deprecationReason": "Use a custom date field instead"
1227
+ "@l10n": false,
1228
+ "@mapping": "takeshape:local:TsStaticSite.ByFe48wWU"
985
1229
  },
986
- "_status": {
987
- "type": "string",
988
- "title": "Status",
989
- "@workflow": "default"
990
- }
991
- }
992
- }
993
- },
994
- "HomepageHero": {
995
- "id": "ry4VnCD8W",
996
- "name": "HomepageHero",
997
- "title": "Homepage Hero",
998
- "schema": {
999
- "type": "object",
1000
- "properties": {
1001
- "image": {
1002
- "title": "Image",
1003
- "@mapping": "takeshape:local:HomepageHero.H1vBnAv8-",
1004
- "$ref": "#/shapes/TSRelationship/schema",
1005
- "@relationship": {
1006
- "shapeIds": [
1007
- "ASSET"
1008
- ],
1009
- "type": "single"
1010
- }
1230
+ "environmentVariables": {
1231
+ "type": "array",
1232
+ "title": "Environment Variables",
1233
+ "@l10n": false,
1234
+ "items": {
1235
+ "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
1236
+ },
1237
+ "@mapping": "takeshape:local:TsStaticSite.9fj4UiNxY"
1011
1238
  },
1012
- "featuredPost": {
1013
- "title": "Featured Post",
1014
- "@mapping": "takeshape:local:HomepageHero.SJ1Xo0v8b",
1015
- "$ref": "#/shapes/TSRelationship/schema",
1016
- "@relationship": {
1017
- "shapeIds": [
1018
- "rJoobhv8W"
1019
- ],
1020
- "type": "single",
1021
- "relatedName": "heroFeaturedPost"
1239
+ "triggers": {
1240
+ "type": "array",
1241
+ "title": "Publish Triggers",
1242
+ "@l10n": false,
1243
+ "items": {
1244
+ "$ref": "#/shapes/TsStaticSiteTriggers/schema"
1022
1245
  }
1023
- }
1024
- }
1025
- }
1026
- },
1027
- "SiteSettings": {
1028
- "id": "Skp0mAuUb",
1029
- "name": "SiteSettings",
1030
- "title": "Site Settings",
1031
- "model": {
1032
- "type": "single"
1033
- },
1034
- "schema": {
1035
- "type": "object",
1036
- "properties": {
1037
- "siteTitle": {
1246
+ },
1247
+ "templateHash": {
1038
1248
  "type": "string",
1039
- "title": "Site Title",
1040
- "minLength": 0,
1041
- "@mapping": "takeshape:local:SiteSettings.SkVAQA_8Z"
1249
+ "title": "Template Hash",
1250
+ "@l10n": false,
1251
+ "@mapping": "takeshape:local:TsStaticSite.S1QA3GYI8"
1042
1252
  },
1043
1253
  "_id": {
1044
1254
  "title": "Id",
@@ -1096,183 +1306,72 @@
1096
1306
  "title": "Status",
1097
1307
  "@workflow": "default"
1098
1308
  }
1099
- }
1309
+ },
1310
+ "required": [
1311
+ "title",
1312
+ "provider",
1313
+ "destination"
1314
+ ]
1100
1315
  }
1101
1316
  },
1102
- "Tags": {
1103
- "id": "HJMNZ41OQ",
1104
- "name": "Tags",
1105
- "title": "Tags",
1106
- "model": {
1107
- "type": "taxonomy"
1108
- },
1317
+ "TsStaticSiteEnvironmentVariables": {
1318
+ "id": "9fj4UiNxY",
1319
+ "name": "TsStaticSiteEnvironmentVariables",
1320
+ "title": "Static Site EnvironmentVariables",
1109
1321
  "schema": {
1110
1322
  "type": "object",
1111
1323
  "properties": {
1112
1324
  "name": {
1113
1325
  "type": "string",
1114
1326
  "title": "Name",
1115
- "minLength": 0,
1116
- "@mapping": "takeshape:local:Tags.BJ6mWE1um"
1117
- },
1118
- "_id": {
1119
- "title": "Id",
1120
- "type": "string"
1121
- },
1122
- "_version": {
1123
- "title": "Version",
1124
- "type": "integer"
1125
- },
1126
- "_shapeId": {
1127
- "title": "Shape Id",
1128
- "type": "string"
1129
- },
1130
- "_shapeName": {
1131
- "title": "Shape Name",
1132
- "type": "string"
1133
- },
1134
- "_createdAt": {
1135
- "title": "Created",
1136
- "type": "string",
1137
- "format": "date-time"
1138
- },
1139
- "_createdBy": {
1140
- "title": "Created By",
1141
- "type": "string",
1142
- "@user": true
1143
- },
1144
- "_updatedAt": {
1145
- "title": "Updated",
1146
- "type": "string",
1147
- "format": "date-time"
1327
+ "@mapping": "takeshape:local:TsStaticSite.J8sbHgfdI"
1148
1328
  },
1149
- "_updatedBy": {
1150
- "title": "Updated By",
1329
+ "value": {
1151
1330
  "type": "string",
1152
- "@user": true
1153
- },
1154
- "_schemaVersion": {
1155
- "title": "Schema Version",
1156
- "type": "number"
1157
- },
1158
- "_enabled": {
1159
- "title": "Enabled",
1160
- "type": "boolean",
1161
- "@deprecationReason": "Use _status instead"
1162
- },
1163
- "_enabledAt": {
1164
- "title": "Enabled Date",
1331
+ "title": "Value",
1332
+ "@mapping": "takeshape:local:TsStaticSite.ndhh88DvG"
1333
+ }
1334
+ }
1335
+ }
1336
+ },
1337
+ "TsStaticSiteTriggers": {
1338
+ "id": "TsStaticSiteTriggers",
1339
+ "name": "TsStaticSiteTriggers",
1340
+ "title": "Static Site Triggers",
1341
+ "schema": {
1342
+ "type": "object",
1343
+ "properties": {
1344
+ "contentTypeId": {
1165
1345
  "type": "string",
1166
- "format": "date-time",
1167
- "@deprecationReason": "Use a custom date field instead"
1346
+ "title": "Content Type"
1168
1347
  },
1169
- "_status": {
1348
+ "status": {
1170
1349
  "type": "string",
1171
- "title": "Status",
1172
- "@workflow": "default"
1350
+ "title": "Workflow Status"
1173
1351
  }
1174
1352
  }
1175
1353
  }
1176
1354
  },
1177
- "Post": {
1178
- "id": "rJoobhv8W",
1179
- "name": "Post",
1180
- "title": "Post",
1355
+ "Homepage": {
1356
+ "id": "H1TFgJdIb",
1357
+ "name": "Homepage",
1358
+ "title": "Homepage",
1181
1359
  "model": {
1182
- "type": "multiple"
1360
+ "type": "single"
1183
1361
  },
1184
1362
  "schema": {
1185
1363
  "type": "object",
1186
1364
  "properties": {
1187
1365
  "title": {
1188
- "minLength": 1,
1189
- "type": "string",
1190
- "title": "Title",
1191
- "@mapping": "takeshape:local:Post.BkJDGhw8W"
1192
- },
1193
- "slug": {
1194
- "pattern": "[\\w-_]+",
1195
- "minLength": 1,
1196
- "type": "string",
1197
- "title": "Slug",
1198
- "@mapping": "takeshape:local:Post.Qty0GHozJ"
1199
- },
1200
- "characterId": {
1201
- "type": "string",
1202
- "minLength": 0,
1203
- "description": "",
1204
- "title": "Character Id",
1205
- "@mapping": "takeshape:local:Post.X5uy5bJh8"
1206
- },
1207
- "character": {
1208
- "@ref": "rick-n-morty:Character",
1209
- "@resolver": {
1210
- "name": "graphql:query",
1211
- "service": "rick-n-morty",
1212
- "options": {},
1213
- "argsMapping": {
1214
- "id": [
1215
- [
1216
- "jsonPath",
1217
- {
1218
- "path": "$.source.characterId"
1219
- }
1220
- ]
1221
- ]
1222
- },
1223
- "fieldName": "character"
1224
- }
1225
- },
1226
- "nested": {
1227
- "@ref": "local:NestedA"
1228
- },
1229
- "tags": {
1230
- "type": "array",
1231
- "items": {
1232
- "$ref": "#/shapes/TSRelationship/schema"
1233
- },
1234
- "@relationship": {
1235
- "shapeIds": [
1236
- "HJMNZ41OQ"
1237
- ],
1238
- "type": "multiple"
1239
- },
1240
- "title": "Tags",
1241
- "@mapping": "takeshape:local:Post.S1yO-EJdX"
1242
- },
1243
- "deck": {
1244
- "minLength": 0,
1245
- "type": "string",
1246
- "title": "Deck",
1247
- "@mapping": "takeshape:local:Post.HkJzKRDUb"
1248
- },
1249
- "author": {
1250
- "$ref": "#/shapes/TSRelationship/schema",
1251
- "@relationship": {
1252
- "shapeIds": [
1253
- "SJDIicDUZ"
1254
- ],
1255
- "type": "single"
1256
- },
1257
- "title": "Author",
1258
- "@mapping": "takeshape:local:Post.rJgad7TLZ"
1259
- },
1260
- "featureImage": {
1261
- "$ref": "#/shapes/TSRelationship/schema",
1262
- "@relationship": {
1263
- "shapeIds": [
1264
- "ASSET"
1265
- ],
1266
- "type": "single"
1267
- },
1268
- "title": "Feature Image",
1269
- "@mapping": "takeshape:local:Post.BybUznPIW"
1366
+ "type": "string",
1367
+ "title": "Title",
1368
+ "minLength": 0,
1369
+ "@mapping": "takeshape:local:Homepage.BJfmu0OIZ"
1270
1370
  },
1271
- "body": {
1272
- "type": "object",
1273
- "@tag": "draftjs",
1274
- "title": "Body",
1275
- "@mapping": "takeshape:local:Post.rybsZhDU-"
1371
+ "hero": {
1372
+ "title": "Hero",
1373
+ "@mapping": "takeshape:local:Homepage.ry4VnCD8W",
1374
+ "$ref": "#/shapes/HomepageHero/schema"
1276
1375
  },
1277
1376
  "_id": {
1278
1377
  "title": "Id",
@@ -1330,34 +1429,19 @@
1330
1429
  "title": "Status",
1331
1430
  "@workflow": "default"
1332
1431
  }
1333
- },
1334
- "required": [
1335
- "title",
1336
- "slug",
1337
- "featureImage"
1338
- ]
1339
- },
1340
- "workflow": "default"
1432
+ }
1433
+ }
1341
1434
  },
1342
- "Author": {
1343
- "id": "SJDIicDUZ",
1344
- "name": "Author",
1345
- "title": "Author",
1346
- "model": {
1347
- "type": "taxonomy"
1348
- },
1435
+ "HomepageHero": {
1436
+ "id": "ry4VnCD8W",
1437
+ "name": "HomepageHero",
1438
+ "title": "Homepage Hero",
1349
1439
  "schema": {
1350
1440
  "type": "object",
1351
1441
  "properties": {
1352
- "name": {
1353
- "type": "string",
1354
- "title": "Name",
1355
- "minLength": 1,
1356
- "@mapping": "takeshape:local:Author.Hk8NiqwLb"
1357
- },
1358
- "photo": {
1359
- "title": "Photo",
1360
- "@mapping": "takeshape:local:Author.BkyFrpUcb",
1442
+ "image": {
1443
+ "title": "Image",
1444
+ "@mapping": "takeshape:local:HomepageHero.H1vBnAv8-",
1361
1445
  "$ref": "#/shapes/TSRelationship/schema",
1362
1446
  "@relationship": {
1363
1447
  "shapeIds": [
@@ -1366,18 +1450,36 @@
1366
1450
  "type": "single"
1367
1451
  }
1368
1452
  },
1369
- "biography": {
1370
- "type": "object",
1371
- "title": "Biography",
1372
- "@mapping": "takeshape:local:Author.S1tvt0Hq-",
1373
- "@tag": "draftjs"
1374
- },
1375
- "slug": {
1453
+ "featuredPost": {
1454
+ "title": "Featured Post",
1455
+ "@mapping": "takeshape:local:HomepageHero.SJ1Xo0v8b",
1456
+ "$ref": "#/shapes/TSRelationship/schema",
1457
+ "@relationship": {
1458
+ "shapeIds": [
1459
+ "rJoobhv8W"
1460
+ ],
1461
+ "type": "single",
1462
+ "relatedName": "heroFeaturedPost"
1463
+ }
1464
+ }
1465
+ }
1466
+ }
1467
+ },
1468
+ "SiteSettings": {
1469
+ "id": "Skp0mAuUb",
1470
+ "name": "SiteSettings",
1471
+ "title": "Site Settings",
1472
+ "model": {
1473
+ "type": "single"
1474
+ },
1475
+ "schema": {
1476
+ "type": "object",
1477
+ "properties": {
1478
+ "siteTitle": {
1376
1479
  "type": "string",
1377
- "title": "Slug",
1378
- "minLength": 1,
1379
- "pattern": "[\\w-_]+",
1380
- "@mapping": "takeshape:local:Author.2Q6mT96k9"
1480
+ "title": "Site Title",
1481
+ "minLength": 0,
1482
+ "@mapping": "takeshape:local:SiteSettings.SkVAQA_8Z"
1381
1483
  },
1382
1484
  "_id": {
1383
1485
  "title": "Id",
@@ -1435,768 +1537,666 @@
1435
1537
  "title": "Status",
1436
1538
  "@workflow": "default"
1437
1539
  }
1438
- },
1439
- "required": [
1440
- "name",
1441
- "slug",
1442
- "photo",
1443
- "biography"
1444
- ]
1540
+ }
1445
1541
  }
1446
1542
  },
1447
- "Rick_Character": {
1448
- "name": "Rick_Character",
1449
- "title": "Rick_Character",
1450
- "id": "character",
1543
+ "Tags": {
1544
+ "id": "HJMNZ41OQ",
1545
+ "name": "Tags",
1546
+ "title": "Tags",
1547
+ "model": {
1548
+ "type": "taxonomy"
1549
+ },
1451
1550
  "schema": {
1452
1551
  "type": "object",
1453
1552
  "properties": {
1454
- "id": {
1455
- "type": "string",
1456
- "@tag": "id",
1457
- "@mapping": "rick-n-morty:Character.id",
1458
- "description": "The id of the character."
1459
- },
1460
1553
  "name": {
1461
1554
  "type": "string",
1462
- "@mapping": "rick-n-morty:Character.name",
1463
- "description": "The name of the character."
1464
- },
1465
- "status": {
1466
- "type": "string",
1467
- "@mapping": "rick-n-morty:Character.status",
1468
- "description": "The status of the character ('Alive', 'Dead' or 'unknown')."
1469
- },
1470
- "species": {
1471
- "type": "string",
1472
- "@mapping": "rick-n-morty:Character.species",
1473
- "description": "The species of the character."
1474
- },
1475
- "type": {
1476
- "type": "string",
1477
- "@mapping": "rick-n-morty:Character.type",
1478
- "description": "The type or subspecies of the character."
1479
- },
1480
- "gender": {
1481
- "type": "string",
1482
- "@mapping": "rick-n-morty:Character.gender",
1483
- "description": "The gender of the character ('Female', 'Male', 'Genderless' or 'unknown')."
1484
- },
1485
- "origin": {
1486
- "$ref": "#/shapes/Rick_Location/schema",
1487
- "@mapping": "rick-n-morty:Character.origin",
1488
- "description": "The character's origin location"
1489
- },
1490
- "location": {
1491
- "$ref": "#/shapes/Rick_Location/schema",
1492
- "@mapping": "rick-n-morty:Character.location",
1493
- "description": "The character's last known location"
1494
- },
1495
- "image": {
1496
- "type": "string",
1497
- "@mapping": "rick-n-morty:Character.image",
1498
- "description": "Link to the character's image.\nAll images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars."
1555
+ "title": "Name",
1556
+ "minLength": 0,
1557
+ "@mapping": "takeshape:local:Tags.BJ6mWE1um"
1499
1558
  },
1500
- "episode": {
1501
- "type": "array",
1502
- "items": {
1503
- "$ref": "#/shapes/Rick_Episode/schema"
1504
- },
1505
- "@mapping": "rick-n-morty:Character.episode",
1506
- "description": "Episodes in which this character appeared."
1559
+ "_id": {
1560
+ "title": "Id",
1561
+ "type": "string"
1507
1562
  },
1508
- "created": {
1509
- "type": "string",
1510
- "@mapping": "rick-n-morty:Character.created",
1511
- "description": "Time at which the character was created in the database."
1512
- }
1513
- },
1514
- "required": [
1515
- "episode"
1516
- ]
1517
- }
1518
- },
1519
- "Rick_FilterCharacter": {
1520
- "name": "Rick_FilterCharacter",
1521
- "title": "Rick_FilterCharacter",
1522
- "id": "filterCharacter",
1523
- "schema": {
1524
- "type": "object",
1525
- "properties": {
1526
- "name": {
1527
- "type": "string",
1528
- "@mapping": "rick-n-morty:FilterCharacter.name"
1563
+ "_version": {
1564
+ "title": "Version",
1565
+ "type": "integer"
1529
1566
  },
1530
- "status": {
1531
- "type": "string",
1532
- "@mapping": "rick-n-morty:FilterCharacter.status"
1567
+ "_shapeId": {
1568
+ "title": "Shape Id",
1569
+ "type": "string"
1533
1570
  },
1534
- "species": {
1535
- "type": "string",
1536
- "@mapping": "rick-n-morty:FilterCharacter.species"
1571
+ "_shapeName": {
1572
+ "title": "Shape Name",
1573
+ "type": "string"
1537
1574
  },
1538
- "type": {
1575
+ "_createdAt": {
1576
+ "title": "Created",
1539
1577
  "type": "string",
1540
- "@mapping": "rick-n-morty:FilterCharacter.type"
1578
+ "format": "date-time"
1541
1579
  },
1542
- "gender": {
1580
+ "_createdBy": {
1581
+ "title": "Created By",
1543
1582
  "type": "string",
1544
- "@mapping": "rick-n-morty:FilterCharacter.gender"
1545
- }
1546
- }
1547
- }
1548
- },
1549
- "Rick_Characters": {
1550
- "name": "Rick_Characters",
1551
- "title": "Rick_Characters",
1552
- "id": "characters",
1553
- "schema": {
1554
- "type": "object",
1555
- "properties": {
1556
- "info": {
1557
- "$ref": "#/shapes/Rick_Info/schema",
1558
- "@mapping": "rick-n-morty:Characters.info"
1583
+ "@user": true
1559
1584
  },
1560
- "results": {
1561
- "type": "array",
1562
- "items": {
1563
- "$ref": "#/shapes/Rick_Character/schema"
1564
- },
1565
- "@mapping": "rick-n-morty:Characters.results"
1566
- }
1567
- }
1568
- }
1569
- },
1570
- "Rick_Location": {
1571
- "name": "Rick_Location",
1572
- "title": "Rick_Location",
1573
- "id": "location",
1574
- "schema": {
1575
- "type": "object",
1576
- "properties": {
1577
- "id": {
1585
+ "_updatedAt": {
1586
+ "title": "Updated",
1578
1587
  "type": "string",
1579
- "@tag": "id",
1580
- "@mapping": "rick-n-morty:Location.id",
1581
- "description": "The id of the location."
1588
+ "format": "date-time"
1582
1589
  },
1583
- "name": {
1590
+ "_updatedBy": {
1591
+ "title": "Updated By",
1584
1592
  "type": "string",
1585
- "@mapping": "rick-n-morty:Location.name",
1586
- "description": "The name of the location."
1593
+ "@user": true
1587
1594
  },
1588
- "type": {
1589
- "type": "string",
1590
- "@mapping": "rick-n-morty:Location.type",
1591
- "description": "The type of the location."
1595
+ "_schemaVersion": {
1596
+ "title": "Schema Version",
1597
+ "type": "number"
1592
1598
  },
1593
- "dimension": {
1594
- "type": "string",
1595
- "@mapping": "rick-n-morty:Location.dimension",
1596
- "description": "The dimension in which the location is located."
1599
+ "_enabled": {
1600
+ "title": "Enabled",
1601
+ "type": "boolean",
1602
+ "@deprecationReason": "Use _status instead"
1597
1603
  },
1598
- "residents": {
1599
- "type": "array",
1600
- "items": {
1601
- "$ref": "#/shapes/Rick_Character/schema"
1602
- },
1603
- "@mapping": "rick-n-morty:Location.residents",
1604
- "description": "List of characters who have been last seen in the location."
1604
+ "_enabledAt": {
1605
+ "title": "Enabled Date",
1606
+ "type": "string",
1607
+ "format": "date-time",
1608
+ "@deprecationReason": "Use a custom date field instead"
1605
1609
  },
1606
- "created": {
1610
+ "_status": {
1607
1611
  "type": "string",
1608
- "@mapping": "rick-n-morty:Location.created",
1609
- "description": "Time at which the location was created in the database."
1612
+ "title": "Status",
1613
+ "@workflow": "default"
1610
1614
  }
1611
- },
1612
- "required": [
1613
- "residents"
1614
- ]
1615
+ }
1615
1616
  }
1616
1617
  },
1617
- "Rick_Episode": {
1618
- "name": "Rick_Episode",
1619
- "title": "Rick_Episode",
1620
- "id": "episode",
1618
+ "Post": {
1619
+ "id": "rJoobhv8W",
1620
+ "name": "Post",
1621
+ "title": "Post",
1622
+ "model": {
1623
+ "type": "multiple"
1624
+ },
1625
+ "workflow": "default",
1621
1626
  "schema": {
1622
1627
  "type": "object",
1623
1628
  "properties": {
1624
- "id": {
1629
+ "title": {
1630
+ "minLength": 1,
1625
1631
  "type": "string",
1626
- "@tag": "id",
1627
- "@mapping": "rick-n-morty:Episode.id",
1628
- "description": "The id of the episode."
1632
+ "title": "Title",
1633
+ "@mapping": "takeshape:local:Post.BkJDGhw8W"
1629
1634
  },
1630
- "name": {
1635
+ "slug": {
1636
+ "pattern": "[\\w-_]+",
1637
+ "minLength": 1,
1631
1638
  "type": "string",
1632
- "@mapping": "rick-n-morty:Episode.name",
1633
- "description": "The name of the episode."
1639
+ "title": "Slug",
1640
+ "@mapping": "takeshape:local:Post.Qty0GHozJ"
1634
1641
  },
1635
- "air_date": {
1642
+ "characterId": {
1636
1643
  "type": "string",
1637
- "@mapping": "rick-n-morty:Episode.air_date",
1638
- "description": "The air date of the episode."
1644
+ "minLength": 0,
1645
+ "description": "",
1646
+ "title": "Character Id",
1647
+ "@mapping": "takeshape:local:Post.X5uy5bJh8"
1639
1648
  },
1640
- "episode": {
1641
- "type": "string",
1642
- "@mapping": "rick-n-morty:Episode.episode",
1643
- "description": "The code of the episode."
1649
+ "character": {
1650
+ "@ref": "rick-n-morty:Character",
1651
+ "@resolver": {
1652
+ "name": "graphql:query",
1653
+ "service": "rick-n-morty",
1654
+ "options": {},
1655
+ "argsMapping": {
1656
+ "id": [
1657
+ [
1658
+ "jsonPath",
1659
+ {
1660
+ "path": "$.source.characterId"
1661
+ }
1662
+ ]
1663
+ ]
1664
+ },
1665
+ "fieldName": "character"
1666
+ }
1644
1667
  },
1645
- "characters": {
1668
+ "nested": {
1669
+ "@ref": "local:NestedA"
1670
+ },
1671
+ "tags": {
1646
1672
  "type": "array",
1647
1673
  "items": {
1648
- "$ref": "#/shapes/Rick_Character/schema"
1674
+ "$ref": "#/shapes/TSRelationship/schema"
1649
1675
  },
1650
- "@mapping": "rick-n-morty:Episode.characters",
1651
- "description": "List of characters who have been seen in the episode."
1676
+ "@relationship": {
1677
+ "shapeIds": [
1678
+ "HJMNZ41OQ"
1679
+ ],
1680
+ "type": "multiple"
1681
+ },
1682
+ "title": "Tags",
1683
+ "@mapping": "takeshape:local:Post.S1yO-EJdX"
1652
1684
  },
1653
- "created": {
1685
+ "deck": {
1686
+ "minLength": 0,
1654
1687
  "type": "string",
1655
- "@mapping": "rick-n-morty:Episode.created",
1656
- "description": "Time at which the episode was created in the database."
1657
- }
1658
- },
1659
- "required": [
1660
- "characters"
1661
- ]
1662
- }
1663
- },
1664
- "Rick_Info": {
1665
- "name": "Rick_Info",
1666
- "title": "Rick_Info",
1667
- "id": "info",
1668
- "schema": {
1669
- "type": "object",
1670
- "properties": {
1671
- "count": {
1672
- "type": "integer",
1673
- "@mapping": "rick-n-morty:Info.count",
1674
- "description": "The length of the response."
1688
+ "title": "Deck",
1689
+ "@mapping": "takeshape:local:Post.HkJzKRDUb"
1675
1690
  },
1676
- "pages": {
1677
- "type": "integer",
1678
- "@mapping": "rick-n-morty:Info.pages",
1679
- "description": "The amount of pages."
1691
+ "author": {
1692
+ "$ref": "#/shapes/TSRelationship/schema",
1693
+ "@relationship": {
1694
+ "shapeIds": [
1695
+ "SJDIicDUZ"
1696
+ ],
1697
+ "type": "single"
1698
+ },
1699
+ "title": "Author",
1700
+ "@mapping": "takeshape:local:Post.rJgad7TLZ"
1680
1701
  },
1681
- "next": {
1682
- "type": "integer",
1683
- "@mapping": "rick-n-morty:Info.next",
1684
- "description": "Number of the next page (if it exists)"
1702
+ "featureImage": {
1703
+ "$ref": "#/shapes/TSRelationship/schema",
1704
+ "@relationship": {
1705
+ "shapeIds": [
1706
+ "ASSET"
1707
+ ],
1708
+ "type": "single"
1709
+ },
1710
+ "title": "Feature Image",
1711
+ "@mapping": "takeshape:local:Post.BybUznPIW"
1685
1712
  },
1686
- "prev": {
1687
- "type": "integer",
1688
- "@mapping": "rick-n-morty:Info.prev",
1689
- "description": "Number of the previous page (if it exists)"
1690
- }
1691
- }
1692
- }
1693
- },
1694
- "NestedA": {
1695
- "id": "NestedA",
1696
- "name": "NestedA",
1697
- "title": "NestedA",
1698
- "schema": {
1699
- "type": "object",
1700
- "properties": {
1701
- "child": {
1702
- "@ref": "local:NestedB"
1703
- }
1704
- }
1705
- }
1706
- },
1707
- "NestedB": {
1708
- "id": "NestedB",
1709
- "name": "NestedB",
1710
- "title": "NestedB",
1711
- "schema": {
1712
- "type": "object",
1713
- "properties": {
1714
- "child": {
1715
- "@ref": "local:NestedC"
1716
- }
1717
- }
1718
- }
1719
- },
1720
- "NestedC": {
1721
- "id": "NestedC",
1722
- "name": "NestedC",
1723
- "title": "NestedC",
1724
- "schema": {
1725
- "type": "object",
1726
- "properties": {
1727
- "child": {
1728
- "@ref": "local:NestedD"
1729
- }
1730
- }
1731
- }
1732
- },
1733
- "NestedD": {
1734
- "id": "NestedD",
1735
- "name": "NestedD",
1736
- "title": "NestedD",
1737
- "schema": {
1738
- "type": "object",
1739
- "properties": {
1740
- "child": {
1741
- "@ref": "local:NestedE"
1742
- }
1743
- }
1744
- }
1745
- },
1746
- "NestedE": {
1747
- "id": "NestedE",
1748
- "name": "NestedE",
1749
- "title": "NestedE",
1750
- "schema": {
1751
- "type": "object",
1752
- "properties": {
1753
- "value": {
1754
- "type": "string"
1755
- }
1756
- }
1757
- }
1758
- }
1759
- },
1760
- "forms": {
1761
- "Asset": {
1762
- "default": {
1763
- "order": [
1764
- "title",
1765
- "description",
1766
- "caption",
1767
- "credit",
1768
- "filename",
1769
- "path",
1770
- "mimeType",
1771
- "sourceUrl",
1772
- "uploadStatus"
1773
- ],
1774
- "properties": {
1775
- "title": {
1776
- "widget": "singleLineText",
1777
- "disabled": true
1713
+ "body": {
1714
+ "type": "object",
1715
+ "@tag": "draftjs",
1716
+ "title": "Body",
1717
+ "@mapping": "takeshape:local:Post.rybsZhDU-"
1778
1718
  },
1779
- "description": {
1780
- "widget": "paragraphText",
1781
- "disabled": true
1719
+ "_id": {
1720
+ "title": "Id",
1721
+ "type": "string"
1782
1722
  },
1783
- "caption": {
1784
- "widget": "wysiwygSingleLineText",
1785
- "disabled": true
1723
+ "_version": {
1724
+ "title": "Version",
1725
+ "type": "integer"
1786
1726
  },
1787
- "credit": {
1788
- "widget": "wysiwygSingleLineText",
1789
- "disabled": true
1727
+ "_shapeId": {
1728
+ "title": "Shape Id",
1729
+ "type": "string"
1790
1730
  },
1791
- "filename": {
1792
- "widget": "singleLineText",
1793
- "disabled": true
1731
+ "_shapeName": {
1732
+ "title": "Shape Name",
1733
+ "type": "string"
1794
1734
  },
1795
- "path": {
1796
- "widget": "singleLineText",
1797
- "disabled": true
1735
+ "_createdAt": {
1736
+ "title": "Created",
1737
+ "type": "string",
1738
+ "format": "date-time"
1798
1739
  },
1799
- "mimeType": {
1800
- "widget": "singleLineText",
1801
- "disabled": true
1740
+ "_createdBy": {
1741
+ "title": "Created By",
1742
+ "type": "string",
1743
+ "@user": true
1802
1744
  },
1803
- "sourceUrl": {
1804
- "widget": "singleLineText",
1805
- "disabled": true
1745
+ "_updatedAt": {
1746
+ "title": "Updated",
1747
+ "type": "string",
1748
+ "format": "date-time"
1806
1749
  },
1807
- "uploadStatus": {
1808
- "widget": "singleLineText",
1809
- "disabled": true
1750
+ "_updatedBy": {
1751
+ "title": "Updated By",
1752
+ "type": "string",
1753
+ "@user": true
1754
+ },
1755
+ "_schemaVersion": {
1756
+ "title": "Schema Version",
1757
+ "type": "number"
1758
+ },
1759
+ "_enabled": {
1760
+ "title": "Enabled",
1761
+ "type": "boolean",
1762
+ "@deprecationReason": "Use _status instead"
1763
+ },
1764
+ "_enabledAt": {
1765
+ "title": "Enabled Date",
1766
+ "type": "string",
1767
+ "format": "date-time",
1768
+ "@deprecationReason": "Use a custom date field instead"
1769
+ },
1770
+ "_status": {
1771
+ "type": "string",
1772
+ "title": "Status",
1773
+ "@workflow": "default"
1810
1774
  }
1811
- }
1775
+ },
1776
+ "required": [
1777
+ "title",
1778
+ "slug",
1779
+ "featureImage"
1780
+ ]
1812
1781
  }
1813
1782
  },
1814
- "TsStaticSite": {
1815
- "default": {
1816
- "order": [
1817
- "title",
1818
- "provider",
1819
- "destination",
1820
- "idKey",
1821
- "secretKey",
1822
- "environmentVariables"
1823
- ],
1783
+ "Author": {
1784
+ "id": "SJDIicDUZ",
1785
+ "name": "Author",
1786
+ "title": "Author",
1787
+ "model": {
1788
+ "type": "taxonomy"
1789
+ },
1790
+ "schema": {
1791
+ "type": "object",
1824
1792
  "properties": {
1825
- "title": {
1826
- "widget": "singleLineText",
1827
- "disabled": true
1793
+ "name": {
1794
+ "type": "string",
1795
+ "title": "Name",
1796
+ "minLength": 1,
1797
+ "@mapping": "takeshape:local:Author.Hk8NiqwLb"
1828
1798
  },
1829
- "provider": {
1830
- "widget": "dropdown",
1831
- "disabled": true
1799
+ "photo": {
1800
+ "title": "Photo",
1801
+ "@mapping": "takeshape:local:Author.BkyFrpUcb",
1802
+ "$ref": "#/shapes/TSRelationship/schema",
1803
+ "@relationship": {
1804
+ "shapeIds": [
1805
+ "ASSET"
1806
+ ],
1807
+ "type": "single"
1808
+ }
1832
1809
  },
1833
- "destination": {
1834
- "widget": "singleLineText",
1835
- "instructions": "Deployment Bucket or FTP Host",
1836
- "disabled": true
1810
+ "biography": {
1811
+ "type": "object",
1812
+ "title": "Biography",
1813
+ "@mapping": "takeshape:local:Author.S1tvt0Hq-",
1814
+ "@tag": "draftjs"
1837
1815
  },
1838
- "idKey": {
1839
- "widget": "singleLineText",
1840
- "instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
1841
- "disabled": true
1816
+ "slug": {
1817
+ "type": "string",
1818
+ "title": "Slug",
1819
+ "minLength": 1,
1820
+ "pattern": "[\\w-_]+",
1821
+ "@mapping": "takeshape:local:Author.2Q6mT96k9"
1842
1822
  },
1843
- "secretKey": {
1844
- "widget": "sensitiveField",
1845
- "instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
1846
- "multiline": true,
1847
- "disabled": true
1823
+ "_id": {
1824
+ "title": "Id",
1825
+ "type": "string"
1848
1826
  },
1849
- "environmentVariables": {
1850
- "widget": "repeater",
1851
- "order": [
1852
- "name",
1853
- "value"
1854
- ],
1855
- "disabled": true,
1856
- "properties": {
1857
- "name": {
1858
- "widget": "singleLineText",
1859
- "disabled": true
1860
- },
1861
- "value": {
1862
- "widget": "singleLineText",
1863
- "disabled": true
1864
- }
1865
- }
1866
- }
1867
- }
1868
- },
1869
- "generalHeader": {
1870
- "order": [
1871
- "title",
1872
- "provider",
1873
- "baseUrl"
1874
- ],
1875
- "properties": {
1876
- "title": {
1877
- "widget": "singleLineText",
1878
- "disabled": true
1827
+ "_version": {
1828
+ "title": "Version",
1829
+ "type": "integer"
1879
1830
  },
1880
- "provider": {
1881
- "widget": "dropdown",
1882
- "disabled": true
1831
+ "_shapeId": {
1832
+ "title": "Shape Id",
1833
+ "type": "string"
1883
1834
  },
1884
- "baseUrl": {
1885
- "widget": "singleLineText",
1886
- "disabled": true
1887
- }
1888
- }
1889
- },
1890
- "generalFooter": {
1891
- "order": [
1892
- "environmentVariables",
1893
- "triggers"
1894
- ],
1895
- "properties": {
1896
- "environmentVariables": {
1897
- "widget": "repeater",
1898
- "order": [
1899
- "name",
1900
- "value"
1901
- ],
1902
- "disabled": true,
1903
- "properties": {
1904
- "name": {
1905
- "widget": "singleLineText",
1906
- "disabled": true
1907
- },
1908
- "value": {
1909
- "widget": "singleLineText",
1910
- "disabled": true
1911
- }
1912
- }
1835
+ "_shapeName": {
1836
+ "title": "Shape Name",
1837
+ "type": "string"
1913
1838
  },
1914
- "triggers": {
1915
- "widget": "repeater",
1916
- "order": [
1917
- "contentTypeId",
1918
- "status"
1919
- ],
1920
- "disabled": true,
1921
- "preview": "siteTriggerPreview",
1922
- "properties": {
1923
- "contentTypeId": {
1924
- "widget": "dropdown",
1925
- "disabled": true
1926
- },
1927
- "status": {
1928
- "widget": "dropdown",
1929
- "disabled": true
1930
- }
1931
- }
1932
- }
1933
- }
1934
- },
1935
- "s3": {
1936
- "order": [
1937
- "destination",
1938
- "idKey",
1939
- "secretKey",
1940
- "privateAcl"
1941
- ],
1942
- "properties": {
1943
- "destination": {
1944
- "widget": "singleLineText",
1945
- "instructions": "Deployment Bucket Name",
1946
- "disabled": true
1839
+ "_createdAt": {
1840
+ "title": "Created",
1841
+ "type": "string",
1842
+ "format": "date-time"
1843
+ },
1844
+ "_createdBy": {
1845
+ "title": "Created By",
1846
+ "type": "string",
1847
+ "@user": true
1947
1848
  },
1948
- "idKey": {
1949
- "widget": "singleLineText",
1950
- "instructions": "AWS Access Key ID",
1951
- "disabled": true
1849
+ "_updatedAt": {
1850
+ "title": "Updated",
1851
+ "type": "string",
1852
+ "format": "date-time"
1952
1853
  },
1953
- "secretKey": {
1954
- "widget": "sensitiveField",
1955
- "instructions": "AWS Secret Access Key",
1956
- "multiline": true,
1957
- "disabled": true
1854
+ "_updatedBy": {
1855
+ "title": "Updated By",
1856
+ "type": "string",
1857
+ "@user": true
1958
1858
  },
1959
- "privateAcl": {
1960
- "widget": "checkbox",
1961
- "instructions": "Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with \"Block All Public Access\"",
1962
- "disabled": true
1963
- }
1964
- }
1965
- },
1966
- "gcs": {
1967
- "order": [
1968
- "destination",
1969
- "idKey",
1970
- "secretKey",
1971
- "privateAcl"
1972
- ],
1973
- "properties": {
1974
- "destination": {
1975
- "widget": "singleLineText",
1976
- "instructions": "Deployment Bucket Name",
1977
- "disabled": true
1859
+ "_schemaVersion": {
1860
+ "title": "Schema Version",
1861
+ "type": "number"
1978
1862
  },
1979
- "idKey": {
1980
- "widget": "singleLineText",
1981
- "instructions": "Google Cloud Storage Client Email",
1982
- "disabled": true
1863
+ "_enabled": {
1864
+ "title": "Enabled",
1865
+ "type": "boolean",
1866
+ "@deprecationReason": "Use _status instead"
1983
1867
  },
1984
- "secretKey": {
1985
- "widget": "sensitiveField",
1986
- "instructions": "Google Cloud Storage Private Key",
1987
- "multiline": true,
1988
- "disabled": true
1868
+ "_enabledAt": {
1869
+ "title": "Enabled Date",
1870
+ "type": "string",
1871
+ "format": "date-time",
1872
+ "@deprecationReason": "Use a custom date field instead"
1989
1873
  },
1990
- "privateAcl": {
1991
- "widget": "checkbox",
1992
- "instructions": "Disable public access to deployed files.",
1993
- "disabled": true
1874
+ "_status": {
1875
+ "type": "string",
1876
+ "title": "Status",
1877
+ "@workflow": "default"
1994
1878
  }
1995
- }
1996
- },
1997
- "ftp": {
1998
- "order": [
1999
- "destination",
2000
- "idKey",
2001
- "secretKey"
2002
- ],
1879
+ },
1880
+ "required": [
1881
+ "name",
1882
+ "slug",
1883
+ "photo",
1884
+ "biography"
1885
+ ]
1886
+ }
1887
+ },
1888
+ "Rick_Character": {
1889
+ "name": "Rick_Character",
1890
+ "title": "Rick_Character",
1891
+ "id": "character",
1892
+ "schema": {
1893
+ "type": "object",
2003
1894
  "properties": {
2004
- "destination": {
2005
- "widget": "singleLineText",
2006
- "instructions": "FTP Host",
2007
- "disabled": true
1895
+ "id": {
1896
+ "type": "string",
1897
+ "@tag": "id",
1898
+ "@mapping": "rick-n-morty:Character.id",
1899
+ "description": "The id of the character."
2008
1900
  },
2009
- "idKey": {
2010
- "widget": "singleLineText",
2011
- "instructions": "FTP Username",
2012
- "disabled": true
1901
+ "name": {
1902
+ "type": "string",
1903
+ "@mapping": "rick-n-morty:Character.name",
1904
+ "description": "The name of the character."
2013
1905
  },
2014
- "secretKey": {
2015
- "widget": "sensitiveField",
2016
- "instructions": "FTP Password",
2017
- "multiline": true,
2018
- "disabled": true
2019
- }
2020
- }
2021
- },
2022
- "azure": {
2023
- "order": [
2024
- "destination",
2025
- "secretKey"
2026
- ],
2027
- "properties": {
2028
- "destination": {
2029
- "widget": "singleLineText",
2030
- "instructions": "Storage Account Name",
2031
- "disabled": true
1906
+ "status": {
1907
+ "type": "string",
1908
+ "@mapping": "rick-n-morty:Character.status",
1909
+ "description": "The status of the character ('Alive', 'Dead' or 'unknown')."
2032
1910
  },
2033
- "secretKey": {
2034
- "widget": "sensitiveField",
2035
- "instructions": "Access key",
2036
- "multiline": true,
2037
- "disabled": true
2038
- }
2039
- }
2040
- },
2041
- "netlify": {
2042
- "order": [
2043
- "destination"
2044
- ],
2045
- "properties": {
2046
- "destination": {
2047
- "widget": "publishTargets",
2048
- "itemTemplate": "siteDropdownItem",
2049
- "instructions": "Choose existing or create a new site.",
2050
- "disabled": true
2051
- }
2052
- }
2053
- },
2054
- "vercel": {
2055
- "order": [
2056
- "destination"
2057
- ],
2058
- "properties": {
2059
- "destination": {
2060
- "widget": "publishTargets",
2061
- "itemTemplate": "siteDropdownItem",
2062
- "instructions": "Choose existing or create a new project.",
2063
- "disabled": true
1911
+ "species": {
1912
+ "type": "string",
1913
+ "@mapping": "rick-n-morty:Character.species",
1914
+ "description": "The species of the character."
1915
+ },
1916
+ "type": {
1917
+ "type": "string",
1918
+ "@mapping": "rick-n-morty:Character.type",
1919
+ "description": "The type or subspecies of the character."
1920
+ },
1921
+ "gender": {
1922
+ "type": "string",
1923
+ "@mapping": "rick-n-morty:Character.gender",
1924
+ "description": "The gender of the character ('Female', 'Male', 'Genderless' or 'unknown')."
1925
+ },
1926
+ "origin": {
1927
+ "$ref": "#/shapes/Rick_Location/schema",
1928
+ "@mapping": "rick-n-morty:Character.origin",
1929
+ "description": "The character's origin location"
1930
+ },
1931
+ "location": {
1932
+ "$ref": "#/shapes/Rick_Location/schema",
1933
+ "@mapping": "rick-n-morty:Character.location",
1934
+ "description": "The character's last known location"
1935
+ },
1936
+ "image": {
1937
+ "type": "string",
1938
+ "@mapping": "rick-n-morty:Character.image",
1939
+ "description": "Link to the character's image.\nAll images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars."
1940
+ },
1941
+ "episode": {
1942
+ "type": "array",
1943
+ "items": {
1944
+ "$ref": "#/shapes/Rick_Episode/schema"
1945
+ },
1946
+ "@mapping": "rick-n-morty:Character.episode",
1947
+ "description": "Episodes in which this character appeared."
1948
+ },
1949
+ "created": {
1950
+ "type": "string",
1951
+ "@mapping": "rick-n-morty:Character.created",
1952
+ "description": "Time at which the character was created in the database."
2064
1953
  }
2065
- }
1954
+ },
1955
+ "required": [
1956
+ "episode"
1957
+ ]
2066
1958
  }
2067
1959
  },
2068
- "Homepage": {
2069
- "default": {
1960
+ "Rick_FilterCharacter": {
1961
+ "name": "Rick_FilterCharacter",
1962
+ "title": "Rick_FilterCharacter",
1963
+ "id": "filterCharacter",
1964
+ "schema": {
1965
+ "type": "object",
2070
1966
  "properties": {
2071
- "title": {
2072
- "widget": "singleLineText"
1967
+ "name": {
1968
+ "type": "string",
1969
+ "@mapping": "rick-n-morty:FilterCharacter.name"
2073
1970
  },
2074
- "hero": {
2075
- "properties": {
2076
- "image": {
2077
- "widget": "image"
2078
- },
2079
- "featuredPost": {
2080
- "widget": "relationship"
2081
- }
2082
- },
2083
- "widget": "object",
2084
- "order": [
2085
- "image",
2086
- "featuredPost"
2087
- ]
1971
+ "status": {
1972
+ "type": "string",
1973
+ "@mapping": "rick-n-morty:FilterCharacter.status"
1974
+ },
1975
+ "species": {
1976
+ "type": "string",
1977
+ "@mapping": "rick-n-morty:FilterCharacter.species"
1978
+ },
1979
+ "type": {
1980
+ "type": "string",
1981
+ "@mapping": "rick-n-morty:FilterCharacter.type"
1982
+ },
1983
+ "gender": {
1984
+ "type": "string",
1985
+ "@mapping": "rick-n-morty:FilterCharacter.gender"
2088
1986
  }
2089
- },
2090
- "order": [
2091
- "title",
2092
- "hero"
2093
- ]
1987
+ }
2094
1988
  }
2095
1989
  },
2096
- "SiteSettings": {
2097
- "default": {
1990
+ "Rick_Characters": {
1991
+ "name": "Rick_Characters",
1992
+ "title": "Rick_Characters",
1993
+ "id": "characters",
1994
+ "schema": {
1995
+ "type": "object",
2098
1996
  "properties": {
2099
- "siteTitle": {
2100
- "widget": "singleLineText"
1997
+ "info": {
1998
+ "$ref": "#/shapes/Rick_Info/schema",
1999
+ "@mapping": "rick-n-morty:Characters.info"
2000
+ },
2001
+ "results": {
2002
+ "type": "array",
2003
+ "items": {
2004
+ "$ref": "#/shapes/Rick_Character/schema"
2005
+ },
2006
+ "@mapping": "rick-n-morty:Characters.results"
2101
2007
  }
2102
- },
2103
- "order": [
2104
- "siteTitle"
2105
- ]
2008
+ }
2106
2009
  }
2107
2010
  },
2108
- "Tags": {
2109
- "default": {
2011
+ "Rick_Location": {
2012
+ "name": "Rick_Location",
2013
+ "title": "Rick_Location",
2014
+ "id": "location",
2015
+ "schema": {
2016
+ "type": "object",
2110
2017
  "properties": {
2018
+ "id": {
2019
+ "type": "string",
2020
+ "@tag": "id",
2021
+ "@mapping": "rick-n-morty:Location.id",
2022
+ "description": "The id of the location."
2023
+ },
2111
2024
  "name": {
2112
- "widget": "singleLineText"
2025
+ "type": "string",
2026
+ "@mapping": "rick-n-morty:Location.name",
2027
+ "description": "The name of the location."
2028
+ },
2029
+ "type": {
2030
+ "type": "string",
2031
+ "@mapping": "rick-n-morty:Location.type",
2032
+ "description": "The type of the location."
2033
+ },
2034
+ "dimension": {
2035
+ "type": "string",
2036
+ "@mapping": "rick-n-morty:Location.dimension",
2037
+ "description": "The dimension in which the location is located."
2038
+ },
2039
+ "residents": {
2040
+ "type": "array",
2041
+ "items": {
2042
+ "$ref": "#/shapes/Rick_Character/schema"
2043
+ },
2044
+ "@mapping": "rick-n-morty:Location.residents",
2045
+ "description": "List of characters who have been last seen in the location."
2046
+ },
2047
+ "created": {
2048
+ "type": "string",
2049
+ "@mapping": "rick-n-morty:Location.created",
2050
+ "description": "Time at which the location was created in the database."
2113
2051
  }
2114
2052
  },
2115
- "order": [
2116
- "name"
2053
+ "required": [
2054
+ "residents"
2117
2055
  ]
2118
2056
  }
2119
2057
  },
2120
- "Post": {
2121
- "default": {
2058
+ "Rick_Episode": {
2059
+ "name": "Rick_Episode",
2060
+ "title": "Rick_Episode",
2061
+ "id": "episode",
2062
+ "schema": {
2063
+ "type": "object",
2122
2064
  "properties": {
2123
- "title": {
2124
- "widget": "singleLineText"
2125
- },
2126
- "slug": {
2127
- "widget": "singleLineText",
2128
- "instructions": "Slug needs to be unique among items of this content type"
2129
- },
2130
- "characterId": {
2131
- "widget": "singleLineText"
2065
+ "id": {
2066
+ "type": "string",
2067
+ "@tag": "id",
2068
+ "@mapping": "rick-n-morty:Episode.id",
2069
+ "description": "The id of the episode."
2132
2070
  },
2133
- "tags": {
2134
- "widget": "relationship"
2071
+ "name": {
2072
+ "type": "string",
2073
+ "@mapping": "rick-n-morty:Episode.name",
2074
+ "description": "The name of the episode."
2135
2075
  },
2136
- "deck": {
2137
- "widget": "paragraphText"
2076
+ "air_date": {
2077
+ "type": "string",
2078
+ "@mapping": "rick-n-morty:Episode.air_date",
2079
+ "description": "The air date of the episode."
2138
2080
  },
2139
- "author": {
2140
- "widget": "relationship"
2081
+ "episode": {
2082
+ "type": "string",
2083
+ "@mapping": "rick-n-morty:Episode.episode",
2084
+ "description": "The code of the episode."
2141
2085
  },
2142
- "featureImage": {
2143
- "widget": "image"
2086
+ "characters": {
2087
+ "type": "array",
2088
+ "items": {
2089
+ "$ref": "#/shapes/Rick_Character/schema"
2090
+ },
2091
+ "@mapping": "rick-n-morty:Episode.characters",
2092
+ "description": "List of characters who have been seen in the episode."
2144
2093
  },
2145
- "body": {
2146
- "widget": "wysiwygText"
2094
+ "created": {
2095
+ "type": "string",
2096
+ "@mapping": "rick-n-morty:Episode.created",
2097
+ "description": "Time at which the episode was created in the database."
2147
2098
  }
2148
2099
  },
2149
- "order": [
2150
- "title",
2151
- "slug",
2152
- "characterId",
2153
- "tags",
2154
- "deck",
2155
- "author",
2156
- "featureImage",
2157
- "body",
2158
- "nested"
2100
+ "required": [
2101
+ "characters"
2159
2102
  ]
2160
2103
  }
2161
2104
  },
2162
- "Author": {
2163
- "default": {
2105
+ "Rick_Info": {
2106
+ "name": "Rick_Info",
2107
+ "title": "Rick_Info",
2108
+ "id": "info",
2109
+ "schema": {
2110
+ "type": "object",
2164
2111
  "properties": {
2165
- "name": {
2166
- "widget": "singleLineText"
2112
+ "count": {
2113
+ "type": "integer",
2114
+ "@mapping": "rick-n-morty:Info.count",
2115
+ "description": "The length of the response."
2167
2116
  },
2168
- "photo": {
2169
- "widget": "image"
2117
+ "pages": {
2118
+ "type": "integer",
2119
+ "@mapping": "rick-n-morty:Info.pages",
2120
+ "description": "The amount of pages."
2170
2121
  },
2171
- "biography": {
2172
- "widget": "wysiwygText"
2122
+ "next": {
2123
+ "type": "integer",
2124
+ "@mapping": "rick-n-morty:Info.next",
2125
+ "description": "Number of the next page (if it exists)"
2173
2126
  },
2174
- "slug": {
2175
- "instructions": "Slug needs to be unique among items of this content type",
2176
- "widget": "singleLineText"
2127
+ "prev": {
2128
+ "type": "integer",
2129
+ "@mapping": "rick-n-morty:Info.prev",
2130
+ "description": "Number of the previous page (if it exists)"
2177
2131
  }
2178
- },
2179
- "order": [
2180
- "name",
2181
- "slug",
2182
- "photo",
2183
- "biography"
2184
- ]
2132
+ }
2185
2133
  }
2186
- }
2187
- },
2188
- "dataKey": "AQIDAHi9nATJb1LYgj5u7ShOGp43y2H6TuckRKGDlwTU4b6ryQGI0q/SRpsDawxZIqwDcVlDAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQM854moczqo/0NmMLbAgEQgDvf6d048wXTUyv/KlbkBLU/v/D1itvLB9wgP3M9vX4bKU6WgalSGCL/QtC18KiQ+mBk5BPQTiY6+rPsWQ==",
2189
- "services": {
2190
- "rick-n-morty": {
2191
- "id": "rick-n-morty",
2192
- "provider": "generic",
2193
- "title": "Rick",
2194
- "namespace": "Rick",
2195
- "serviceType": "graphql",
2196
- "authenticationType": "none",
2197
- "options": {
2198
- "endpoint": "https://rickandmortyapi.com/graphql"
2134
+ },
2135
+ "NestedA": {
2136
+ "id": "NestedA",
2137
+ "name": "NestedA",
2138
+ "title": "NestedA",
2139
+ "schema": {
2140
+ "type": "object",
2141
+ "properties": {
2142
+ "child": {
2143
+ "@ref": "local:NestedB"
2144
+ }
2145
+ }
2146
+ }
2147
+ },
2148
+ "NestedB": {
2149
+ "id": "NestedB",
2150
+ "name": "NestedB",
2151
+ "title": "NestedB",
2152
+ "schema": {
2153
+ "type": "object",
2154
+ "properties": {
2155
+ "child": {
2156
+ "@ref": "local:NestedC"
2157
+ }
2158
+ }
2159
+ }
2160
+ },
2161
+ "NestedC": {
2162
+ "id": "NestedC",
2163
+ "name": "NestedC",
2164
+ "title": "NestedC",
2165
+ "schema": {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "child": {
2169
+ "@ref": "local:NestedD"
2170
+ }
2171
+ }
2172
+ }
2173
+ },
2174
+ "NestedD": {
2175
+ "id": "NestedD",
2176
+ "name": "NestedD",
2177
+ "title": "NestedD",
2178
+ "schema": {
2179
+ "type": "object",
2180
+ "properties": {
2181
+ "child": {
2182
+ "@ref": "local:NestedE"
2183
+ }
2184
+ }
2185
+ }
2186
+ },
2187
+ "NestedE": {
2188
+ "id": "NestedE",
2189
+ "name": "NestedE",
2190
+ "title": "NestedE",
2191
+ "schema": {
2192
+ "type": "object",
2193
+ "properties": {
2194
+ "value": {
2195
+ "type": "string"
2196
+ }
2197
+ }
2199
2198
  }
2200
2199
  }
2201
- }
2200
+ },
2201
+ "schemaVersion": "3.10.0"
2202
2202
  }