@takeshape/schema 9.43.0 → 9.46.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.
@@ -0,0 +1,1009 @@
1
+ {
2
+ "projectId": "project-id",
3
+ "defaultLocale": "en-us",
4
+ "locales": [
5
+ "en-us"
6
+ ],
7
+ "queries": {
8
+ "getSimpleModelShape": {
9
+ "shape": "SimpleModelShape",
10
+ "resolver": {
11
+ "name": "shapedb:get",
12
+ "service": "shapedb",
13
+ "shapeName": "SimpleModelShape"
14
+ },
15
+ "description": "Get a SimpleModelShape by ID",
16
+ "args": "TSGetArgs<SimpleModelShape>"
17
+ },
18
+ "getSimpleModelShapeList": {
19
+ "shape": "PaginatedList<SimpleModelShape>",
20
+ "resolver": {
21
+ "name": "shapedb:list",
22
+ "service": "shapedb",
23
+ "shapeName": "SimpleModelShape"
24
+ },
25
+ "description": "Returns a list SimpleModelShape in natural order.",
26
+ "args": "TSListArgs<SimpleModelShape>"
27
+ },
28
+ "getShapeName": {
29
+ "shape": "ShapeName",
30
+ "resolver": {
31
+ "name": "shapedb:get",
32
+ "service": "shapedb",
33
+ "shapeName": "ShapeName"
34
+ },
35
+ "description": "Get a ShapeName by ID",
36
+ "args": "TSGetArgs<ShapeName>"
37
+ },
38
+ "getShapeNameList": {
39
+ "shape": "PaginatedList<ShapeName>",
40
+ "resolver": {
41
+ "name": "shapedb:list",
42
+ "service": "shapedb",
43
+ "shapeName": "ShapeName"
44
+ },
45
+ "description": "Returns a list ShapeName in natural order.",
46
+ "args": "TSListArgs<ShapeName>"
47
+ },
48
+ "getBasicModel": {
49
+ "shape": "BasicModel",
50
+ "resolver": {
51
+ "name": "shapedb:get",
52
+ "service": "shapedb",
53
+ "shapeName": "BasicModel"
54
+ },
55
+ "description": "Get a BasicModel by ID",
56
+ "args": "TSGetArgs<BasicModel>"
57
+ },
58
+ "getBasicModelList": {
59
+ "shape": "PaginatedList<BasicModel>",
60
+ "resolver": {
61
+ "name": "shapedb:list",
62
+ "service": "shapedb",
63
+ "shapeName": "BasicModel"
64
+ },
65
+ "description": "Returns a list BasicModel in natural order.",
66
+ "args": "TSListArgs<BasicModel>"
67
+ },
68
+ "getBasicShape1": {
69
+ "shape": "BasicShape1",
70
+ "resolver": {
71
+ "name": "shapedb:get",
72
+ "service": "shapedb",
73
+ "shapeName": "BasicShape1"
74
+ },
75
+ "description": "Get a BasicShape1 by ID",
76
+ "args": "TSGetArgs<BasicShape1>"
77
+ },
78
+ "getBasicShape1List": {
79
+ "shape": "PaginatedList<BasicShape1>",
80
+ "resolver": {
81
+ "name": "shapedb:list",
82
+ "service": "shapedb",
83
+ "shapeName": "BasicShape1"
84
+ },
85
+ "description": "Returns a list BasicShape1 in natural order.",
86
+ "args": "TSListArgs<BasicShape1>"
87
+ },
88
+ "getContainerFieldsShape": {
89
+ "shape": "ContainerFieldsShape",
90
+ "resolver": {
91
+ "name": "shapedb:get",
92
+ "service": "shapedb",
93
+ "shapeName": "ContainerFieldsShape"
94
+ },
95
+ "description": "Get a ContainerFieldsShape by ID",
96
+ "args": "TSGetArgs<ContainerFieldsShape>"
97
+ },
98
+ "getContainerFieldsShapeList": {
99
+ "shape": "PaginatedList<ContainerFieldsShape>",
100
+ "resolver": {
101
+ "name": "shapedb:list",
102
+ "service": "shapedb",
103
+ "shapeName": "ContainerFieldsShape"
104
+ },
105
+ "description": "Returns a list ContainerFieldsShape in natural order.",
106
+ "args": "TSListArgs<ContainerFieldsShape>"
107
+ }
108
+ },
109
+ "mutations": {
110
+ "updateSimpleModelShape": {
111
+ "shape": "UpdateResult<SimpleModelShape>",
112
+ "resolver": {
113
+ "name": "shapedb:update",
114
+ "service": "shapedb",
115
+ "shapeName": "SimpleModelShape"
116
+ },
117
+ "description": "Update SimpleModelShape",
118
+ "args": "UpdateArgs<SimpleModelShape>"
119
+ },
120
+ "createSimpleModelShape": {
121
+ "shape": "CreateResult<SimpleModelShape>",
122
+ "resolver": {
123
+ "name": "shapedb:create",
124
+ "service": "shapedb",
125
+ "shapeName": "SimpleModelShape"
126
+ },
127
+ "description": "Create SimpleModelShape",
128
+ "args": "CreateArgs<SimpleModelShape>"
129
+ },
130
+ "duplicateSimpleModelShape": {
131
+ "shape": "DuplicateResult<SimpleModelShape>",
132
+ "resolver": {
133
+ "name": "shapedb:duplicate",
134
+ "service": "shapedb",
135
+ "shapeName": "SimpleModelShape"
136
+ },
137
+ "description": "Duplicate SimpleModelShape",
138
+ "args": "DuplicateArgs<SimpleModelShape>"
139
+ },
140
+ "deleteSimpleModelShape": {
141
+ "shape": "DeleteResult<SimpleModelShape>",
142
+ "resolver": {
143
+ "name": "shapedb:delete",
144
+ "service": "shapedb",
145
+ "shapeName": "SimpleModelShape"
146
+ },
147
+ "description": "Delete SimpleModelShape",
148
+ "args": "DeleteArgs<SimpleModelShape>"
149
+ },
150
+ "updateShapeName": {
151
+ "shape": "UpdateResult<ShapeName>",
152
+ "resolver": {
153
+ "name": "shapedb:update",
154
+ "service": "shapedb",
155
+ "shapeName": "ShapeName"
156
+ },
157
+ "description": "Update ShapeName",
158
+ "args": "UpdateArgs<ShapeName>"
159
+ },
160
+ "createShapeName": {
161
+ "shape": "CreateResult<ShapeName>",
162
+ "resolver": {
163
+ "name": "shapedb:create",
164
+ "service": "shapedb",
165
+ "shapeName": "ShapeName"
166
+ },
167
+ "description": "Create ShapeName",
168
+ "args": "CreateArgs<ShapeName>"
169
+ },
170
+ "duplicateShapeName": {
171
+ "shape": "DuplicateResult<ShapeName>",
172
+ "resolver": {
173
+ "name": "shapedb:duplicate",
174
+ "service": "shapedb",
175
+ "shapeName": "ShapeName"
176
+ },
177
+ "description": "Duplicate ShapeName",
178
+ "args": "DuplicateArgs<ShapeName>"
179
+ },
180
+ "deleteShapeName": {
181
+ "shape": "DeleteResult<ShapeName>",
182
+ "resolver": {
183
+ "name": "shapedb:delete",
184
+ "service": "shapedb",
185
+ "shapeName": "ShapeName"
186
+ },
187
+ "description": "Delete ShapeName",
188
+ "args": "DeleteArgs<ShapeName>"
189
+ },
190
+ "updateBasicModel": {
191
+ "shape": "UpdateResult<BasicModel>",
192
+ "resolver": {
193
+ "name": "shapedb:update",
194
+ "service": "shapedb",
195
+ "shapeName": "BasicModel"
196
+ },
197
+ "description": "Update BasicModel",
198
+ "args": "UpdateArgs<BasicModel>"
199
+ },
200
+ "createBasicModel": {
201
+ "shape": "CreateResult<BasicModel>",
202
+ "resolver": {
203
+ "name": "shapedb:create",
204
+ "service": "shapedb",
205
+ "shapeName": "BasicModel"
206
+ },
207
+ "description": "Create BasicModel",
208
+ "args": "CreateArgs<BasicModel>"
209
+ },
210
+ "duplicateBasicModel": {
211
+ "shape": "DuplicateResult<BasicModel>",
212
+ "resolver": {
213
+ "name": "shapedb:duplicate",
214
+ "service": "shapedb",
215
+ "shapeName": "BasicModel"
216
+ },
217
+ "description": "Duplicate BasicModel",
218
+ "args": "DuplicateArgs<BasicModel>"
219
+ },
220
+ "deleteBasicModel": {
221
+ "shape": "DeleteResult<BasicModel>",
222
+ "resolver": {
223
+ "name": "shapedb:delete",
224
+ "service": "shapedb",
225
+ "shapeName": "BasicModel"
226
+ },
227
+ "description": "Delete BasicModel",
228
+ "args": "DeleteArgs<BasicModel>"
229
+ },
230
+ "updateBasicShape1": {
231
+ "shape": "UpdateResult<BasicShape1>",
232
+ "resolver": {
233
+ "name": "shapedb:update",
234
+ "service": "shapedb",
235
+ "shapeName": "BasicShape1"
236
+ },
237
+ "description": "Update BasicShape1",
238
+ "args": "UpdateArgs<BasicShape1>"
239
+ },
240
+ "createBasicShape1": {
241
+ "shape": "CreateResult<BasicShape1>",
242
+ "resolver": {
243
+ "name": "shapedb:create",
244
+ "service": "shapedb",
245
+ "shapeName": "BasicShape1"
246
+ },
247
+ "description": "Create BasicShape1",
248
+ "args": "CreateArgs<BasicShape1>"
249
+ },
250
+ "duplicateBasicShape1": {
251
+ "shape": "DuplicateResult<BasicShape1>",
252
+ "resolver": {
253
+ "name": "shapedb:duplicate",
254
+ "service": "shapedb",
255
+ "shapeName": "BasicShape1"
256
+ },
257
+ "description": "Duplicate BasicShape1",
258
+ "args": "DuplicateArgs<BasicShape1>"
259
+ },
260
+ "deleteBasicShape1": {
261
+ "shape": "DeleteResult<BasicShape1>",
262
+ "resolver": {
263
+ "name": "shapedb:delete",
264
+ "service": "shapedb",
265
+ "shapeName": "BasicShape1"
266
+ },
267
+ "description": "Delete BasicShape1",
268
+ "args": "DeleteArgs<BasicShape1>"
269
+ },
270
+ "updateContainerFieldsShape": {
271
+ "shape": "UpdateResult<ContainerFieldsShape>",
272
+ "resolver": {
273
+ "name": "shapedb:update",
274
+ "service": "shapedb",
275
+ "shapeName": "ContainerFieldsShape"
276
+ },
277
+ "description": "Update ContainerFieldsShape",
278
+ "args": "UpdateArgs<ContainerFieldsShape>"
279
+ },
280
+ "createContainerFieldsShape": {
281
+ "shape": "CreateResult<ContainerFieldsShape>",
282
+ "resolver": {
283
+ "name": "shapedb:create",
284
+ "service": "shapedb",
285
+ "shapeName": "ContainerFieldsShape"
286
+ },
287
+ "description": "Create ContainerFieldsShape",
288
+ "args": "CreateArgs<ContainerFieldsShape>"
289
+ },
290
+ "duplicateContainerFieldsShape": {
291
+ "shape": "DuplicateResult<ContainerFieldsShape>",
292
+ "resolver": {
293
+ "name": "shapedb:duplicate",
294
+ "service": "shapedb",
295
+ "shapeName": "ContainerFieldsShape"
296
+ },
297
+ "description": "Duplicate ContainerFieldsShape",
298
+ "args": "DuplicateArgs<ContainerFieldsShape>"
299
+ },
300
+ "deleteContainerFieldsShape": {
301
+ "shape": "DeleteResult<ContainerFieldsShape>",
302
+ "resolver": {
303
+ "name": "shapedb:delete",
304
+ "service": "shapedb",
305
+ "shapeName": "ContainerFieldsShape"
306
+ },
307
+ "description": "Delete ContainerFieldsShape",
308
+ "args": "DeleteArgs<ContainerFieldsShape>"
309
+ }
310
+ },
311
+ "shapes": {
312
+ "SimpleModelShape": {
313
+ "id": "rs0QQJm8l",
314
+ "name": "SimpleModelShape",
315
+ "title": "Simple Model Shape",
316
+ "model": {
317
+ "type": "multiple"
318
+ },
319
+ "schema": {
320
+ "type": "object",
321
+ "properties": {
322
+ "string": {
323
+ "@mapping": "shapedb:SimpleModelShape.LLNWONaCB",
324
+ "type": "string",
325
+ "title": "String"
326
+ },
327
+ "object": {
328
+ "title": "Object",
329
+ "@mapping": "shapedb:SimpleModelShape.q1ybXy5d8",
330
+ "type": "object"
331
+ }
332
+ },
333
+ "required": [
334
+ "object"
335
+ ]
336
+ }
337
+ },
338
+ "AnotherModelShape": {
339
+ "id": "SatHxxRrI",
340
+ "name": "AnotherModelShape",
341
+ "title": "Another Model Shape",
342
+ "schema": {
343
+ "type": "object",
344
+ "properties": {
345
+ "string": {
346
+ "title": "String",
347
+ "@mapping": "shapedb:AnotherModelShape.5mmmvzmHO",
348
+ "type": "string"
349
+ }
350
+ }
351
+ }
352
+ },
353
+ "ShapeName": {
354
+ "id": "QQJgeh5sS",
355
+ "name": "ShapeName",
356
+ "title": "Shape Name",
357
+ "description": "Shape Description",
358
+ "model": {
359
+ "type": "multiple"
360
+ },
361
+ "schema": {
362
+ "type": "object",
363
+ "properties": {
364
+ "date": {
365
+ "@mapping": "shapedb:ShapeName.6LeFNn4bxZ",
366
+ "type": "string",
367
+ "description": "String Property Description",
368
+ "title": "String",
369
+ "format": "date-time"
370
+ },
371
+ "stringArray": {
372
+ "@mapping": "shapedb:ShapeName.fFFnsnaVh",
373
+ "type": "array",
374
+ "description": "String Array Property Description",
375
+ "title": "String Array",
376
+ "items": {
377
+ "type": "string",
378
+ "oneOf": [
379
+ {
380
+ "title": "Option 1",
381
+ "enum": [
382
+ "option1"
383
+ ]
384
+ },
385
+ {
386
+ "title": "Option 2",
387
+ "enum": [
388
+ "option2"
389
+ ]
390
+ }
391
+ ]
392
+ },
393
+ "@l10n": true
394
+ },
395
+ "number": {
396
+ "@mapping": "shapedb:ShapeName.6SCPUL_su",
397
+ "type": "integer",
398
+ "maximum": 3,
399
+ "minimum": 1,
400
+ "description": "Number Property Description",
401
+ "title": "Number"
402
+ },
403
+ "numberArray": {
404
+ "@mapping": "shapedb:ShapeName.2OLkqVu93",
405
+ "type": "array",
406
+ "description": "Number Array Property Description",
407
+ "title": "Number Array",
408
+ "items": {
409
+ "type": "number",
410
+ "oneOf": [
411
+ {
412
+ "title": "Option 1",
413
+ "enum": [
414
+ 1
415
+ ]
416
+ },
417
+ {
418
+ "title": "Option 2",
419
+ "enum": [
420
+ 2
421
+ ]
422
+ }
423
+ ]
424
+ }
425
+ },
426
+ "boolean": {
427
+ "@mapping": "shapedb:ShapeName.nq9xafJPl",
428
+ "type": "boolean",
429
+ "default": true,
430
+ "description": "Boolean Property Description",
431
+ "title": "Boolean"
432
+ },
433
+ "booleanArray": {
434
+ "@mapping": "shapedb:ShapeName.PR1c_ve7-",
435
+ "type": "array",
436
+ "description": "Boolean Array Property Description",
437
+ "title": "Boolean Array",
438
+ "items": {
439
+ "type": "boolean",
440
+ "oneOf": [
441
+ {
442
+ "title": "Option 1",
443
+ "enum": [
444
+ true
445
+ ]
446
+ },
447
+ {
448
+ "title": "Option 2",
449
+ "enum": [
450
+ false
451
+ ]
452
+ }
453
+ ]
454
+ }
455
+ },
456
+ "objectInline": {
457
+ "@mapping": "shapedb:ShapeName.NV-cwZhQM",
458
+ "title": "Object Inline",
459
+ "description": "Object (Inline) Property Description",
460
+ "oneOf": [
461
+ {
462
+ "@ref": "local:AnotherModelShape"
463
+ },
464
+ {
465
+ "@ref": "local:ShapeName"
466
+ }
467
+ ]
468
+ },
469
+ "objectColor": {
470
+ "@mapping": "shapedb:ShapeName.E3kZZAM7Q",
471
+ "title": "Object Color",
472
+ "description": "Object (Color) Property Description",
473
+ "@ref": "local:TSColor"
474
+ },
475
+ "objectRelationship": {
476
+ "@args": "TSRelationshipArgs",
477
+ "@resolver": {
478
+ "name": "shapedb:getRelated",
479
+ "service": "shapedb",
480
+ "options": {
481
+ "nullable": true
482
+ }
483
+ },
484
+ "@mapping": "shapedb:ShapeName.VHhXPT1c7",
485
+ "title": "Object Relationship",
486
+ "description": "Object (Relationship) Property Description",
487
+ "@ref": "local:SimpleModelShape",
488
+ "@input": {
489
+ "@ref": "local:TSRelationship"
490
+ },
491
+ "@backreference": {
492
+ "enabled": true,
493
+ "name": "RelationshipBackreferenceName"
494
+ }
495
+ },
496
+ "objectArrayInline": {
497
+ "@mapping": "shapedb:ShapeName.bocypBQBt",
498
+ "type": "array",
499
+ "title": "Object Array Inline",
500
+ "description": "Object Array (Inline) Property Description",
501
+ "items": {
502
+ "oneOf": [
503
+ {
504
+ "@ref": "local:AnotherModelShape"
505
+ },
506
+ {
507
+ "@ref": "local:ShapeName"
508
+ }
509
+ ]
510
+ }
511
+ },
512
+ "objectArrayColor": {
513
+ "@mapping": "shapedb:ShapeName.-MaFDcgJa",
514
+ "type": "array",
515
+ "title": "Object Array Color",
516
+ "description": "Object Array (Color) Property Description",
517
+ "items": {
518
+ "@ref": "local:TSColor"
519
+ }
520
+ },
521
+ "objectArrayRelationship": {
522
+ "@args": "TSRelationshipArgs",
523
+ "@resolver": {
524
+ "name": "shapedb:getRelated",
525
+ "service": "shapedb",
526
+ "options": {
527
+ "nullable": true
528
+ }
529
+ },
530
+ "type": "array",
531
+ "@mapping": "shapedb:ShapeName.4fdJKeg70",
532
+ "title": "Object Array Relationship",
533
+ "description": "Object Array (Relationship) Property Description",
534
+ "items": {
535
+ "@ref": "local:SimpleModelShape"
536
+ },
537
+ "@input": {
538
+ "type": "array",
539
+ "items": {
540
+ "@ref": "local:TSRelationship"
541
+ }
542
+ },
543
+ "@backreference": {
544
+ "enabled": true,
545
+ "name": "RelationshipArrayBackreferenceName"
546
+ }
547
+ },
548
+ "asset": {
549
+ "@args": "TSRelationshipArgs",
550
+ "@resolver": {
551
+ "name": "shapedb:getRelated",
552
+ "service": "shapedb",
553
+ "options": {
554
+ "nullable": true
555
+ }
556
+ },
557
+ "@mapping": "shapedb:ShapeName.uCC_FRTNP",
558
+ "title": "New Title",
559
+ "description": "Asset Property Description",
560
+ "@ref": "local:Asset",
561
+ "@input": {
562
+ "@ref": "local:TSRelationship"
563
+ }
564
+ },
565
+ "assetArray": {
566
+ "@args": "TSRelationshipArgs",
567
+ "@resolver": {
568
+ "name": "shapedb:getRelated",
569
+ "service": "shapedb",
570
+ "options": {
571
+ "nullable": true
572
+ }
573
+ },
574
+ "type": "array",
575
+ "@mapping": "shapedb:ShapeName.1jv8_cT2s",
576
+ "title": "Another Title",
577
+ "description": "Asset Array Property Description",
578
+ "items": {
579
+ "@ref": "local:Asset"
580
+ },
581
+ "@input": {
582
+ "type": "array",
583
+ "items": {
584
+ "@ref": "local:TSRelationship"
585
+ }
586
+ }
587
+ },
588
+ "singleLine": {
589
+ "title": "Single Line",
590
+ "@mapping": "shapedb:ShapeName.gEZD8upb2",
591
+ "type": "string"
592
+ },
593
+ "slug": {
594
+ "title": "Slug",
595
+ "@mapping": "shapedb:ShapeName.KOcBbcwNo",
596
+ "type": "string",
597
+ "@derivedFrom": "singleLine"
598
+ },
599
+ "blockCanvasMdx": {
600
+ "title": "Block Canvas Mdx",
601
+ "@mapping": "shapedb:ShapeName.hKRskbQ5m",
602
+ "type": "string",
603
+ "@tag": "mdx"
604
+ },
605
+ "markdown": {
606
+ "title": "Markdown",
607
+ "@mapping": "shapedb:ShapeName.DPz8i8AxH",
608
+ "type": "string"
609
+ },
610
+ "paragraph": {
611
+ "title": "Paragraph",
612
+ "@mapping": "shapedb:ShapeName.7MWP0G_-C",
613
+ "type": "string"
614
+ },
615
+ "datetime": {
616
+ "title": "Datetime",
617
+ "@mapping": "shapedb:ShapeName.6jLYK1UvK",
618
+ "type": "string",
619
+ "format": "date-time"
620
+ },
621
+ "dropdown": {
622
+ "title": "Dropdown",
623
+ "@mapping": "shapedb:ShapeName.2rPb6hkZA",
624
+ "type": "string",
625
+ "oneOf": [
626
+ {
627
+ "title": "Option 1",
628
+ "enum": [
629
+ "option1"
630
+ ]
631
+ },
632
+ {
633
+ "title": "Option 2",
634
+ "enum": [
635
+ "option2"
636
+ ]
637
+ }
638
+ ]
639
+ },
640
+ "radioButtons": {
641
+ "title": "Radio Buttons",
642
+ "@mapping": "shapedb:ShapeName.Antg54pOr",
643
+ "type": "string",
644
+ "oneOf": [
645
+ {
646
+ "title": "Option 1",
647
+ "enum": [
648
+ "option1"
649
+ ]
650
+ },
651
+ {
652
+ "title": "Option 2",
653
+ "enum": [
654
+ "option2"
655
+ ]
656
+ }
657
+ ]
658
+ },
659
+ "stringArrayThreeOptions": {
660
+ "title": "String Array Three Options",
661
+ "@mapping": "shapedb:ShapeName.ogmfFmark",
662
+ "type": "array",
663
+ "items": {
664
+ "type": "string",
665
+ "oneOf": [
666
+ {
667
+ "title": "Option 1",
668
+ "enum": [
669
+ "option1"
670
+ ]
671
+ },
672
+ {
673
+ "title": "Option 2",
674
+ "enum": [
675
+ "option2"
676
+ ]
677
+ },
678
+ {
679
+ "title": "New Option",
680
+ "enum": [
681
+ "newOption"
682
+ ]
683
+ }
684
+ ]
685
+ }
686
+ },
687
+ "switch": {
688
+ "title": "Switch",
689
+ "@mapping": "shapedb:ShapeName.zxxhBdwup",
690
+ "type": "boolean"
691
+ },
692
+ "blockCanvas": {
693
+ "title": "Block Canvas",
694
+ "type": "object",
695
+ "@tag": "draftjs",
696
+ "@mapping": "shapedb:ShapeName._WUfkyD8I"
697
+ },
698
+ "singleLineCanvas": {
699
+ "title": "Single Line Canvas",
700
+ "type": "object",
701
+ "@tag": "draftjs",
702
+ "@mapping": "shapedb:ShapeName.nY5nm-4BQ"
703
+ }
704
+ }
705
+ }
706
+ },
707
+ "BasicModel": {
708
+ "id": "JRsAgsXcB",
709
+ "name": "BasicModel",
710
+ "title": "Basic Model",
711
+ "model": {
712
+ "type": "multiple"
713
+ },
714
+ "schema": {
715
+ "type": "object",
716
+ "properties": {
717
+ "singleLine": {
718
+ "@mapping": "shapedb:BasicModel.i6uoZ1aua",
719
+ "type": "string",
720
+ "title": "Single Line"
721
+ }
722
+ },
723
+ "required": [
724
+ "singleLine"
725
+ ]
726
+ }
727
+ },
728
+ "BasicShape1": {
729
+ "id": "4_TrDd1rF",
730
+ "name": "BasicShape1",
731
+ "title": "Basic Shape 1",
732
+ "model": {
733
+ "type": "multiple"
734
+ },
735
+ "schema": {
736
+ "type": "object",
737
+ "properties": {
738
+ "singleLine": {
739
+ "@mapping": "shapedb:BasicShape1.I_ZxvmnT7",
740
+ "type": "string",
741
+ "title": "Single Line"
742
+ }
743
+ }
744
+ }
745
+ },
746
+ "ContainerFieldsShape": {
747
+ "id": "CTlDNvbyp",
748
+ "name": "ContainerFieldsShape",
749
+ "title": "Container Fields Shape",
750
+ "model": {
751
+ "type": "multiple"
752
+ },
753
+ "schema": {
754
+ "type": "object",
755
+ "properties": {
756
+ "object": {
757
+ "@mapping": "shapedb:ContainerFieldsShape.3n5RshIBC",
758
+ "type": "object",
759
+ "title": "Object"
760
+ },
761
+ "objectsArray": {
762
+ "@mapping": "shapedb:ContainerFieldsShape.Rqko1Tri2",
763
+ "@args": "TSRelationshipArgs",
764
+ "@resolver": {
765
+ "name": "shapedb:getRelated",
766
+ "service": "shapedb",
767
+ "options": {
768
+ "nullable": true
769
+ }
770
+ },
771
+ "title": "Objects Array",
772
+ "oneOf": [
773
+ {
774
+ "@ref": "local:BasicModel"
775
+ },
776
+ {
777
+ "@ref": "local:BasicShape1"
778
+ }
779
+ ],
780
+ "@input": {
781
+ "@ref": "local:TSRelationship"
782
+ }
783
+ }
784
+ }
785
+ }
786
+ },
787
+ "BasicShape2": {
788
+ "id": "0VenQRrJF",
789
+ "name": "BasicShape2",
790
+ "title": "Basic Shape 2",
791
+ "schema": {
792
+ "type": "object",
793
+ "properties": {
794
+ "singleLine": {
795
+ "@mapping": "shapedb:BasicShape2.lU41k8lTq",
796
+ "type": "string",
797
+ "title": "Single Line"
798
+ }
799
+ }
800
+ }
801
+ }
802
+ },
803
+ "workflows": {},
804
+ "forms": {
805
+ "SimpleModelShape": {
806
+ "default": {
807
+ "properties": {
808
+ "string": {
809
+ "widget": "singleLineText"
810
+ },
811
+ "object": {
812
+ "widget": "shapeObject"
813
+ }
814
+ },
815
+ "order": [
816
+ "string",
817
+ "object"
818
+ ]
819
+ }
820
+ },
821
+ "AnotherModelShape": {
822
+ "default": {
823
+ "properties": {
824
+ "string": {
825
+ "widget": "singleLineText"
826
+ }
827
+ },
828
+ "order": [
829
+ "string"
830
+ ]
831
+ }
832
+ },
833
+ "ShapeName": {
834
+ "default": {
835
+ "properties": {
836
+ "date": {
837
+ "instructions": "String Instructions",
838
+ "widget": "date"
839
+ },
840
+ "stringArray": {
841
+ "instructions": "String Array Instructions",
842
+ "widget": "checkboxes"
843
+ },
844
+ "number": {
845
+ "instructions": "Number Instructions",
846
+ "widget": "number"
847
+ },
848
+ "numberArray": {
849
+ "instructions": "Number Array Instructions",
850
+ "widget": "numberCheckboxes"
851
+ },
852
+ "boolean": {
853
+ "instructions": "Boolean Instructions",
854
+ "widget": "checkbox"
855
+ },
856
+ "booleanArray": {
857
+ "widget": "booleanCheckboxes"
858
+ },
859
+ "objectInline": {
860
+ "widget": "shapeObject"
861
+ },
862
+ "objectColor": {
863
+ "widget": "color"
864
+ },
865
+ "objectRelationship": {
866
+ "widget": "relationship"
867
+ },
868
+ "objectArrayInline": {
869
+ "widget": "shapeArray"
870
+ },
871
+ "objectArrayColor": {
872
+ "items": {
873
+ "widget": "color"
874
+ }
875
+ },
876
+ "objectArrayRelationship": {
877
+ "widget": "relationship"
878
+ },
879
+ "asset": {
880
+ "widget": "image"
881
+ },
882
+ "assetArray": {
883
+ "items": {
884
+ "widget": "image"
885
+ }
886
+ },
887
+ "singleLine": {
888
+ "widget": "singleLineText"
889
+ },
890
+ "slug": {
891
+ "widget": "slug"
892
+ },
893
+ "blockCanvasMdx": {
894
+ "widget": "wysiwygTextMdx"
895
+ },
896
+ "markdown": {
897
+ "widget": "markdownText"
898
+ },
899
+ "paragraph": {
900
+ "widget": "paragraphText"
901
+ },
902
+ "datetime": {
903
+ "widget": "datetime"
904
+ },
905
+ "dropdown": {
906
+ "widget": "dropdown"
907
+ },
908
+ "radioButtons": {
909
+ "widget": "radio"
910
+ },
911
+ "stringArrayThreeOptions": {
912
+ "widget": "checkboxes"
913
+ },
914
+ "switch": {
915
+ "widget": "toggleSwitch"
916
+ },
917
+ "blockCanvas": {
918
+ "widget": "wysiwygText"
919
+ },
920
+ "singleLineCanvas": {
921
+ "widget": "wysiwygSingleLineText"
922
+ }
923
+ },
924
+ "order": [
925
+ "date",
926
+ "stringArray",
927
+ "number",
928
+ "numberArray",
929
+ "boolean",
930
+ "booleanArray",
931
+ "objectInline",
932
+ "objectColor",
933
+ "objectRelationship",
934
+ "objectArrayInline",
935
+ "objectArrayColor",
936
+ "objectArrayRelationship",
937
+ "asset",
938
+ "assetArray",
939
+ "singleLine",
940
+ "slug",
941
+ "blockCanvasMdx",
942
+ "markdown",
943
+ "paragraph",
944
+ "datetime",
945
+ "dropdown",
946
+ "radioButtons",
947
+ "stringArrayThreeOptions",
948
+ "switch",
949
+ "blockCanvas",
950
+ "singleLineCanvas"
951
+ ]
952
+ }
953
+ },
954
+ "BasicModel": {
955
+ "default": {
956
+ "properties": {
957
+ "singleLine": {
958
+ "widget": "singleLineText"
959
+ }
960
+ },
961
+ "order": [
962
+ "singleLine"
963
+ ]
964
+ }
965
+ },
966
+ "BasicShape1": {
967
+ "default": {
968
+ "properties": {
969
+ "singleLine": {
970
+ "widget": "singleLineText"
971
+ }
972
+ },
973
+ "order": [
974
+ "singleLine"
975
+ ]
976
+ }
977
+ },
978
+ "ContainerFieldsShape": {
979
+ "default": {
980
+ "properties": {
981
+ "object": {
982
+ "widget": "shapeObject"
983
+ },
984
+ "objectsArray": {
985
+ "widget": "relationship"
986
+ }
987
+ },
988
+ "order": [
989
+ "object",
990
+ "objectsArray"
991
+ ]
992
+ }
993
+ },
994
+ "BasicShape2": {
995
+ "default": {
996
+ "properties": {
997
+ "singleLine": {
998
+ "widget": "singleLineText"
999
+ }
1000
+ },
1001
+ "order": [
1002
+ "singleLine"
1003
+ ]
1004
+ }
1005
+ }
1006
+ },
1007
+ "schemaVersion": "3.33.0",
1008
+ "apiVersion": "2"
1009
+ }