@takeshape/schema 8.145.1 → 8.150.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.
Files changed (125) hide show
  1. package/dist/builtin-schema.d.ts.map +1 -1
  2. package/dist/builtin-schema.js +17 -0
  3. package/dist/get-is-leaf.d.ts +1 -1
  4. package/dist/get-is-leaf.d.ts.map +1 -1
  5. package/dist/get-is-leaf.js +3 -1
  6. package/dist/migration/index.d.ts +1 -0
  7. package/dist/migration/index.d.ts.map +1 -1
  8. package/dist/migration/index.js +4 -1
  9. package/dist/migration/to/v3.0.0.d.ts.map +1 -1
  10. package/dist/migration/to/v3.18.0.d.ts +5 -0
  11. package/dist/migration/to/v3.18.0.d.ts.map +1 -0
  12. package/dist/migration/to/v3.18.0.js +85 -0
  13. package/dist/mocks.d.ts.map +1 -1
  14. package/dist/mocks.js +4 -2
  15. package/dist/project-schema/index.d.ts +4 -1
  16. package/dist/project-schema/index.d.ts.map +1 -1
  17. package/dist/project-schema/index.js +20 -3
  18. package/dist/project-schema/latest.d.ts +4 -139
  19. package/dist/project-schema/latest.d.ts.map +1 -1
  20. package/dist/project-schema/migrate.d.ts.map +1 -1
  21. package/dist/project-schema/migrate.js +4 -0
  22. package/dist/project-schema/v3.18.0.d.ts +1334 -0
  23. package/dist/project-schema/v3.18.0.d.ts.map +1 -0
  24. package/dist/project-schema/v3.18.0.js +5 -0
  25. package/dist/refs.d.ts +14 -2
  26. package/dist/refs.d.ts.map +1 -1
  27. package/dist/refs.js +26 -0
  28. package/dist/relationships.d.ts +28 -2
  29. package/dist/relationships.d.ts.map +1 -1
  30. package/dist/relationships.js +234 -19
  31. package/dist/rewrite.d.ts.map +1 -1
  32. package/dist/rewrite.js +10 -2
  33. package/dist/schema-util.d.ts +1 -18
  34. package/dist/schema-util.d.ts.map +1 -1
  35. package/dist/schema-util.js +36 -120
  36. package/dist/schemas/index.d.ts +2 -2
  37. package/dist/schemas/index.d.ts.map +1 -1
  38. package/dist/schemas/index.js +6 -4
  39. package/dist/schemas/index.ts +4 -2
  40. package/dist/schemas/project-schema/latest.json +2175 -2195
  41. package/dist/schemas/project-schema/v3.18.0.json +2350 -0
  42. package/dist/schemas/project-schema.json +3 -0
  43. package/dist/template-shapes/templates.d.ts +5 -0
  44. package/dist/template-shapes/templates.d.ts.map +1 -1
  45. package/dist/template-shapes/templates.js +59 -28
  46. package/dist/template-shapes/where.d.ts +3 -4
  47. package/dist/template-shapes/where.d.ts.map +1 -1
  48. package/dist/template-shapes/where.js +32 -26
  49. package/dist/types/types.d.ts +42 -2
  50. package/dist/types/types.d.ts.map +1 -1
  51. package/dist/types/utils.d.ts +2 -0
  52. package/dist/types/utils.d.ts.map +1 -1
  53. package/dist/types/utils.js +9 -1
  54. package/dist/unions.d.ts.map +1 -1
  55. package/dist/unions.js +3 -1
  56. package/dist/util/detect-cycles.d.ts +3 -1
  57. package/dist/util/detect-cycles.d.ts.map +1 -1
  58. package/dist/util/detect-cycles.js +37 -28
  59. package/dist/util/form-config.d.ts +9 -0
  60. package/dist/util/form-config.d.ts.map +1 -0
  61. package/dist/util/form-config.js +97 -0
  62. package/dist/util/index.d.ts +1 -0
  63. package/dist/util/index.d.ts.map +1 -1
  64. package/dist/util/index.js +13 -0
  65. package/dist/validate.d.ts.map +1 -1
  66. package/dist/validate.js +75 -45
  67. package/es/builtin-schema.js +17 -0
  68. package/es/get-is-leaf.js +2 -1
  69. package/es/migration/index.js +3 -1
  70. package/es/migration/to/v3.18.0.js +72 -0
  71. package/es/mocks.js +4 -2
  72. package/es/project-schema/index.js +3 -1
  73. package/es/project-schema/migrate.js +5 -1
  74. package/es/project-schema/v3.18.0.js +1 -0
  75. package/es/refs.js +22 -1
  76. package/es/relationships.js +215 -19
  77. package/es/rewrite.js +10 -2
  78. package/es/schema-util.js +38 -119
  79. package/es/schemas/index.js +4 -3
  80. package/es/schemas/index.ts +4 -2
  81. package/es/schemas/project-schema/latest.json +2175 -2195
  82. package/es/schemas/project-schema/v3.18.0.json +2350 -0
  83. package/es/schemas/project-schema.json +3 -0
  84. package/es/template-shapes/templates.js +55 -29
  85. package/es/template-shapes/where.js +29 -23
  86. package/es/types/utils.js +8 -2
  87. package/es/unions.js +2 -1
  88. package/es/util/detect-cycles.js +36 -28
  89. package/es/util/form-config.js +85 -0
  90. package/es/util/index.js +2 -1
  91. package/es/validate.js +74 -46
  92. package/examples/latest/betzino.json +12383 -6066
  93. package/examples/latest/blog-schema.json +46 -25
  94. package/examples/latest/brewery-schema.json +14 -9
  95. package/examples/latest/complex-project-schema.json +442 -244
  96. package/examples/latest/complex-schema.json +17205 -0
  97. package/examples/latest/fabric-ecommerce.json +2 -2
  98. package/examples/latest/frank-and-fred-schema.json +5141 -2391
  99. package/examples/latest/klirr-schema.json +35445 -0
  100. package/examples/latest/massive-schema.json +1205 -640
  101. package/examples/latest/mill-components-schema.json +241 -113
  102. package/examples/latest/one-earth.json +14429 -0
  103. package/examples/latest/pet-oneof-array.json +2 -2
  104. package/examples/latest/post-schema.json +18 -11
  105. package/examples/latest/pruned-shopify-product-schema.json +2 -2
  106. package/examples/latest/real-world-schema.json +81 -41
  107. package/examples/latest/recursive-repeater-schema.json +14 -9
  108. package/examples/latest/recursive-schema.json +14 -9
  109. package/examples/latest/rick-and-morty-ast.json +138 -80
  110. package/examples/latest/rick-and-morty-graphql.json +78 -45
  111. package/examples/latest/rick-and-morty-rest.json +2 -2
  112. package/examples/latest/schema-with-repeater-draftjs.json +38 -23
  113. package/examples/latest/shape-books-v3_2_0.json +138 -80
  114. package/examples/latest/shape-books.json +138 -80
  115. package/examples/latest/shopify-lookbook.json +30 -16
  116. package/examples/latest/shopify-namespace-schema.json +364 -0
  117. package/examples/latest/shopify-store-with-widget.json +2 -2
  118. package/examples/latest/stripe-starter-resolved.json +14 -8
  119. package/examples/latest/user-schema-no-required.json +2 -2
  120. package/examples/latest/user-schema-with-defaults.json +2 -2
  121. package/examples/source/complex-schema.json +12760 -0
  122. package/examples/source/klirr-schema.json +27716 -0
  123. package/examples/source/one-earth.json +11897 -0
  124. package/examples/source/post-schema.json +0 -1
  125. package/package.json +5 -4
@@ -3264,15 +3264,20 @@
3264
3264
  "topLevelResource": {
3265
3265
  "title": "Top-Level Resource",
3266
3266
  "@mapping": "takeshape:local:ResourceNavigation.S1pwAg_9b",
3267
- "$ref": "#/shapes/TSRelationship/schema",
3268
- "@relationship": {
3269
- "shapeIds": [
3270
- "SJ4CpgP5W"
3271
- ],
3272
- "type": "single"
3273
- },
3274
3267
  "@backreference": {
3275
3268
  "enabled": true
3269
+ },
3270
+ "@ref": "local:ConsortiumResource",
3271
+ "@input": {
3272
+ "@ref": "local:TSRelationship"
3273
+ },
3274
+ "@args": "TSRelationshipArgs",
3275
+ "@resolver": {
3276
+ "name": "takeshape:getRelated",
3277
+ "service": "takeshape:local",
3278
+ "options": {
3279
+ "nullable": true
3280
+ }
3276
3281
  }
3277
3282
  },
3278
3283
  "sections": {
@@ -3310,18 +3315,26 @@
3310
3315
  "resources": {
3311
3316
  "title": "Resources",
3312
3317
  "@mapping": "takeshape:local:ResourceNavigationSectionsSubsections.SkebN6xrE",
3313
- "type": "array",
3314
3318
  "items": {
3315
- "$ref": "#/shapes/TSRelationship/schema"
3316
- },
3317
- "@relationship": {
3318
- "shapeIds": [
3319
- "SJ4CpgP5W"
3320
- ],
3321
- "type": "multiple"
3319
+ "@ref": "local:ConsortiumResource"
3322
3320
  },
3323
3321
  "@backreference": {
3324
3322
  "enabled": true
3323
+ },
3324
+ "type": "array",
3325
+ "@input": {
3326
+ "type": "array",
3327
+ "items": {
3328
+ "@ref": "local:TSRelationship"
3329
+ }
3330
+ },
3331
+ "@args": "TSRelationshipArgs",
3332
+ "@resolver": {
3333
+ "name": "takeshape:getRelated",
3334
+ "service": "takeshape:local",
3335
+ "options": {
3336
+ "nullable": true
3337
+ }
3325
3338
  }
3326
3339
  }
3327
3340
  }
@@ -3352,18 +3365,26 @@
3352
3365
  "title": "Resources",
3353
3366
  "minItems": 1,
3354
3367
  "@mapping": "takeshape:local:ResourceNavigationSections.S1EC5zP9-",
3355
- "type": "array",
3356
3368
  "items": {
3357
- "$ref": "#/shapes/TSRelationship/schema"
3358
- },
3359
- "@relationship": {
3360
- "shapeIds": [
3361
- "SJ4CpgP5W"
3362
- ],
3363
- "type": "multiple"
3369
+ "@ref": "local:ConsortiumResource"
3364
3370
  },
3365
3371
  "@backreference": {
3366
3372
  "enabled": true
3373
+ },
3374
+ "type": "array",
3375
+ "@input": {
3376
+ "type": "array",
3377
+ "items": {
3378
+ "@ref": "local:TSRelationship"
3379
+ }
3380
+ },
3381
+ "@args": "TSRelationshipArgs",
3382
+ "@resolver": {
3383
+ "name": "takeshape:getRelated",
3384
+ "service": "takeshape:local",
3385
+ "options": {
3386
+ "nullable": true
3387
+ }
3367
3388
  }
3368
3389
  }
3369
3390
  },
@@ -3411,29 +3432,39 @@
3411
3432
  "reportExcerpt": {
3412
3433
  "title": "Report Excerpt",
3413
3434
  "@mapping": "takeshape:local:Article.SJYojsHWX",
3414
- "$ref": "#/shapes/TSRelationship/schema",
3415
- "@relationship": {
3416
- "shapeIds": [
3417
- "S1wMIxlsz"
3418
- ],
3419
- "type": "single"
3420
- },
3421
3435
  "@backreference": {
3422
3436
  "enabled": true
3437
+ },
3438
+ "@ref": "local:Report",
3439
+ "@input": {
3440
+ "@ref": "local:TSRelationship"
3441
+ },
3442
+ "@args": "TSRelationshipArgs",
3443
+ "@resolver": {
3444
+ "name": "takeshape:getRelated",
3445
+ "service": "takeshape:local",
3446
+ "options": {
3447
+ "nullable": true
3448
+ }
3423
3449
  }
3424
3450
  },
3425
3451
  "newsletter": {
3426
3452
  "title": "Newsletter",
3427
3453
  "@mapping": "takeshape:local:Article.SJxMTuj44",
3428
- "$ref": "#/shapes/TSRelationship/schema",
3429
- "@relationship": {
3430
- "shapeIds": [
3431
- "Hk_lxKwPZ"
3432
- ],
3433
- "type": "single"
3434
- },
3435
3454
  "@backreference": {
3436
3455
  "enabled": true
3456
+ },
3457
+ "@ref": "local:Newsletter",
3458
+ "@input": {
3459
+ "@ref": "local:TSRelationship"
3460
+ },
3461
+ "@args": "TSRelationshipArgs",
3462
+ "@resolver": {
3463
+ "name": "takeshape:getRelated",
3464
+ "service": "takeshape:local",
3465
+ "options": {
3466
+ "nullable": true
3467
+ }
3437
3468
  }
3438
3469
  },
3439
3470
  "trackers": {
@@ -3445,43 +3476,58 @@
3445
3476
  "product": {
3446
3477
  "title": "Product",
3447
3478
  "@mapping": "takeshape:local:Article.rkmZ75stV",
3448
- "$ref": "#/shapes/TSRelationship/schema",
3449
- "@relationship": {
3450
- "shapeIds": [
3451
- "BkLPYEhB4"
3452
- ],
3453
- "type": "single"
3454
- },
3455
3479
  "@backreference": {
3456
3480
  "enabled": true
3481
+ },
3482
+ "@ref": "local:Product",
3483
+ "@input": {
3484
+ "@ref": "local:TSRelationship"
3485
+ },
3486
+ "@args": "TSRelationshipArgs",
3487
+ "@resolver": {
3488
+ "name": "takeshape:getRelated",
3489
+ "service": "takeshape:local",
3490
+ "options": {
3491
+ "nullable": true
3492
+ }
3457
3493
  }
3458
3494
  },
3459
3495
  "audioRecording": {
3460
3496
  "title": "Audio Recording",
3461
3497
  "@mapping": "takeshape:local:Article.Hk-D0sSAE",
3462
- "$ref": "#/shapes/TSRelationship/schema",
3463
- "@relationship": {
3464
- "shapeIds": [
3465
- "ASSET"
3466
- ],
3467
- "type": "single"
3468
- },
3469
3498
  "@backreference": {
3470
3499
  "enabled": true
3500
+ },
3501
+ "@ref": "local:Asset",
3502
+ "@input": {
3503
+ "@ref": "local:TSRelationship"
3504
+ },
3505
+ "@args": "TSRelationshipArgs",
3506
+ "@resolver": {
3507
+ "name": "takeshape:getRelated",
3508
+ "service": "takeshape:local",
3509
+ "options": {
3510
+ "nullable": true
3511
+ }
3471
3512
  }
3472
3513
  },
3473
3514
  "format": {
3474
3515
  "title": "Format",
3475
3516
  "@mapping": "takeshape:local:Article.SyaM3LlwV",
3476
- "$ref": "#/shapes/TSRelationship/schema",
3477
- "@relationship": {
3478
- "shapeIds": [
3479
- "H13xhUewE"
3480
- ],
3481
- "type": "single"
3482
- },
3483
3517
  "@backreference": {
3484
3518
  "enabled": true
3519
+ },
3520
+ "@ref": "local:Format",
3521
+ "@input": {
3522
+ "@ref": "local:TSRelationship"
3523
+ },
3524
+ "@args": "TSRelationshipArgs",
3525
+ "@resolver": {
3526
+ "name": "takeshape:getRelated",
3527
+ "service": "takeshape:local",
3528
+ "options": {
3529
+ "nullable": true
3530
+ }
3485
3531
  }
3486
3532
  },
3487
3533
  "formatOld": {
@@ -3538,54 +3584,78 @@
3538
3584
  "tags": {
3539
3585
  "title": "Tags",
3540
3586
  "@mapping": "takeshape:local:Article.Sy-xm3gkX",
3541
- "type": "array",
3542
3587
  "items": {
3543
- "$ref": "#/shapes/TSRelationship/schema"
3544
- },
3545
- "@relationship": {
3546
- "shapeIds": [
3547
- "HJKRv2oKe"
3548
- ],
3549
- "type": "multiple"
3588
+ "@ref": "local:Tag"
3550
3589
  },
3551
3590
  "@backreference": {
3552
3591
  "enabled": true,
3553
3592
  "name": "articles"
3593
+ },
3594
+ "type": "array",
3595
+ "@input": {
3596
+ "type": "array",
3597
+ "items": {
3598
+ "@ref": "local:TSRelationship"
3599
+ }
3600
+ },
3601
+ "@args": "TSRelationshipArgs",
3602
+ "@resolver": {
3603
+ "name": "takeshape:getRelated",
3604
+ "service": "takeshape:local",
3605
+ "options": {
3606
+ "nullable": true
3607
+ }
3554
3608
  }
3555
3609
  },
3556
3610
  "institutions": {
3557
3611
  "title": "Institutions",
3558
3612
  "@mapping": "takeshape:local:Article.HJKQRfXJN",
3559
- "type": "array",
3560
3613
  "items": {
3561
- "$ref": "#/shapes/TSRelationship/schema"
3562
- },
3563
- "@relationship": {
3564
- "shapeIds": [
3565
- "ryuQTWgTl"
3566
- ],
3567
- "type": "multiple"
3614
+ "@ref": "local:Institution"
3568
3615
  },
3569
3616
  "@backreference": {
3570
3617
  "enabled": true
3618
+ },
3619
+ "type": "array",
3620
+ "@input": {
3621
+ "type": "array",
3622
+ "items": {
3623
+ "@ref": "local:TSRelationship"
3624
+ }
3625
+ },
3626
+ "@args": "TSRelationshipArgs",
3627
+ "@resolver": {
3628
+ "name": "takeshape:getRelated",
3629
+ "service": "takeshape:local",
3630
+ "options": {
3631
+ "nullable": true
3632
+ }
3571
3633
  }
3572
3634
  },
3573
3635
  "themes": {
3574
3636
  "title": "Themes",
3575
3637
  "@mapping": "takeshape:local:Article.Byfr3UxDE",
3576
- "type": "array",
3577
3638
  "items": {
3578
- "$ref": "#/shapes/TSRelationship/schema"
3579
- },
3580
- "@relationship": {
3581
- "shapeIds": [
3582
- "HkEaIV0Al"
3583
- ],
3584
- "type": "multiple"
3639
+ "@ref": "local:Theme"
3585
3640
  },
3586
3641
  "@backreference": {
3587
3642
  "enabled": true,
3588
3643
  "name": "articles"
3644
+ },
3645
+ "type": "array",
3646
+ "@input": {
3647
+ "type": "array",
3648
+ "items": {
3649
+ "@ref": "local:TSRelationship"
3650
+ }
3651
+ },
3652
+ "@args": "TSRelationshipArgs",
3653
+ "@resolver": {
3654
+ "name": "takeshape:getRelated",
3655
+ "service": "takeshape:local",
3656
+ "options": {
3657
+ "nullable": true
3658
+ }
3589
3659
  }
3590
3660
  },
3591
3661
  "appearance": {
@@ -3598,30 +3668,40 @@
3598
3668
  "title": "Image",
3599
3669
  "description": "| This will be displayed at the top of the article when reading, alongside the article in list views, and be the image used when sharing the article on social media. It will be displayed at a 2:3 ratio in some contexts and a 1:1 ratio in other contexts. |",
3600
3670
  "@mapping": "takeshape:local:Article.H1rYejesx",
3601
- "$ref": "#/shapes/TSRelationship/schema",
3602
- "@relationship": {
3603
- "shapeIds": [
3604
- "ASSET"
3605
- ],
3606
- "type": "single"
3607
- },
3608
3671
  "@backreference": {
3609
3672
  "enabled": true
3673
+ },
3674
+ "@ref": "local:Asset",
3675
+ "@input": {
3676
+ "@ref": "local:TSRelationship"
3677
+ },
3678
+ "@args": "TSRelationshipArgs",
3679
+ "@resolver": {
3680
+ "name": "takeshape:getRelated",
3681
+ "service": "takeshape:local",
3682
+ "options": {
3683
+ "nullable": true
3684
+ }
3610
3685
  }
3611
3686
  },
3612
3687
  "partner": {
3613
3688
  "title": "Partner",
3614
3689
  "@mapping": "takeshape:local:Article.HyFKl2_yW",
3615
- "$ref": "#/shapes/TSRelationship/schema",
3616
- "@relationship": {
3617
- "shapeIds": [
3618
- "rkfMnju1-"
3619
- ],
3620
- "type": "single"
3621
- },
3622
3690
  "@backreference": {
3623
3691
  "enabled": true,
3624
3692
  "name": "articles"
3693
+ },
3694
+ "@ref": "local:Partner",
3695
+ "@input": {
3696
+ "@ref": "local:TSRelationship"
3697
+ },
3698
+ "@args": "TSRelationshipArgs",
3699
+ "@resolver": {
3700
+ "name": "takeshape:getRelated",
3701
+ "service": "takeshape:local",
3702
+ "options": {
3703
+ "nullable": true
3704
+ }
3625
3705
  }
3626
3706
  },
3627
3707
  "permissions": {
@@ -3646,18 +3726,26 @@
3646
3726
  "fields": {
3647
3727
  "title": "Fields",
3648
3728
  "@mapping": "takeshape:local:Article.SksKw5v37",
3649
- "type": "array",
3650
3729
  "items": {
3651
- "$ref": "#/shapes/TSRelationship/schema"
3652
- },
3653
- "@relationship": {
3654
- "shapeIds": [
3655
- "SyUu3bgTe"
3656
- ],
3657
- "type": "multiple"
3730
+ "@ref": "local:Field"
3658
3731
  },
3659
3732
  "@backreference": {
3660
3733
  "enabled": true
3734
+ },
3735
+ "type": "array",
3736
+ "@input": {
3737
+ "type": "array",
3738
+ "items": {
3739
+ "@ref": "local:TSRelationship"
3740
+ }
3741
+ },
3742
+ "@args": "TSRelationshipArgs",
3743
+ "@resolver": {
3744
+ "name": "takeshape:getRelated",
3745
+ "service": "takeshape:local",
3746
+ "options": {
3747
+ "nullable": true
3748
+ }
3661
3749
  }
3662
3750
  },
3663
3751
  "relationship": {
@@ -3696,19 +3784,27 @@
3696
3784
  "authors": {
3697
3785
  "title": "Authors",
3698
3786
  "@mapping": "takeshape:local:Article.ByBsljxix",
3699
- "type": "array",
3700
3787
  "items": {
3701
- "$ref": "#/shapes/TSRelationship/schema"
3702
- },
3703
- "@relationship": {
3704
- "shapeIds": [
3705
- "r1a9-NCYx"
3706
- ],
3707
- "type": "multiple"
3788
+ "@ref": "local:Person"
3708
3789
  },
3709
3790
  "@backreference": {
3710
3791
  "enabled": true,
3711
3792
  "name": "authoredArticles"
3793
+ },
3794
+ "type": "array",
3795
+ "@input": {
3796
+ "type": "array",
3797
+ "items": {
3798
+ "@ref": "local:TSRelationship"
3799
+ }
3800
+ },
3801
+ "@args": "TSRelationshipArgs",
3802
+ "@resolver": {
3803
+ "name": "takeshape:getRelated",
3804
+ "service": "takeshape:local",
3805
+ "options": {
3806
+ "nullable": true
3807
+ }
3712
3808
  }
3713
3809
  }
3714
3810
  },
@@ -3728,15 +3824,20 @@
3728
3824
  "person": {
3729
3825
  "title": "Person",
3730
3826
  "@mapping": "takeshape:local:ArticlePeerCommentsResponses.B1VPmg-yM",
3731
- "$ref": "#/shapes/TSRelationship/schema",
3732
- "@relationship": {
3733
- "shapeIds": [
3734
- "r1a9-NCYx"
3735
- ],
3736
- "type": "single"
3737
- },
3738
3827
  "@backreference": {
3739
3828
  "enabled": true
3829
+ },
3830
+ "@ref": "local:Person",
3831
+ "@input": {
3832
+ "@ref": "local:TSRelationship"
3833
+ },
3834
+ "@args": "TSRelationshipArgs",
3835
+ "@resolver": {
3836
+ "name": "takeshape:getRelated",
3837
+ "service": "takeshape:local",
3838
+ "options": {
3839
+ "nullable": true
3840
+ }
3740
3841
  }
3741
3842
  },
3742
3843
  "response": {
@@ -3769,16 +3870,21 @@
3769
3870
  "person": {
3770
3871
  "title": "Person",
3771
3872
  "@mapping": "takeshape:local:ArticlePeerComments.BJ4xdTxJM",
3772
- "$ref": "#/shapes/TSRelationship/schema",
3773
- "@relationship": {
3774
- "shapeIds": [
3775
- "r1a9-NCYx"
3776
- ],
3777
- "type": "single"
3778
- },
3779
3873
  "@backreference": {
3780
3874
  "enabled": true,
3781
3875
  "name": "comments"
3876
+ },
3877
+ "@ref": "local:Person",
3878
+ "@input": {
3879
+ "@ref": "local:TSRelationship"
3880
+ },
3881
+ "@args": "TSRelationshipArgs",
3882
+ "@resolver": {
3883
+ "name": "takeshape:getRelated",
3884
+ "service": "takeshape:local",
3885
+ "options": {
3886
+ "nullable": true
3887
+ }
3782
3888
  }
3783
3889
  },
3784
3890
  "comment": {
@@ -3872,15 +3978,20 @@
3872
3978
  "backgroundImage": {
3873
3979
  "title": "Background Image",
3874
3980
  "@mapping": "takeshape:local:Report.HyW-00u6z",
3875
- "$ref": "#/shapes/TSRelationship/schema",
3876
- "@relationship": {
3877
- "shapeIds": [
3878
- "ASSET"
3879
- ],
3880
- "type": "single"
3881
- },
3882
3981
  "@backreference": {
3883
3982
  "enabled": true
3983
+ },
3984
+ "@ref": "local:Asset",
3985
+ "@input": {
3986
+ "@ref": "local:TSRelationship"
3987
+ },
3988
+ "@args": "TSRelationshipArgs",
3989
+ "@resolver": {
3990
+ "name": "takeshape:getRelated",
3991
+ "service": "takeshape:local",
3992
+ "options": {
3993
+ "nullable": true
3994
+ }
3884
3995
  }
3885
3996
  },
3886
3997
  "reportNumber": {
@@ -3930,63 +4041,89 @@
3930
4041
  "partners": {
3931
4042
  "title": "Partners",
3932
4043
  "@mapping": "takeshape:local:Report.BktdltIFQ",
3933
- "type": "array",
3934
4044
  "items": {
3935
- "$ref": "#/shapes/TSRelationship/schema"
3936
- },
3937
- "@relationship": {
3938
- "shapeIds": [
3939
- "rkfMnju1-"
3940
- ],
3941
- "type": "multiple"
4045
+ "@ref": "local:Partner"
3942
4046
  },
3943
4047
  "@backreference": {
3944
4048
  "enabled": true
4049
+ },
4050
+ "type": "array",
4051
+ "@input": {
4052
+ "type": "array",
4053
+ "items": {
4054
+ "@ref": "local:TSRelationship"
4055
+ }
4056
+ },
4057
+ "@args": "TSRelationshipArgs",
4058
+ "@resolver": {
4059
+ "name": "takeshape:getRelated",
4060
+ "service": "takeshape:local",
4061
+ "options": {
4062
+ "nullable": true
4063
+ }
3945
4064
  }
3946
4065
  },
3947
4066
  "coverImage": {
3948
4067
  "title": "Cover Image",
3949
4068
  "@mapping": "takeshape:local:Report.rkI8LxgoM",
3950
- "$ref": "#/shapes/TSRelationship/schema",
3951
- "@relationship": {
3952
- "shapeIds": [
3953
- "ASSET"
3954
- ],
3955
- "type": "single"
3956
- },
3957
4069
  "@backreference": {
3958
4070
  "enabled": true
4071
+ },
4072
+ "@ref": "local:Asset",
4073
+ "@input": {
4074
+ "@ref": "local:TSRelationship"
4075
+ },
4076
+ "@args": "TSRelationshipArgs",
4077
+ "@resolver": {
4078
+ "name": "takeshape:getRelated",
4079
+ "service": "takeshape:local",
4080
+ "options": {
4081
+ "nullable": true
4082
+ }
3959
4083
  }
3960
4084
  },
3961
4085
  "sharingImage": {
3962
4086
  "title": "Sharing Image",
3963
4087
  "@mapping": "takeshape:local:Report.rJ0zSe9TM",
3964
- "$ref": "#/shapes/TSRelationship/schema",
3965
- "@relationship": {
3966
- "shapeIds": [
3967
- "ASSET"
3968
- ],
3969
- "type": "single"
3970
- },
3971
4088
  "@backreference": {
3972
4089
  "enabled": true
4090
+ },
4091
+ "@ref": "local:Asset",
4092
+ "@input": {
4093
+ "@ref": "local:TSRelationship"
4094
+ },
4095
+ "@args": "TSRelationshipArgs",
4096
+ "@resolver": {
4097
+ "name": "takeshape:getRelated",
4098
+ "service": "takeshape:local",
4099
+ "options": {
4100
+ "nullable": true
4101
+ }
3973
4102
  }
3974
4103
  },
3975
4104
  "contributors": {
3976
4105
  "title": "Contributors",
3977
4106
  "@mapping": "takeshape:local:Report.BJDwZ1Tiz",
3978
- "type": "array",
3979
4107
  "items": {
3980
- "$ref": "#/shapes/TSRelationship/schema"
3981
- },
3982
- "@relationship": {
3983
- "shapeIds": [
3984
- "r1a9-NCYx"
3985
- ],
3986
- "type": "multiple"
4108
+ "@ref": "local:Person"
3987
4109
  },
3988
4110
  "@backreference": {
3989
4111
  "enabled": true
4112
+ },
4113
+ "type": "array",
4114
+ "@input": {
4115
+ "type": "array",
4116
+ "items": {
4117
+ "@ref": "local:TSRelationship"
4118
+ }
4119
+ },
4120
+ "@args": "TSRelationshipArgs",
4121
+ "@resolver": {
4122
+ "name": "takeshape:getRelated",
4123
+ "service": "takeshape:local",
4124
+ "options": {
4125
+ "nullable": true
4126
+ }
3990
4127
  }
3991
4128
  },
3992
4129
  "publicationDate": {
@@ -4056,18 +4193,26 @@
4056
4193
  "people": {
4057
4194
  "title": "People",
4058
4195
  "@mapping": "takeshape:local:ReportStaff.Bkvvtcm3z",
4059
- "type": "array",
4060
4196
  "items": {
4061
- "$ref": "#/shapes/TSRelationship/schema"
4062
- },
4063
- "@relationship": {
4064
- "shapeIds": [
4065
- "r1a9-NCYx"
4066
- ],
4067
- "type": "multiple"
4197
+ "@ref": "local:Person"
4068
4198
  },
4069
4199
  "@backreference": {
4070
4200
  "enabled": true
4201
+ },
4202
+ "type": "array",
4203
+ "@input": {
4204
+ "type": "array",
4205
+ "items": {
4206
+ "@ref": "local:TSRelationship"
4207
+ }
4208
+ },
4209
+ "@args": "TSRelationshipArgs",
4210
+ "@resolver": {
4211
+ "name": "takeshape:getRelated",
4212
+ "service": "takeshape:local",
4213
+ "options": {
4214
+ "nullable": true
4215
+ }
4071
4216
  }
4072
4217
  },
4073
4218
  "role": {
@@ -4089,15 +4234,20 @@
4089
4234
  "cover": {
4090
4235
  "title": "Cover",
4091
4236
  "@mapping": "takeshape:local:ReportDownload.SJ7xywC7Q",
4092
- "$ref": "#/shapes/TSRelationship/schema",
4093
- "@relationship": {
4094
- "shapeIds": [
4095
- "ASSET"
4096
- ],
4097
- "type": "single"
4098
- },
4099
4237
  "@backreference": {
4100
4238
  "enabled": true
4239
+ },
4240
+ "@ref": "local:Asset",
4241
+ "@input": {
4242
+ "@ref": "local:TSRelationship"
4243
+ },
4244
+ "@args": "TSRelationshipArgs",
4245
+ "@resolver": {
4246
+ "name": "takeshape:getRelated",
4247
+ "service": "takeshape:local",
4248
+ "options": {
4249
+ "nullable": true
4250
+ }
4101
4251
  }
4102
4252
  },
4103
4253
  "memberfulProductId": {
@@ -4131,18 +4281,26 @@
4131
4281
  "authors": {
4132
4282
  "title": "Authors",
4133
4283
  "@mapping": "takeshape:local:ReportIntroduction.B1wbmK8t7",
4134
- "type": "array",
4135
4284
  "items": {
4136
- "$ref": "#/shapes/TSRelationship/schema"
4137
- },
4138
- "@relationship": {
4139
- "shapeIds": [
4140
- "r1a9-NCYx"
4141
- ],
4142
- "type": "multiple"
4285
+ "@ref": "local:Person"
4143
4286
  },
4144
4287
  "@backreference": {
4145
4288
  "enabled": true
4289
+ },
4290
+ "type": "array",
4291
+ "@input": {
4292
+ "type": "array",
4293
+ "items": {
4294
+ "@ref": "local:TSRelationship"
4295
+ }
4296
+ },
4297
+ "@args": "TSRelationshipArgs",
4298
+ "@resolver": {
4299
+ "name": "takeshape:getRelated",
4300
+ "service": "takeshape:local",
4301
+ "options": {
4302
+ "nullable": true
4303
+ }
4146
4304
  }
4147
4305
  }
4148
4306
  }
@@ -4185,30 +4343,40 @@
4185
4343
  "logo": {
4186
4344
  "title": "Logo",
4187
4345
  "@mapping": "takeshape:local:Partner.ByBYoodJ-",
4188
- "$ref": "#/shapes/TSRelationship/schema",
4189
- "@relationship": {
4190
- "shapeIds": [
4191
- "ASSET"
4192
- ],
4193
- "type": "single"
4194
- },
4195
4346
  "@backreference": {
4196
4347
  "enabled": true
4348
+ },
4349
+ "@ref": "local:Asset",
4350
+ "@input": {
4351
+ "@ref": "local:TSRelationship"
4352
+ },
4353
+ "@args": "TSRelationshipArgs",
4354
+ "@resolver": {
4355
+ "name": "takeshape:getRelated",
4356
+ "service": "takeshape:local",
4357
+ "options": {
4358
+ "nullable": true
4359
+ }
4197
4360
  }
4198
4361
  },
4199
4362
  "largeLogo": {
4200
4363
  "title": "Large Logo",
4201
4364
  "description": "A larger logo or logotype used for display purposes",
4202
4365
  "@mapping": "takeshape:local:Partner.SJffyN5oz",
4203
- "$ref": "#/shapes/TSRelationship/schema",
4204
- "@relationship": {
4205
- "shapeIds": [
4206
- "ASSET"
4207
- ],
4208
- "type": "single"
4209
- },
4210
4366
  "@backreference": {
4211
4367
  "enabled": true
4368
+ },
4369
+ "@ref": "local:Asset",
4370
+ "@input": {
4371
+ "@ref": "local:TSRelationship"
4372
+ },
4373
+ "@args": "TSRelationshipArgs",
4374
+ "@resolver": {
4375
+ "name": "takeshape:getRelated",
4376
+ "service": "takeshape:local",
4377
+ "options": {
4378
+ "nullable": true
4379
+ }
4212
4380
  }
4213
4381
  },
4214
4382
  "url": {
@@ -4239,63 +4407,89 @@
4239
4407
  "newsletter": {
4240
4408
  "title": "Newsletter",
4241
4409
  "@mapping": "takeshape:local:Homepage.HJBebCGk4",
4242
- "$ref": "#/shapes/TSRelationship/schema",
4243
- "@relationship": {
4244
- "shapeIds": [
4245
- "Hk_lxKwPZ"
4246
- ],
4247
- "type": "single"
4248
- },
4249
4410
  "@backreference": {
4250
4411
  "enabled": true
4412
+ },
4413
+ "@ref": "local:Newsletter",
4414
+ "@input": {
4415
+ "@ref": "local:TSRelationship"
4416
+ },
4417
+ "@args": "TSRelationshipArgs",
4418
+ "@resolver": {
4419
+ "name": "takeshape:getRelated",
4420
+ "service": "takeshape:local",
4421
+ "options": {
4422
+ "nullable": true
4423
+ }
4251
4424
  }
4252
4425
  },
4253
4426
  "reports": {
4254
4427
  "title": "Reports",
4255
4428
  "@mapping": "takeshape:local:Homepage.SJnUW0Gk4",
4256
- "type": "array",
4257
4429
  "items": {
4258
- "$ref": "#/shapes/TSRelationship/schema"
4259
- },
4260
- "@relationship": {
4261
- "shapeIds": [
4262
- "S1wMIxlsz"
4263
- ],
4264
- "type": "multiple"
4430
+ "@ref": "local:Report"
4265
4431
  },
4266
4432
  "@backreference": {
4267
4433
  "enabled": true
4434
+ },
4435
+ "type": "array",
4436
+ "@input": {
4437
+ "type": "array",
4438
+ "items": {
4439
+ "@ref": "local:TSRelationship"
4440
+ }
4441
+ },
4442
+ "@args": "TSRelationshipArgs",
4443
+ "@resolver": {
4444
+ "name": "takeshape:getRelated",
4445
+ "service": "takeshape:local",
4446
+ "options": {
4447
+ "nullable": true
4448
+ }
4268
4449
  }
4269
4450
  },
4270
4451
  "themes": {
4271
4452
  "title": "Themes",
4272
4453
  "@mapping": "takeshape:local:Homepage.SyJNW0fkE",
4273
- "type": "array",
4274
4454
  "items": {
4275
- "$ref": "#/shapes/TSRelationship/schema"
4276
- },
4277
- "@relationship": {
4278
- "shapeIds": [
4279
- "HkEaIV0Al"
4280
- ],
4281
- "type": "multiple"
4455
+ "@ref": "local:Theme"
4282
4456
  },
4283
4457
  "@backreference": {
4284
4458
  "enabled": true
4459
+ },
4460
+ "type": "array",
4461
+ "@input": {
4462
+ "type": "array",
4463
+ "items": {
4464
+ "@ref": "local:TSRelationship"
4465
+ }
4466
+ },
4467
+ "@args": "TSRelationshipArgs",
4468
+ "@resolver": {
4469
+ "name": "takeshape:getRelated",
4470
+ "service": "takeshape:local",
4471
+ "options": {
4472
+ "nullable": true
4473
+ }
4285
4474
  }
4286
4475
  },
4287
4476
  "articles": {
4288
4477
  "title": "Articles",
4289
4478
  "@mapping": "takeshape:local:Homepage.SJoWWAzJ4",
4290
- "$ref": "#/shapes/TSRelationship/schema",
4291
- "@relationship": {
4292
- "shapeIds": [
4293
- "rJIh12PP-"
4294
- ],
4295
- "type": "single"
4296
- },
4297
4479
  "@backreference": {
4298
4480
  "enabled": true
4481
+ },
4482
+ "@ref": "local:Deck",
4483
+ "@input": {
4484
+ "@ref": "local:TSRelationship"
4485
+ },
4486
+ "@args": "TSRelationshipArgs",
4487
+ "@resolver": {
4488
+ "name": "takeshape:getRelated",
4489
+ "service": "takeshape:local",
4490
+ "options": {
4491
+ "nullable": true
4492
+ }
4299
4493
  }
4300
4494
  },
4301
4495
  "announcement": {
@@ -4353,15 +4547,20 @@
4353
4547
  "backgroundImage": {
4354
4548
  "title": "Background Image",
4355
4549
  "@mapping": "takeshape:local:ScienceConsortium.rJSgKSCVm",
4356
- "$ref": "#/shapes/TSRelationship/schema",
4357
- "@relationship": {
4358
- "shapeIds": [
4359
- "ASSET"
4360
- ],
4361
- "type": "single"
4362
- },
4363
4550
  "@backreference": {
4364
4551
  "enabled": true
4552
+ },
4553
+ "@ref": "local:Asset",
4554
+ "@input": {
4555
+ "@ref": "local:TSRelationship"
4556
+ },
4557
+ "@args": "TSRelationshipArgs",
4558
+ "@resolver": {
4559
+ "name": "takeshape:getRelated",
4560
+ "service": "takeshape:local",
4561
+ "options": {
4562
+ "nullable": true
4563
+ }
4365
4564
  }
4366
4565
  }
4367
4566
  }
@@ -4377,30 +4576,40 @@
4377
4576
  "person": {
4378
4577
  "title": "Person",
4379
4578
  "@mapping": "takeshape:local:ScienceConsortiumTestimonials.B1g-7ZrRx",
4380
- "$ref": "#/shapes/TSRelationship/schema",
4381
- "@relationship": {
4382
- "shapeIds": [
4383
- "r1a9-NCYx"
4384
- ],
4385
- "type": "single"
4386
- },
4387
4579
  "@backreference": {
4388
4580
  "enabled": true,
4389
4581
  "name": "testimonials"
4582
+ },
4583
+ "@ref": "local:Person",
4584
+ "@input": {
4585
+ "@ref": "local:TSRelationship"
4586
+ },
4587
+ "@args": "TSRelationshipArgs",
4588
+ "@resolver": {
4589
+ "name": "takeshape:getRelated",
4590
+ "service": "takeshape:local",
4591
+ "options": {
4592
+ "nullable": true
4593
+ }
4390
4594
  }
4391
4595
  },
4392
4596
  "article": {
4393
4597
  "title": "Article",
4394
4598
  "@mapping": "takeshape:local:ScienceConsortiumTestimonials.rkqIXZHCl",
4395
- "$ref": "#/shapes/TSRelationship/schema",
4396
- "@relationship": {
4397
- "shapeIds": [
4398
- "Sk6yWoljg"
4399
- ],
4400
- "type": "single"
4401
- },
4402
4599
  "@backreference": {
4403
4600
  "enabled": true
4601
+ },
4602
+ "@ref": "local:Article",
4603
+ "@input": {
4604
+ "@ref": "local:TSRelationship"
4605
+ },
4606
+ "@args": "TSRelationshipArgs",
4607
+ "@resolver": {
4608
+ "name": "takeshape:getRelated",
4609
+ "service": "takeshape:local",
4610
+ "options": {
4611
+ "nullable": true
4612
+ }
4404
4613
  }
4405
4614
  },
4406
4615
  "quote": {
@@ -4484,39 +4693,71 @@
4484
4693
  "title": "Include Cards",
4485
4694
  "description": "Additional cards outside of the rules.",
4486
4695
  "@mapping": "takeshape:local:Deck.r1r1lnvw-",
4487
- "type": "array",
4488
4696
  "items": {
4489
- "$ref": "#/shapes/TSRelationship/schema"
4490
- },
4491
- "@relationship": {
4492
- "shapeIds": [
4493
- "Sk6yWoljg",
4494
- "Hk_lxKwPZ",
4495
- "HkEaIV0Al"
4496
- ],
4497
- "type": "multiple"
4697
+ "oneOf": [
4698
+ {
4699
+ "@ref": "local:Article"
4700
+ },
4701
+ {
4702
+ "@ref": "local:Newsletter"
4703
+ },
4704
+ {
4705
+ "@ref": "local:Theme"
4706
+ }
4707
+ ]
4498
4708
  },
4499
4709
  "@backreference": {
4500
4710
  "enabled": true
4711
+ },
4712
+ "type": "array",
4713
+ "@input": {
4714
+ "type": "array",
4715
+ "items": {
4716
+ "@ref": "local:TSRelationship"
4717
+ }
4718
+ },
4719
+ "@args": "TSRelationshipArgs",
4720
+ "@resolver": {
4721
+ "name": "takeshape:getRelated",
4722
+ "service": "takeshape:local",
4723
+ "options": {
4724
+ "nullable": true
4725
+ }
4501
4726
  }
4502
4727
  },
4503
4728
  "excludeCards": {
4504
4729
  "title": "Exclude Cards",
4505
4730
  "@mapping": "takeshape:local:Deck.S1vKsRZwM",
4506
- "type": "array",
4507
4731
  "items": {
4508
- "$ref": "#/shapes/TSRelationship/schema"
4509
- },
4510
- "@relationship": {
4511
- "shapeIds": [
4512
- "Sk6yWoljg",
4513
- "HkEaIV0Al",
4514
- "Hk_lxKwPZ"
4515
- ],
4516
- "type": "multiple"
4732
+ "oneOf": [
4733
+ {
4734
+ "@ref": "local:Article"
4735
+ },
4736
+ {
4737
+ "@ref": "local:Theme"
4738
+ },
4739
+ {
4740
+ "@ref": "local:Newsletter"
4741
+ }
4742
+ ]
4517
4743
  },
4518
4744
  "@backreference": {
4519
4745
  "enabled": true
4746
+ },
4747
+ "type": "array",
4748
+ "@input": {
4749
+ "type": "array",
4750
+ "items": {
4751
+ "@ref": "local:TSRelationship"
4752
+ }
4753
+ },
4754
+ "@args": "TSRelationshipArgs",
4755
+ "@resolver": {
4756
+ "name": "takeshape:getRelated",
4757
+ "service": "takeshape:local",
4758
+ "options": {
4759
+ "nullable": true
4760
+ }
4520
4761
  }
4521
4762
  },
4522
4763
  "name": {
@@ -4574,18 +4815,26 @@
4574
4815
  "themes": {
4575
4816
  "title": "Themes",
4576
4817
  "@mapping": "takeshape:local:DeckRules.BJyhfvXOZ",
4577
- "type": "array",
4578
4818
  "items": {
4579
- "$ref": "#/shapes/TSRelationship/schema"
4580
- },
4581
- "@relationship": {
4582
- "shapeIds": [
4583
- "HkEaIV0Al"
4584
- ],
4585
- "type": "multiple"
4819
+ "@ref": "local:Theme"
4586
4820
  },
4587
4821
  "@backreference": {
4588
4822
  "enabled": true
4823
+ },
4824
+ "type": "array",
4825
+ "@input": {
4826
+ "type": "array",
4827
+ "items": {
4828
+ "@ref": "local:TSRelationship"
4829
+ }
4830
+ },
4831
+ "@args": "TSRelationshipArgs",
4832
+ "@resolver": {
4833
+ "name": "takeshape:getRelated",
4834
+ "service": "takeshape:local",
4835
+ "options": {
4836
+ "nullable": true
4837
+ }
4589
4838
  }
4590
4839
  },
4591
4840
  "allArticles": {
@@ -4597,18 +4846,26 @@
4597
4846
  "tags": {
4598
4847
  "title": "Tags",
4599
4848
  "@mapping": "takeshape:local:DeckRules.rkI-0jwDZ",
4600
- "type": "array",
4601
4849
  "items": {
4602
- "$ref": "#/shapes/TSRelationship/schema"
4603
- },
4604
- "@relationship": {
4605
- "shapeIds": [
4606
- "HJKRv2oKe"
4607
- ],
4608
- "type": "multiple"
4850
+ "@ref": "local:Tag"
4609
4851
  },
4610
4852
  "@backreference": {
4611
4853
  "enabled": true
4854
+ },
4855
+ "type": "array",
4856
+ "@input": {
4857
+ "type": "array",
4858
+ "items": {
4859
+ "@ref": "local:TSRelationship"
4860
+ }
4861
+ },
4862
+ "@args": "TSRelationshipArgs",
4863
+ "@resolver": {
4864
+ "name": "takeshape:getRelated",
4865
+ "service": "takeshape:local",
4866
+ "options": {
4867
+ "nullable": true
4868
+ }
4612
4869
  }
4613
4870
  }
4614
4871
  }
@@ -4677,15 +4934,20 @@
4677
4934
  "image": {
4678
4935
  "title": "Cover Image",
4679
4936
  "@mapping": "takeshape:local:Answers.i8TGTpE8S",
4680
- "$ref": "#/shapes/TSRelationship/schema",
4681
- "@relationship": {
4682
- "shapeIds": [
4683
- "ASSET"
4684
- ],
4685
- "type": "single"
4686
- },
4687
4937
  "@backreference": {
4688
4938
  "enabled": true
4939
+ },
4940
+ "@ref": "local:Asset",
4941
+ "@input": {
4942
+ "@ref": "local:TSRelationship"
4943
+ },
4944
+ "@args": "TSRelationshipArgs",
4945
+ "@resolver": {
4946
+ "name": "takeshape:getRelated",
4947
+ "service": "takeshape:local",
4948
+ "options": {
4949
+ "nullable": true
4950
+ }
4689
4951
  }
4690
4952
  },
4691
4953
  "title": {
@@ -4794,18 +5056,26 @@
4794
5056
  "authors": {
4795
5057
  "title": "Authors",
4796
5058
  "@mapping": "takeshape:local:AnswersSections.m5gh-Yivv",
4797
- "type": "array",
4798
5059
  "items": {
4799
- "$ref": "#/shapes/TSRelationship/schema"
4800
- },
4801
- "@relationship": {
4802
- "shapeIds": [
4803
- "r1a9-NCYx"
4804
- ],
4805
- "type": "multiple"
5060
+ "@ref": "local:Person"
4806
5061
  },
4807
5062
  "@backreference": {
4808
5063
  "enabled": true
5064
+ },
5065
+ "type": "array",
5066
+ "@input": {
5067
+ "type": "array",
5068
+ "items": {
5069
+ "@ref": "local:TSRelationship"
5070
+ }
5071
+ },
5072
+ "@args": "TSRelationshipArgs",
5073
+ "@resolver": {
5074
+ "name": "takeshape:getRelated",
5075
+ "service": "takeshape:local",
5076
+ "options": {
5077
+ "nullable": true
5078
+ }
4809
5079
  }
4810
5080
  }
4811
5081
  },
@@ -4871,36 +5141,52 @@
4871
5141
  "authors": {
4872
5142
  "title": "Authors",
4873
5143
  "@mapping": "takeshape:local:Note.Hk9Rs3uhm",
4874
- "type": "array",
4875
5144
  "items": {
4876
- "$ref": "#/shapes/TSRelationship/schema"
4877
- },
4878
- "@relationship": {
4879
- "shapeIds": [
4880
- "r1a9-NCYx"
4881
- ],
4882
- "type": "multiple"
5145
+ "@ref": "local:Person"
4883
5146
  },
4884
5147
  "@backreference": {
4885
5148
  "enabled": true
5149
+ },
5150
+ "type": "array",
5151
+ "@input": {
5152
+ "type": "array",
5153
+ "items": {
5154
+ "@ref": "local:TSRelationship"
5155
+ }
5156
+ },
5157
+ "@args": "TSRelationshipArgs",
5158
+ "@resolver": {
5159
+ "name": "takeshape:getRelated",
5160
+ "service": "takeshape:local",
5161
+ "options": {
5162
+ "nullable": true
5163
+ }
4886
5164
  }
4887
5165
  },
4888
5166
  "tags": {
4889
5167
  "title": "Tags",
4890
5168
  "@mapping": "takeshape:local:Note.H1PdLe6Al",
4891
- "type": "array",
4892
5169
  "items": {
4893
- "$ref": "#/shapes/TSRelationship/schema"
4894
- },
4895
- "@relationship": {
4896
- "shapeIds": [
4897
- "HJKRv2oKe"
4898
- ],
4899
- "type": "multiple"
5170
+ "@ref": "local:Tag"
4900
5171
  },
4901
5172
  "@backreference": {
4902
5173
  "enabled": true,
4903
5174
  "name": "links"
5175
+ },
5176
+ "type": "array",
5177
+ "@input": {
5178
+ "type": "array",
5179
+ "items": {
5180
+ "@ref": "local:TSRelationship"
5181
+ }
5182
+ },
5183
+ "@args": "TSRelationshipArgs",
5184
+ "@resolver": {
5185
+ "name": "takeshape:getRelated",
5186
+ "service": "takeshape:local",
5187
+ "options": {
5188
+ "nullable": true
5189
+ }
4904
5190
  }
4905
5191
  }
4906
5192
  },
@@ -4920,15 +5206,20 @@
4920
5206
  "image": {
4921
5207
  "title": "Image",
4922
5208
  "@mapping": "takeshape:local:NoteImages.HJrgLxT0g",
4923
- "$ref": "#/shapes/TSRelationship/schema",
4924
- "@relationship": {
4925
- "shapeIds": [
4926
- "ASSET"
4927
- ],
4928
- "type": "single"
4929
- },
4930
5209
  "@backreference": {
4931
5210
  "enabled": true
5211
+ },
5212
+ "@ref": "local:Asset",
5213
+ "@input": {
5214
+ "@ref": "local:TSRelationship"
5215
+ },
5216
+ "@args": "TSRelationshipArgs",
5217
+ "@resolver": {
5218
+ "name": "takeshape:getRelated",
5219
+ "service": "takeshape:local",
5220
+ "options": {
5221
+ "nullable": true
5222
+ }
4932
5223
  }
4933
5224
  }
4934
5225
  }
@@ -4959,15 +5250,20 @@
4959
5250
  "backgroundImage": {
4960
5251
  "title": "Background Image",
4961
5252
  "@mapping": "takeshape:local:Supermassive.rkxyiBAN7",
4962
- "$ref": "#/shapes/TSRelationship/schema",
4963
- "@relationship": {
4964
- "shapeIds": [
4965
- "ASSET"
4966
- ],
4967
- "type": "single"
4968
- },
4969
5253
  "@backreference": {
4970
5254
  "enabled": true
5255
+ },
5256
+ "@ref": "local:Asset",
5257
+ "@input": {
5258
+ "@ref": "local:TSRelationship"
5259
+ },
5260
+ "@args": "TSRelationshipArgs",
5261
+ "@resolver": {
5262
+ "name": "takeshape:getRelated",
5263
+ "service": "takeshape:local",
5264
+ "options": {
5265
+ "nullable": true
5266
+ }
4971
5267
  }
4972
5268
  },
4973
5269
  "confirmationMessage": {
@@ -5006,15 +5302,20 @@
5006
5302
  "artwork": {
5007
5303
  "title": "Artwork",
5008
5304
  "@mapping": "takeshape:local:Podcast.HJEpQYWyS",
5009
- "$ref": "#/shapes/TSRelationship/schema",
5010
- "@relationship": {
5011
- "shapeIds": [
5012
- "ASSET"
5013
- ],
5014
- "type": "single"
5015
- },
5016
5305
  "@backreference": {
5017
5306
  "enabled": true
5307
+ },
5308
+ "@ref": "local:Asset",
5309
+ "@input": {
5310
+ "@ref": "local:TSRelationship"
5311
+ },
5312
+ "@args": "TSRelationshipArgs",
5313
+ "@resolver": {
5314
+ "name": "takeshape:getRelated",
5315
+ "service": "takeshape:local",
5316
+ "options": {
5317
+ "nullable": true
5318
+ }
5018
5319
  }
5019
5320
  },
5020
5321
  "title": {
@@ -5117,29 +5418,39 @@
5117
5418
  "artwork": {
5118
5419
  "title": "Artwork",
5119
5420
  "@mapping": "takeshape:local:Episode.B130QJ1kH",
5120
- "$ref": "#/shapes/TSRelationship/schema",
5121
- "@relationship": {
5122
- "shapeIds": [
5123
- "ASSET"
5124
- ],
5125
- "type": "single"
5126
- },
5127
5421
  "@backreference": {
5128
5422
  "enabled": true
5423
+ },
5424
+ "@ref": "local:Asset",
5425
+ "@input": {
5426
+ "@ref": "local:TSRelationship"
5427
+ },
5428
+ "@args": "TSRelationshipArgs",
5429
+ "@resolver": {
5430
+ "name": "takeshape:getRelated",
5431
+ "service": "takeshape:local",
5432
+ "options": {
5433
+ "nullable": true
5434
+ }
5129
5435
  }
5130
5436
  },
5131
5437
  "audio": {
5132
5438
  "title": "Audio",
5133
5439
  "@mapping": "takeshape:local:Episode.ByivX1kyH",
5134
- "$ref": "#/shapes/TSRelationship/schema",
5135
- "@relationship": {
5136
- "shapeIds": [
5137
- "ASSET"
5138
- ],
5139
- "type": "single"
5140
- },
5141
5440
  "@backreference": {
5142
5441
  "enabled": true
5442
+ },
5443
+ "@ref": "local:Asset",
5444
+ "@input": {
5445
+ "@ref": "local:TSRelationship"
5446
+ },
5447
+ "@args": "TSRelationshipArgs",
5448
+ "@resolver": {
5449
+ "name": "takeshape:getRelated",
5450
+ "service": "takeshape:local",
5451
+ "options": {
5452
+ "nullable": true
5453
+ }
5143
5454
  }
5144
5455
  },
5145
5456
  "title": {
@@ -5191,35 +5502,58 @@
5191
5502
  "description": "Provides the default collection of promotional objects to follow articles.",
5192
5503
  "minItems": 1,
5193
5504
  "@mapping": "takeshape:local:Defaults.BybYeA-u-",
5194
- "type": "array",
5195
5505
  "items": {
5196
- "$ref": "#/shapes/TSRelationship/schema"
5197
- },
5198
- "@relationship": {
5199
- "shapeIds": [
5200
- "HkEaIV0Al",
5201
- "rJIh12PP-",
5202
- "Sk6yWoljg",
5203
- "Hk_lxKwPZ"
5204
- ],
5205
- "type": "multiple"
5506
+ "oneOf": [
5507
+ {
5508
+ "@ref": "local:Theme"
5509
+ },
5510
+ {
5511
+ "@ref": "local:Deck"
5512
+ },
5513
+ {
5514
+ "@ref": "local:Article"
5515
+ },
5516
+ {
5517
+ "@ref": "local:Newsletter"
5518
+ }
5519
+ ]
5206
5520
  },
5207
5521
  "@backreference": {
5208
5522
  "enabled": true
5523
+ },
5524
+ "type": "array",
5525
+ "@input": {
5526
+ "type": "array",
5527
+ "items": {
5528
+ "@ref": "local:TSRelationship"
5529
+ }
5530
+ },
5531
+ "@args": "TSRelationshipArgs",
5532
+ "@resolver": {
5533
+ "name": "takeshape:getRelated",
5534
+ "service": "takeshape:local",
5535
+ "options": {
5536
+ "nullable": true
5537
+ }
5209
5538
  }
5210
5539
  },
5211
5540
  "newsletter": {
5212
5541
  "title": "Newsletter",
5213
5542
  "@mapping": "takeshape:local:Defaults.SJqnoltwW",
5214
- "$ref": "#/shapes/TSRelationship/schema",
5215
- "@relationship": {
5216
- "shapeIds": [
5217
- "Hk_lxKwPZ"
5218
- ],
5219
- "type": "single"
5220
- },
5221
5543
  "@backreference": {
5222
5544
  "enabled": true
5545
+ },
5546
+ "@ref": "local:Newsletter",
5547
+ "@input": {
5548
+ "@ref": "local:TSRelationship"
5549
+ },
5550
+ "@args": "TSRelationshipArgs",
5551
+ "@resolver": {
5552
+ "name": "takeshape:getRelated",
5553
+ "service": "takeshape:local",
5554
+ "options": {
5555
+ "nullable": true
5556
+ }
5223
5557
  }
5224
5558
  },
5225
5559
  "metadata": {
@@ -5230,16 +5564,27 @@
5230
5564
  "promotion": {
5231
5565
  "title": "Promotion",
5232
5566
  "@mapping": "takeshape:local:Defaults.ryz0i0AJX",
5233
- "$ref": "#/shapes/TSRelationship/schema",
5234
- "@relationship": {
5235
- "shapeIds": [
5236
- "Hk_lxKwPZ",
5237
- "S1wMIxlsz"
5238
- ],
5239
- "type": "single"
5240
- },
5241
5567
  "@backreference": {
5242
5568
  "enabled": true
5569
+ },
5570
+ "oneOf": [
5571
+ {
5572
+ "@ref": "local:Newsletter"
5573
+ },
5574
+ {
5575
+ "@ref": "local:Report"
5576
+ }
5577
+ ],
5578
+ "@input": {
5579
+ "@ref": "local:TSRelationship"
5580
+ },
5581
+ "@args": "TSRelationshipArgs",
5582
+ "@resolver": {
5583
+ "name": "takeshape:getRelated",
5584
+ "service": "takeshape:local",
5585
+ "options": {
5586
+ "nullable": true
5587
+ }
5243
5588
  }
5244
5589
  }
5245
5590
  },
@@ -5266,15 +5611,20 @@
5266
5611
  "image": {
5267
5612
  "title": "Image",
5268
5613
  "@mapping": "takeshape:local:DefaultsMetadata.r1uqSZme7",
5269
- "$ref": "#/shapes/TSRelationship/schema",
5270
- "@relationship": {
5271
- "shapeIds": [
5272
- "ASSET"
5273
- ],
5274
- "type": "single"
5275
- },
5276
5614
  "@backreference": {
5277
5615
  "enabled": true
5616
+ },
5617
+ "@ref": "local:Asset",
5618
+ "@input": {
5619
+ "@ref": "local:TSRelationship"
5620
+ },
5621
+ "@args": "TSRelationshipArgs",
5622
+ "@resolver": {
5623
+ "name": "takeshape:getRelated",
5624
+ "service": "takeshape:local",
5625
+ "options": {
5626
+ "nullable": true
5627
+ }
5278
5628
  }
5279
5629
  },
5280
5630
  "description": {
@@ -5299,16 +5649,21 @@
5299
5649
  "report": {
5300
5650
  "title": "Report",
5301
5651
  "@mapping": "takeshape:local:ReportSection.HJe4q9m3f",
5302
- "$ref": "#/shapes/TSRelationship/schema",
5303
- "@relationship": {
5304
- "shapeIds": [
5305
- "S1wMIxlsz"
5306
- ],
5307
- "type": "single"
5308
- },
5309
5652
  "@backreference": {
5310
5653
  "enabled": true,
5311
5654
  "name": "sections"
5655
+ },
5656
+ "@ref": "local:Report",
5657
+ "@input": {
5658
+ "@ref": "local:TSRelationship"
5659
+ },
5660
+ "@args": "TSRelationshipArgs",
5661
+ "@resolver": {
5662
+ "name": "takeshape:getRelated",
5663
+ "service": "takeshape:local",
5664
+ "options": {
5665
+ "nullable": true
5666
+ }
5312
5667
  }
5313
5668
  },
5314
5669
  "subsections": {
@@ -5334,15 +5689,20 @@
5334
5689
  "headerImage": {
5335
5690
  "title": "Header Image",
5336
5691
  "@mapping": "takeshape:local:ReportSection.ByefRHI3z",
5337
- "$ref": "#/shapes/TSRelationship/schema",
5338
- "@relationship": {
5339
- "shapeIds": [
5340
- "ASSET"
5341
- ],
5342
- "type": "single"
5343
- },
5344
5692
  "@backreference": {
5345
5693
  "enabled": true
5694
+ },
5695
+ "@ref": "local:Asset",
5696
+ "@input": {
5697
+ "@ref": "local:TSRelationship"
5698
+ },
5699
+ "@args": "TSRelationshipArgs",
5700
+ "@resolver": {
5701
+ "name": "takeshape:getRelated",
5702
+ "service": "takeshape:local",
5703
+ "options": {
5704
+ "nullable": true
5705
+ }
5346
5706
  }
5347
5707
  },
5348
5708
  "slug": {
@@ -5425,18 +5785,26 @@
5425
5785
  "title": "Authors",
5426
5786
  "minItems": 1,
5427
5787
  "@mapping": "takeshape:local:ReportSectionSubsections.Byyy4QI2f",
5428
- "type": "array",
5429
5788
  "items": {
5430
- "$ref": "#/shapes/TSRelationship/schema"
5431
- },
5432
- "@relationship": {
5433
- "shapeIds": [
5434
- "r1a9-NCYx"
5435
- ],
5436
- "type": "multiple"
5789
+ "@ref": "local:Person"
5437
5790
  },
5438
5791
  "@backreference": {
5439
5792
  "enabled": true
5793
+ },
5794
+ "type": "array",
5795
+ "@input": {
5796
+ "type": "array",
5797
+ "items": {
5798
+ "@ref": "local:TSRelationship"
5799
+ }
5800
+ },
5801
+ "@args": "TSRelationshipArgs",
5802
+ "@resolver": {
5803
+ "name": "takeshape:getRelated",
5804
+ "service": "takeshape:local",
5805
+ "options": {
5806
+ "nullable": true
5807
+ }
5440
5808
  }
5441
5809
  }
5442
5810
  },
@@ -5467,15 +5835,20 @@
5467
5835
  "title": "Sharing Image",
5468
5836
  "description": "The image displayed when sharing the page on social media",
5469
5837
  "@mapping": "takeshape:local:Tarot.9XaYezw8Z",
5470
- "$ref": "#/shapes/TSRelationship/schema",
5471
- "@relationship": {
5472
- "shapeIds": [
5473
- "ASSET"
5474
- ],
5475
- "type": "single"
5476
- },
5477
5838
  "@backreference": {
5478
5839
  "enabled": true
5840
+ },
5841
+ "@ref": "local:Asset",
5842
+ "@input": {
5843
+ "@ref": "local:TSRelationship"
5844
+ },
5845
+ "@args": "TSRelationshipArgs",
5846
+ "@resolver": {
5847
+ "name": "takeshape:getRelated",
5848
+ "service": "takeshape:local",
5849
+ "options": {
5850
+ "nullable": true
5851
+ }
5479
5852
  }
5480
5853
  },
5481
5854
  "hero": {
@@ -5522,15 +5895,20 @@
5522
5895
  "image": {
5523
5896
  "title": "Image",
5524
5897
  "@mapping": "takeshape:local:TarotHeroBackground.BMHF1SXwN",
5525
- "$ref": "#/shapes/TSRelationship/schema",
5526
- "@relationship": {
5527
- "shapeIds": [
5528
- "ASSET"
5529
- ],
5530
- "type": "single"
5531
- },
5532
5898
  "@backreference": {
5533
5899
  "enabled": true
5900
+ },
5901
+ "@ref": "local:Asset",
5902
+ "@input": {
5903
+ "@ref": "local:TSRelationship"
5904
+ },
5905
+ "@args": "TSRelationshipArgs",
5906
+ "@resolver": {
5907
+ "name": "takeshape:getRelated",
5908
+ "service": "takeshape:local",
5909
+ "options": {
5910
+ "nullable": true
5911
+ }
5534
5912
  }
5535
5913
  }
5536
5914
  }
@@ -5580,15 +5958,20 @@
5580
5958
  "instructions": {
5581
5959
  "title": "Instructions",
5582
5960
  "@mapping": "takeshape:local:TarotDownloads.AhSZ_d0J_",
5583
- "$ref": "#/shapes/TSRelationship/schema",
5584
- "@relationship": {
5585
- "shapeIds": [
5586
- "ASSET"
5587
- ],
5588
- "type": "single"
5589
- },
5590
5961
  "@backreference": {
5591
5962
  "enabled": true
5963
+ },
5964
+ "@ref": "local:Asset",
5965
+ "@input": {
5966
+ "@ref": "local:TSRelationship"
5967
+ },
5968
+ "@args": "TSRelationshipArgs",
5969
+ "@resolver": {
5970
+ "name": "takeshape:getRelated",
5971
+ "service": "takeshape:local",
5972
+ "options": {
5973
+ "nullable": true
5974
+ }
5592
5975
  }
5593
5976
  },
5594
5977
  "teachingGuide": {
@@ -5701,15 +6084,20 @@
5701
6084
  "image": {
5702
6085
  "title": "Image",
5703
6086
  "@mapping": "takeshape:local:Product.S1U7t42rV",
5704
- "$ref": "#/shapes/TSRelationship/schema",
5705
- "@relationship": {
5706
- "shapeIds": [
5707
- "ASSET"
5708
- ],
5709
- "type": "single"
5710
- },
5711
6087
  "@backreference": {
5712
6088
  "enabled": true
6089
+ },
6090
+ "@ref": "local:Asset",
6091
+ "@input": {
6092
+ "@ref": "local:TSRelationship"
6093
+ },
6094
+ "@args": "TSRelationshipArgs",
6095
+ "@resolver": {
6096
+ "name": "takeshape:getRelated",
6097
+ "service": "takeshape:local",
6098
+ "options": {
6099
+ "nullable": true
6100
+ }
5713
6101
  }
5714
6102
  },
5715
6103
  "description": {
@@ -5796,18 +6184,26 @@
5796
6184
  "partners": {
5797
6185
  "title": "Partners",
5798
6186
  "@mapping": "takeshape:local:Newsletter.0Y3bO1r7q",
5799
- "type": "array",
5800
6187
  "items": {
5801
- "$ref": "#/shapes/TSRelationship/schema"
5802
- },
5803
- "@relationship": {
5804
- "shapeIds": [
5805
- "rkfMnju1-"
5806
- ],
5807
- "type": "multiple"
6188
+ "@ref": "local:Partner"
5808
6189
  },
5809
6190
  "@backreference": {
5810
6191
  "enabled": true
6192
+ },
6193
+ "type": "array",
6194
+ "@input": {
6195
+ "type": "array",
6196
+ "items": {
6197
+ "@ref": "local:TSRelationship"
6198
+ }
6199
+ },
6200
+ "@args": "TSRelationshipArgs",
6201
+ "@resolver": {
6202
+ "name": "takeshape:getRelated",
6203
+ "service": "takeshape:local",
6204
+ "options": {
6205
+ "nullable": true
6206
+ }
5811
6207
  }
5812
6208
  },
5813
6209
  "background": {
@@ -5874,15 +6270,20 @@
5874
6270
  "image": {
5875
6271
  "title": "Image",
5876
6272
  "@mapping": "takeshape:local:NewsletterBackground.S1dX0uDDb",
5877
- "$ref": "#/shapes/TSRelationship/schema",
5878
- "@relationship": {
5879
- "shapeIds": [
5880
- "ASSET"
5881
- ],
5882
- "type": "single"
5883
- },
5884
6273
  "@backreference": {
5885
6274
  "enabled": true
6275
+ },
6276
+ "@ref": "local:Asset",
6277
+ "@input": {
6278
+ "@ref": "local:TSRelationship"
6279
+ },
6280
+ "@args": "TSRelationshipArgs",
6281
+ "@resolver": {
6282
+ "name": "takeshape:getRelated",
6283
+ "service": "takeshape:local",
6284
+ "options": {
6285
+ "nullable": true
6286
+ }
5886
6287
  }
5887
6288
  }
5888
6289
  }
@@ -5988,18 +6389,26 @@
5988
6389
  "tags": {
5989
6390
  "title": "Tags",
5990
6391
  "@mapping": "takeshape:local:Asset.HJ_Udg1Y7",
5991
- "type": "array",
5992
6392
  "items": {
5993
- "$ref": "#/shapes/TSRelationship/schema"
5994
- },
5995
- "@relationship": {
5996
- "shapeIds": [
5997
- "HJKRv2oKe"
5998
- ],
5999
- "type": "multiple"
6393
+ "@ref": "local:Tag"
6000
6394
  },
6001
6395
  "@backreference": {
6002
6396
  "enabled": true
6397
+ },
6398
+ "type": "array",
6399
+ "@input": {
6400
+ "type": "array",
6401
+ "items": {
6402
+ "@ref": "local:TSRelationship"
6403
+ }
6404
+ },
6405
+ "@args": "TSRelationshipArgs",
6406
+ "@resolver": {
6407
+ "name": "takeshape:getRelated",
6408
+ "service": "takeshape:local",
6409
+ "options": {
6410
+ "nullable": true
6411
+ }
6003
6412
  }
6004
6413
  }
6005
6414
  },
@@ -6041,18 +6450,26 @@
6041
6450
  "relatedTags": {
6042
6451
  "title": "Related Tags",
6043
6452
  "@mapping": "takeshape:local:Tag.ByEBP6Q-E",
6044
- "type": "array",
6045
6453
  "items": {
6046
- "$ref": "#/shapes/TSRelationship/schema"
6047
- },
6048
- "@relationship": {
6049
- "shapeIds": [
6050
- "HJKRv2oKe"
6051
- ],
6052
- "type": "multiple"
6454
+ "@ref": "local:Tag"
6053
6455
  },
6054
6456
  "@backreference": {
6055
6457
  "enabled": true
6458
+ },
6459
+ "type": "array",
6460
+ "@input": {
6461
+ "type": "array",
6462
+ "items": {
6463
+ "@ref": "local:TSRelationship"
6464
+ }
6465
+ },
6466
+ "@args": "TSRelationshipArgs",
6467
+ "@resolver": {
6468
+ "name": "takeshape:getRelated",
6469
+ "service": "takeshape:local",
6470
+ "options": {
6471
+ "nullable": true
6472
+ }
6056
6473
  }
6057
6474
  }
6058
6475
  },
@@ -6105,15 +6522,20 @@
6105
6522
  "image": {
6106
6523
  "title": "Image",
6107
6524
  "@mapping": "takeshape:local:AdvertisingFooterBanner.SJnpwy_gS",
6108
- "$ref": "#/shapes/TSRelationship/schema",
6109
- "@relationship": {
6110
- "shapeIds": [
6111
- "ASSET"
6112
- ],
6113
- "type": "single"
6114
- },
6115
6525
  "@backreference": {
6116
6526
  "enabled": true
6527
+ },
6528
+ "@ref": "local:Asset",
6529
+ "@input": {
6530
+ "@ref": "local:TSRelationship"
6531
+ },
6532
+ "@args": "TSRelationshipArgs",
6533
+ "@resolver": {
6534
+ "name": "takeshape:getRelated",
6535
+ "service": "takeshape:local",
6536
+ "options": {
6537
+ "nullable": true
6538
+ }
6117
6539
  }
6118
6540
  }
6119
6541
  }
@@ -6135,15 +6557,20 @@
6135
6557
  "image": {
6136
6558
  "title": "Image",
6137
6559
  "@mapping": "takeshape:local:AdvertisingHeaderBanner.SyfyCRPgB",
6138
- "$ref": "#/shapes/TSRelationship/schema",
6139
- "@relationship": {
6140
- "shapeIds": [
6141
- "ASSET"
6142
- ],
6143
- "type": "single"
6144
- },
6145
6560
  "@backreference": {
6146
6561
  "enabled": true
6562
+ },
6563
+ "@ref": "local:Asset",
6564
+ "@input": {
6565
+ "@ref": "local:TSRelationship"
6566
+ },
6567
+ "@args": "TSRelationshipArgs",
6568
+ "@resolver": {
6569
+ "name": "takeshape:getRelated",
6570
+ "service": "takeshape:local",
6571
+ "options": {
6572
+ "nullable": true
6573
+ }
6147
6574
  }
6148
6575
  }
6149
6576
  }
@@ -6165,15 +6592,20 @@
6165
6592
  "image": {
6166
6593
  "title": "Image",
6167
6594
  "@mapping": "takeshape:local:AdvertisingArticleSidebar.BJ1rlk_gS",
6168
- "$ref": "#/shapes/TSRelationship/schema",
6169
- "@relationship": {
6170
- "shapeIds": [
6171
- "ASSET"
6172
- ],
6173
- "type": "single"
6174
- },
6175
6595
  "@backreference": {
6176
6596
  "enabled": true
6597
+ },
6598
+ "@ref": "local:Asset",
6599
+ "@input": {
6600
+ "@ref": "local:TSRelationship"
6601
+ },
6602
+ "@args": "TSRelationshipArgs",
6603
+ "@resolver": {
6604
+ "name": "takeshape:getRelated",
6605
+ "service": "takeshape:local",
6606
+ "options": {
6607
+ "nullable": true
6608
+ }
6177
6609
  }
6178
6610
  }
6179
6611
  }
@@ -6235,18 +6667,26 @@
6235
6667
  "title": "Related Fields",
6236
6668
  "description": "Any other fields that connect to this one..",
6237
6669
  "@mapping": "takeshape:local:Field.ry8n3-xpg",
6238
- "type": "array",
6239
6670
  "items": {
6240
- "$ref": "#/shapes/TSRelationship/schema"
6241
- },
6242
- "@relationship": {
6243
- "shapeIds": [
6244
- "SyUu3bgTe"
6245
- ],
6246
- "type": "multiple"
6671
+ "@ref": "local:Field"
6247
6672
  },
6248
6673
  "@backreference": {
6249
6674
  "enabled": true
6675
+ },
6676
+ "type": "array",
6677
+ "@input": {
6678
+ "type": "array",
6679
+ "items": {
6680
+ "@ref": "local:TSRelationship"
6681
+ }
6682
+ },
6683
+ "@args": "TSRelationshipArgs",
6684
+ "@resolver": {
6685
+ "name": "takeshape:getRelated",
6686
+ "service": "takeshape:local",
6687
+ "options": {
6688
+ "nullable": true
6689
+ }
6250
6690
  }
6251
6691
  },
6252
6692
  "name": {
@@ -6274,18 +6714,26 @@
6274
6714
  "themes": {
6275
6715
  "title": "Themes",
6276
6716
  "@mapping": "takeshape:local:Video.rJWL2hpkE",
6277
- "type": "array",
6278
6717
  "items": {
6279
- "$ref": "#/shapes/TSRelationship/schema"
6280
- },
6281
- "@relationship": {
6282
- "shapeIds": [
6283
- "HkEaIV0Al"
6284
- ],
6285
- "type": "multiple"
6718
+ "@ref": "local:Theme"
6286
6719
  },
6287
6720
  "@backreference": {
6288
6721
  "enabled": true
6722
+ },
6723
+ "type": "array",
6724
+ "@input": {
6725
+ "type": "array",
6726
+ "items": {
6727
+ "@ref": "local:TSRelationship"
6728
+ }
6729
+ },
6730
+ "@args": "TSRelationshipArgs",
6731
+ "@resolver": {
6732
+ "name": "takeshape:getRelated",
6733
+ "service": "takeshape:local",
6734
+ "options": {
6735
+ "nullable": true
6736
+ }
6289
6737
  }
6290
6738
  },
6291
6739
  "credits": {
@@ -6297,32 +6745,45 @@
6297
6745
  "partners": {
6298
6746
  "title": "Partners",
6299
6747
  "@mapping": "takeshape:local:Video.BJ5bdB_JN",
6300
- "type": "array",
6301
6748
  "items": {
6302
- "$ref": "#/shapes/TSRelationship/schema"
6303
- },
6304
- "@relationship": {
6305
- "shapeIds": [
6306
- "rkfMnju1-"
6307
- ],
6308
- "type": "multiple"
6749
+ "@ref": "local:Partner"
6309
6750
  },
6310
6751
  "@backreference": {
6311
6752
  "enabled": true
6753
+ },
6754
+ "type": "array",
6755
+ "@input": {
6756
+ "type": "array",
6757
+ "items": {
6758
+ "@ref": "local:TSRelationship"
6759
+ }
6760
+ },
6761
+ "@args": "TSRelationshipArgs",
6762
+ "@resolver": {
6763
+ "name": "takeshape:getRelated",
6764
+ "service": "takeshape:local",
6765
+ "options": {
6766
+ "nullable": true
6767
+ }
6312
6768
  }
6313
6769
  },
6314
6770
  "coverImage": {
6315
6771
  "title": "Cover Image",
6316
6772
  "@mapping": "takeshape:local:Video.B13KDrOkE",
6317
- "$ref": "#/shapes/TSRelationship/schema",
6318
- "@relationship": {
6319
- "shapeIds": [
6320
- "ASSET"
6321
- ],
6322
- "type": "single"
6323
- },
6324
6773
  "@backreference": {
6325
6774
  "enabled": true
6775
+ },
6776
+ "@ref": "local:Asset",
6777
+ "@input": {
6778
+ "@ref": "local:TSRelationship"
6779
+ },
6780
+ "@args": "TSRelationshipArgs",
6781
+ "@resolver": {
6782
+ "name": "takeshape:getRelated",
6783
+ "service": "takeshape:local",
6784
+ "options": {
6785
+ "nullable": true
6786
+ }
6326
6787
  }
6327
6788
  },
6328
6789
  "subtitle": {
@@ -6374,18 +6835,26 @@
6374
6835
  "tags": {
6375
6836
  "title": "Tags",
6376
6837
  "@mapping": "takeshape:local:Video.rJYPh2T1V",
6377
- "type": "array",
6378
6838
  "items": {
6379
- "$ref": "#/shapes/TSRelationship/schema"
6380
- },
6381
- "@relationship": {
6382
- "shapeIds": [
6383
- "HJKRv2oKe"
6384
- ],
6385
- "type": "multiple"
6839
+ "@ref": "local:Tag"
6386
6840
  },
6387
6841
  "@backreference": {
6388
6842
  "enabled": true
6843
+ },
6844
+ "type": "array",
6845
+ "@input": {
6846
+ "type": "array",
6847
+ "items": {
6848
+ "@ref": "local:TSRelationship"
6849
+ }
6850
+ },
6851
+ "@args": "TSRelationshipArgs",
6852
+ "@resolver": {
6853
+ "name": "takeshape:getRelated",
6854
+ "service": "takeshape:local",
6855
+ "options": {
6856
+ "nullable": true
6857
+ }
6389
6858
  }
6390
6859
  }
6391
6860
  },
@@ -6405,15 +6874,20 @@
6405
6874
  "person": {
6406
6875
  "title": "Person",
6407
6876
  "@mapping": "takeshape:local:VideoPeerCommentsResponses.HyVVnU0MV",
6408
- "$ref": "#/shapes/TSRelationship/schema",
6409
- "@relationship": {
6410
- "shapeIds": [
6411
- "r1a9-NCYx"
6412
- ],
6413
- "type": "single"
6414
- },
6415
6877
  "@backreference": {
6416
6878
  "enabled": true
6879
+ },
6880
+ "@ref": "local:Person",
6881
+ "@input": {
6882
+ "@ref": "local:TSRelationship"
6883
+ },
6884
+ "@args": "TSRelationshipArgs",
6885
+ "@resolver": {
6886
+ "name": "takeshape:getRelated",
6887
+ "service": "takeshape:local",
6888
+ "options": {
6889
+ "nullable": true
6890
+ }
6417
6891
  }
6418
6892
  },
6419
6893
  "response": {
@@ -6447,15 +6921,20 @@
6447
6921
  "person": {
6448
6922
  "title": "Person",
6449
6923
  "@mapping": "takeshape:local:VideoPeerComments.SkwWh8RME",
6450
- "$ref": "#/shapes/TSRelationship/schema",
6451
- "@relationship": {
6452
- "shapeIds": [
6453
- "r1a9-NCYx"
6454
- ],
6455
- "type": "single"
6456
- },
6457
6924
  "@backreference": {
6458
6925
  "enabled": true
6926
+ },
6927
+ "@ref": "local:Person",
6928
+ "@input": {
6929
+ "@ref": "local:TSRelationship"
6930
+ },
6931
+ "@args": "TSRelationshipArgs",
6932
+ "@resolver": {
6933
+ "name": "takeshape:getRelated",
6934
+ "service": "takeshape:local",
6935
+ "options": {
6936
+ "nullable": true
6937
+ }
6459
6938
  }
6460
6939
  },
6461
6940
  "comment": {
@@ -6484,61 +6963,84 @@
6484
6963
  "image": {
6485
6964
  "title": "Image",
6486
6965
  "@mapping": "takeshape:local:Theme.HkO3INACx",
6487
- "$ref": "#/shapes/TSRelationship/schema",
6488
- "@relationship": {
6489
- "shapeIds": [
6490
- "ASSET"
6491
- ],
6492
- "type": "single"
6493
- },
6494
6966
  "@backreference": {
6495
6967
  "enabled": true
6968
+ },
6969
+ "@ref": "local:Asset",
6970
+ "@input": {
6971
+ "@ref": "local:TSRelationship"
6972
+ },
6973
+ "@args": "TSRelationshipArgs",
6974
+ "@resolver": {
6975
+ "name": "takeshape:getRelated",
6976
+ "service": "takeshape:local",
6977
+ "options": {
6978
+ "nullable": true
6979
+ }
6496
6980
  }
6497
6981
  },
6498
6982
  "newsletter": {
6499
6983
  "title": "Newsletter",
6500
6984
  "@mapping": "takeshape:local:Theme.BJIogB19W",
6501
- "$ref": "#/shapes/TSRelationship/schema",
6502
- "@relationship": {
6503
- "shapeIds": [
6504
- "Hk_lxKwPZ"
6505
- ],
6506
- "type": "single"
6507
- },
6508
6985
  "@backreference": {
6509
6986
  "enabled": true
6987
+ },
6988
+ "@ref": "local:Newsletter",
6989
+ "@input": {
6990
+ "@ref": "local:TSRelationship"
6991
+ },
6992
+ "@args": "TSRelationshipArgs",
6993
+ "@resolver": {
6994
+ "name": "takeshape:getRelated",
6995
+ "service": "takeshape:local",
6996
+ "options": {
6997
+ "nullable": true
6998
+ }
6510
6999
  }
6511
7000
  },
6512
7001
  "themeArticles": {
6513
7002
  "title": "Theme Articles",
6514
7003
  "@mapping": "takeshape:local:Theme.HylSk1QTE",
6515
- "type": "array",
6516
7004
  "items": {
6517
- "$ref": "#/shapes/TSRelationship/schema"
6518
- },
6519
- "@relationship": {
6520
- "shapeIds": [
6521
- "Sk6yWoljg"
6522
- ],
6523
- "type": "multiple"
7005
+ "@ref": "local:Article"
6524
7006
  },
6525
7007
  "@backreference": {
6526
7008
  "enabled": true
7009
+ },
7010
+ "type": "array",
7011
+ "@input": {
7012
+ "type": "array",
7013
+ "items": {
7014
+ "@ref": "local:TSRelationship"
7015
+ }
7016
+ },
7017
+ "@args": "TSRelationshipArgs",
7018
+ "@resolver": {
7019
+ "name": "takeshape:getRelated",
7020
+ "service": "takeshape:local",
7021
+ "options": {
7022
+ "nullable": true
7023
+ }
6527
7024
  }
6528
7025
  },
6529
7026
  "partner": {
6530
7027
  "title": "Partner",
6531
7028
  "description": "A partner supports the curation of a theme.",
6532
7029
  "@mapping": "takeshape:local:Theme.SklFw7qJ-",
6533
- "$ref": "#/shapes/TSRelationship/schema",
6534
- "@relationship": {
6535
- "shapeIds": [
6536
- "rkfMnju1-"
6537
- ],
6538
- "type": "single"
6539
- },
6540
7030
  "@backreference": {
6541
7031
  "enabled": true
7032
+ },
7033
+ "@ref": "local:Partner",
7034
+ "@input": {
7035
+ "@ref": "local:TSRelationship"
7036
+ },
7037
+ "@args": "TSRelationshipArgs",
7038
+ "@resolver": {
7039
+ "name": "takeshape:getRelated",
7040
+ "service": "takeshape:local",
7041
+ "options": {
7042
+ "nullable": true
7043
+ }
6542
7044
  }
6543
7045
  },
6544
7046
  "microDescription": {
@@ -6602,16 +7104,27 @@
6602
7104
  "promotion": {
6603
7105
  "title": "Promotion",
6604
7106
  "@mapping": "takeshape:local:Theme.rkSJ50Cy7",
6605
- "$ref": "#/shapes/TSRelationship/schema",
6606
- "@relationship": {
6607
- "shapeIds": [
6608
- "S1wMIxlsz",
6609
- "Hk_lxKwPZ"
6610
- ],
6611
- "type": "single"
6612
- },
6613
7107
  "@backreference": {
6614
7108
  "enabled": true
7109
+ },
7110
+ "oneOf": [
7111
+ {
7112
+ "@ref": "local:Report"
7113
+ },
7114
+ {
7115
+ "@ref": "local:Newsletter"
7116
+ }
7117
+ ],
7118
+ "@input": {
7119
+ "@ref": "local:TSRelationship"
7120
+ },
7121
+ "@args": "TSRelationshipArgs",
7122
+ "@resolver": {
7123
+ "name": "takeshape:getRelated",
7124
+ "service": "takeshape:local",
7125
+ "options": {
7126
+ "nullable": true
7127
+ }
6615
7128
  }
6616
7129
  }
6617
7130
  },
@@ -6753,15 +7266,20 @@
6753
7266
  "image": {
6754
7267
  "title": "Image",
6755
7268
  "@mapping": "takeshape:local:ReportsLandingPageBackground.HJcNwRyjz",
6756
- "$ref": "#/shapes/TSRelationship/schema",
6757
- "@relationship": {
6758
- "shapeIds": [
6759
- "ASSET"
6760
- ],
6761
- "type": "single"
6762
- },
6763
7269
  "@backreference": {
6764
7270
  "enabled": true
7271
+ },
7272
+ "@ref": "local:Asset",
7273
+ "@input": {
7274
+ "@ref": "local:TSRelationship"
7275
+ },
7276
+ "@args": "TSRelationshipArgs",
7277
+ "@resolver": {
7278
+ "name": "takeshape:getRelated",
7279
+ "service": "takeshape:local",
7280
+ "options": {
7281
+ "nullable": true
7282
+ }
6765
7283
  }
6766
7284
  }
6767
7285
  }
@@ -6835,15 +7353,20 @@
6835
7353
  "portrait": {
6836
7354
  "title": "Portrait",
6837
7355
  "@mapping": "takeshape:local:Person.rJHqZN0Fe",
6838
- "$ref": "#/shapes/TSRelationship/schema",
6839
- "@relationship": {
6840
- "shapeIds": [
6841
- "ASSET"
6842
- ],
6843
- "type": "single"
6844
- },
6845
7356
  "@backreference": {
6846
7357
  "enabled": true
7358
+ },
7359
+ "@ref": "local:Asset",
7360
+ "@input": {
7361
+ "@ref": "local:TSRelationship"
7362
+ },
7363
+ "@args": "TSRelationshipArgs",
7364
+ "@resolver": {
7365
+ "name": "takeshape:getRelated",
7366
+ "service": "takeshape:local",
7367
+ "options": {
7368
+ "nullable": true
7369
+ }
6847
7370
  }
6848
7371
  },
6849
7372
  "title": {
@@ -6855,18 +7378,26 @@
6855
7378
  "institutions": {
6856
7379
  "title": "Institutions",
6857
7380
  "@mapping": "takeshape:local:Person.rkP8pbgTg",
6858
- "type": "array",
6859
7381
  "items": {
6860
- "$ref": "#/shapes/TSRelationship/schema"
6861
- },
6862
- "@relationship": {
6863
- "shapeIds": [
6864
- "ryuQTWgTl"
6865
- ],
6866
- "type": "multiple"
7382
+ "@ref": "local:Institution"
6867
7383
  },
6868
7384
  "@backreference": {
6869
7385
  "enabled": true
7386
+ },
7387
+ "type": "array",
7388
+ "@input": {
7389
+ "type": "array",
7390
+ "items": {
7391
+ "@ref": "local:TSRelationship"
7392
+ }
7393
+ },
7394
+ "@args": "TSRelationshipArgs",
7395
+ "@resolver": {
7396
+ "name": "takeshape:getRelated",
7397
+ "service": "takeshape:local",
7398
+ "options": {
7399
+ "nullable": true
7400
+ }
6870
7401
  }
6871
7402
  },
6872
7403
  "firstName": {
@@ -6891,18 +7422,26 @@
6891
7422
  "fields": {
6892
7423
  "title": "Fields",
6893
7424
  "@mapping": "takeshape:local:Person.r1IEa-lTg",
6894
- "type": "array",
6895
7425
  "items": {
6896
- "$ref": "#/shapes/TSRelationship/schema"
6897
- },
6898
- "@relationship": {
6899
- "shapeIds": [
6900
- "SyUu3bgTe"
6901
- ],
6902
- "type": "multiple"
7426
+ "@ref": "local:Field"
6903
7427
  },
6904
7428
  "@backreference": {
6905
7429
  "enabled": true
7430
+ },
7431
+ "type": "array",
7432
+ "@input": {
7433
+ "type": "array",
7434
+ "items": {
7435
+ "@ref": "local:TSRelationship"
7436
+ }
7437
+ },
7438
+ "@args": "TSRelationshipArgs",
7439
+ "@resolver": {
7440
+ "name": "takeshape:getRelated",
7441
+ "service": "takeshape:local",
7442
+ "options": {
7443
+ "nullable": true
7444
+ }
6906
7445
  }
6907
7446
  },
6908
7447
  "certifiedWriter": {
@@ -6970,18 +7509,26 @@
6970
7509
  "title": "Partners",
6971
7510
  "minItems": 1,
6972
7511
  "@mapping": "takeshape:local:AboutPagePartnerGroups.S1DbrEqsz",
6973
- "type": "array",
6974
7512
  "items": {
6975
- "$ref": "#/shapes/TSRelationship/schema"
6976
- },
6977
- "@relationship": {
6978
- "shapeIds": [
6979
- "rkfMnju1-"
6980
- ],
6981
- "type": "multiple"
7513
+ "@ref": "local:Partner"
6982
7514
  },
6983
7515
  "@backreference": {
6984
7516
  "enabled": true
7517
+ },
7518
+ "type": "array",
7519
+ "@input": {
7520
+ "type": "array",
7521
+ "items": {
7522
+ "@ref": "local:TSRelationship"
7523
+ }
7524
+ },
7525
+ "@args": "TSRelationshipArgs",
7526
+ "@resolver": {
7527
+ "name": "takeshape:getRelated",
7528
+ "service": "takeshape:local",
7529
+ "options": {
7530
+ "nullable": true
7531
+ }
6985
7532
  }
6986
7533
  },
6987
7534
  "description": {
@@ -7019,15 +7566,20 @@
7019
7566
  "person": {
7020
7567
  "title": "Person",
7021
7568
  "@mapping": "takeshape:local:AboutPageStaff.Byq5NE5if",
7022
- "$ref": "#/shapes/TSRelationship/schema",
7023
- "@relationship": {
7024
- "shapeIds": [
7025
- "r1a9-NCYx"
7026
- ],
7027
- "type": "single"
7028
- },
7029
7569
  "@backreference": {
7030
7570
  "enabled": true
7571
+ },
7572
+ "@ref": "local:Person",
7573
+ "@input": {
7574
+ "@ref": "local:TSRelationship"
7575
+ },
7576
+ "@args": "TSRelationshipArgs",
7577
+ "@resolver": {
7578
+ "name": "takeshape:getRelated",
7579
+ "service": "takeshape:local",
7580
+ "options": {
7581
+ "nullable": true
7582
+ }
7031
7583
  }
7032
7584
  },
7033
7585
  "role": {
@@ -7099,15 +7651,20 @@
7099
7651
  "page": {
7100
7652
  "title": "Page",
7101
7653
  "@mapping": "takeshape:local:NavigationAboutItems.r1-TVndhN",
7102
- "$ref": "#/shapes/TSRelationship/schema",
7103
- "@relationship": {
7104
- "shapeIds": [
7105
- "SkwVi1Ase"
7106
- ],
7107
- "type": "single"
7108
- },
7109
7654
  "@backreference": {
7110
7655
  "enabled": true
7656
+ },
7657
+ "@ref": "local:Page",
7658
+ "@input": {
7659
+ "@ref": "local:TSRelationship"
7660
+ },
7661
+ "@args": "TSRelationshipArgs",
7662
+ "@resolver": {
7663
+ "name": "takeshape:getRelated",
7664
+ "service": "takeshape:local",
7665
+ "options": {
7666
+ "nullable": true
7667
+ }
7111
7668
  }
7112
7669
  }
7113
7670
  }
@@ -7153,18 +7710,26 @@
7153
7710
  "themes": {
7154
7711
  "title": "Themes",
7155
7712
  "@mapping": "takeshape:local:NavigationStories.rJSJtiWVG",
7156
- "type": "array",
7157
7713
  "items": {
7158
- "$ref": "#/shapes/TSRelationship/schema"
7159
- },
7160
- "@relationship": {
7161
- "shapeIds": [
7162
- "HkEaIV0Al"
7163
- ],
7164
- "type": "multiple"
7714
+ "@ref": "local:Theme"
7165
7715
  },
7166
7716
  "@backreference": {
7167
7717
  "enabled": true
7718
+ },
7719
+ "type": "array",
7720
+ "@input": {
7721
+ "type": "array",
7722
+ "items": {
7723
+ "@ref": "local:TSRelationship"
7724
+ }
7725
+ },
7726
+ "@args": "TSRelationshipArgs",
7727
+ "@resolver": {
7728
+ "name": "takeshape:getRelated",
7729
+ "service": "takeshape:local",
7730
+ "options": {
7731
+ "nullable": true
7732
+ }
7168
7733
  }
7169
7734
  }
7170
7735
  }
@@ -7276,6 +7841,6 @@
7276
7841
  }
7277
7842
  }
7278
7843
  },
7279
- "schemaVersion": "3.17.1",
7844
+ "schemaVersion": "3.18.0",
7280
7845
  "services": {}
7281
- }
7846
+ }