@takeshape/schema 11.144.1 → 11.154.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/latest/all-fields-shapes-inline.json +1 -1
- package/examples/latest/all-fields-shapes.json +1 -1
- package/examples/latest/betzino.json +1 -1
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +1 -1
- package/examples/latest/chat-agent-schema.json +1 -1
- package/examples/latest/clear-cache-schema.json +1 -1
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/edit-schema.json +1 -1
- package/examples/latest/frank-and-fred-schema.json +1 -1
- package/examples/latest/generate-agent-schema.json +1 -1
- package/examples/latest/klirr-schema.json +1 -1
- package/examples/latest/layers/rick-and-morty-layer.json +1 -1
- package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
- package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
- package/examples/latest/layers/wordpress-2024-01.json +1 -1
- package/examples/latest/massive-schema.json +1 -1
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/nested-shape-arrays.json +1 -1
- package/examples/latest/one-earth.json +1 -1
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/rag-example.json +1 -1
- package/examples/latest/real-world-schema.json +1 -1
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +1 -1
- package/examples/latest/rick-and-morty-graphql.json +1 -1
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/rick-and-morty-user-schema.json +1 -1
- package/examples/latest/rick-and-morty-with-indexing.json +1 -1
- package/examples/latest/schema-where-filter.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/schema-with-rick-and-morty.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +1 -1
- package/examples/latest/shape-books.json +1 -1
- package/examples/latest/shape-editor-schema-edited.json +1 -1
- package/examples/latest/shape-editor-schema-initial.json +1 -1
- package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
- package/examples/latest/shopify-lookbook.json +1 -1
- package/examples/latest/shopify-product-2022-07.json +1 -1
- package/examples/latest/shopify-product-2023-04.json +1 -1
- package/examples/latest/shopify-store-with-widget.json +1 -1
- package/examples/latest/stripe-product-runtime-schema.json +1 -1
- package/examples/latest/stripe-starter-resolved.json +1 -1
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/examples/latest/valvoline-ai-demo.json +1461 -1421
- package/examples/latest/vector-search-schema.json +1 -1
- package/package.json +10 -9
- package/dist/agents.d.ts +0 -62
- package/dist/agents.js +0 -338
- package/dist/api-version.d.ts +0 -5
- package/dist/api-version.js +0 -17
- package/dist/auth-schemas.d.ts +0 -128
- package/dist/auth-schemas.js +0 -7
- package/dist/auth-utils.d.ts +0 -5
- package/dist/auth-utils.js +0 -6
- package/dist/builtin-schema.d.ts +0 -18
- package/dist/builtin-schema.js +0 -683
- package/dist/constants.d.ts +0 -1
- package/dist/constants.js +0 -1
- package/dist/content-schema-transform.d.ts +0 -35
- package/dist/content-schema-transform.js +0 -162
- package/dist/create-input-schema.d.ts +0 -9
- package/dist/create-input-schema.js +0 -68
- package/dist/enum.d.ts +0 -2
- package/dist/enum.js +0 -9
- package/dist/flatten-templates.d.ts +0 -2
- package/dist/flatten-templates.js +0 -20
- package/dist/get-is-leaf.d.ts +0 -3
- package/dist/get-is-leaf.js +0 -56
- package/dist/index.d.ts +0 -62
- package/dist/index.js +0 -59
- package/dist/interfaces.d.ts +0 -14
- package/dist/interfaces.js +0 -86
- package/dist/layers/layers.d.ts +0 -26
- package/dist/layers/layers.js +0 -301
- package/dist/layers/refs.d.ts +0 -102
- package/dist/layers/refs.js +0 -220
- package/dist/layers/type-utils.d.ts +0 -59
- package/dist/layers/type-utils.js +0 -118
- package/dist/layers/visitor.d.ts +0 -5
- package/dist/layers/visitor.js +0 -38
- package/dist/migration/index.d.ts +0 -73
- package/dist/migration/index.js +0 -103
- package/dist/migration/to/v3.0.0.d.ts +0 -4
- package/dist/migration/to/v3.0.0.js +0 -212
- package/dist/migration/to/v3.1.0.d.ts +0 -4
- package/dist/migration/to/v3.1.0.js +0 -194
- package/dist/migration/to/v3.10.0.d.ts +0 -4
- package/dist/migration/to/v3.10.0.js +0 -67
- package/dist/migration/to/v3.11.0.d.ts +0 -4
- package/dist/migration/to/v3.11.0.js +0 -85
- package/dist/migration/to/v3.12.3.d.ts +0 -4
- package/dist/migration/to/v3.12.3.js +0 -87
- package/dist/migration/to/v3.13.0.d.ts +0 -4
- package/dist/migration/to/v3.13.0.js +0 -17
- package/dist/migration/to/v3.17.0.d.ts +0 -4
- package/dist/migration/to/v3.17.0.js +0 -22
- package/dist/migration/to/v3.18.0.d.ts +0 -4
- package/dist/migration/to/v3.18.0.js +0 -64
- package/dist/migration/to/v3.18.1.d.ts +0 -4
- package/dist/migration/to/v3.18.1.js +0 -12
- package/dist/migration/to/v3.18.2.d.ts +0 -4
- package/dist/migration/to/v3.18.2.js +0 -19
- package/dist/migration/to/v3.20.0.d.ts +0 -4
- package/dist/migration/to/v3.20.0.js +0 -24
- package/dist/migration/to/v3.22.0.d.ts +0 -4
- package/dist/migration/to/v3.22.0.js +0 -25
- package/dist/migration/to/v3.24.0.d.ts +0 -4
- package/dist/migration/to/v3.24.0.js +0 -11
- package/dist/migration/to/v3.25.0.d.ts +0 -4
- package/dist/migration/to/v3.25.0.js +0 -11
- package/dist/migration/to/v3.3.0.d.ts +0 -4
- package/dist/migration/to/v3.3.0.js +0 -13
- package/dist/migration/to/v3.31.0.d.ts +0 -4
- package/dist/migration/to/v3.31.0.js +0 -38
- package/dist/migration/to/v3.32.0.d.ts +0 -4
- package/dist/migration/to/v3.32.0.js +0 -59
- package/dist/migration/to/v3.34.0.d.ts +0 -6
- package/dist/migration/to/v3.34.0.js +0 -111
- package/dist/migration/to/v3.36.0.d.ts +0 -4
- package/dist/migration/to/v3.36.0.js +0 -22
- package/dist/migration/to/v3.39.0.d.ts +0 -4
- package/dist/migration/to/v3.39.0.js +0 -45
- package/dist/migration/to/v3.40.0.d.ts +0 -4
- package/dist/migration/to/v3.40.0.js +0 -26
- package/dist/migration/to/v3.46.0.d.ts +0 -4
- package/dist/migration/to/v3.46.0.js +0 -35
- package/dist/migration/to/v3.57.0.d.ts +0 -4
- package/dist/migration/to/v3.57.0.js +0 -18
- package/dist/migration/to/v3.9.0.d.ts +0 -4
- package/dist/migration/to/v3.9.0.js +0 -79
- package/dist/migration/types.d.ts +0 -26
- package/dist/migration/types.js +0 -3
- package/dist/migration/utils.d.ts +0 -2
- package/dist/migration/utils.js +0 -6
- package/dist/mocks.d.ts +0 -14
- package/dist/mocks.js +0 -58
- package/dist/models/agent.d.ts +0 -3
- package/dist/models/agent.js +0 -29
- package/dist/models/project-schema.d.ts +0 -18
- package/dist/models/project-schema.js +0 -119
- package/dist/models/query.d.ts +0 -3
- package/dist/models/query.js +0 -38
- package/dist/models/runtime-schema.d.ts +0 -9
- package/dist/models/runtime-schema.js +0 -20
- package/dist/models/shape.d.ts +0 -4
- package/dist/models/shape.js +0 -36
- package/dist/models/types.d.ts +0 -36
- package/dist/models/types.js +0 -1
- package/dist/models/user-schema.d.ts +0 -7
- package/dist/models/user-schema.js +0 -9
- package/dist/patterns.d.ts +0 -12
- package/dist/patterns.js +0 -1
- package/dist/project-schema/index.d.ts +0 -211
- package/dist/project-schema/index.js +0 -83
- package/dist/project-schema/latest.d.ts +0 -2619
- package/dist/project-schema/latest.js +0 -7
- package/dist/project-schema/migrate.d.ts +0 -4
- package/dist/project-schema/migrate.js +0 -218
- package/dist/project-schema/v1.0.0.d.ts +0 -299
- package/dist/project-schema/v1.0.0.js +0 -7
- package/dist/project-schema/v3.0.0.d.ts +0 -478
- package/dist/project-schema/v3.0.0.js +0 -7
- package/dist/project-schema/v3.1.0.d.ts +0 -621
- package/dist/project-schema/v3.1.0.js +0 -7
- package/dist/project-schema/v3.10.0.d.ts +0 -1201
- package/dist/project-schema/v3.10.0.js +0 -7
- package/dist/project-schema/v3.11.0.d.ts +0 -1210
- package/dist/project-schema/v3.11.0.js +0 -7
- package/dist/project-schema/v3.12.0.d.ts +0 -1214
- package/dist/project-schema/v3.12.0.js +0 -7
- package/dist/project-schema/v3.12.1.d.ts +0 -1273
- package/dist/project-schema/v3.12.1.js +0 -7
- package/dist/project-schema/v3.12.2.d.ts +0 -1283
- package/dist/project-schema/v3.12.2.js +0 -7
- package/dist/project-schema/v3.12.3.d.ts +0 -1306
- package/dist/project-schema/v3.12.3.js +0 -7
- package/dist/project-schema/v3.13.0.d.ts +0 -1317
- package/dist/project-schema/v3.13.0.js +0 -7
- package/dist/project-schema/v3.13.1.d.ts +0 -1412
- package/dist/project-schema/v3.13.1.js +0 -7
- package/dist/project-schema/v3.14.0.d.ts +0 -1436
- package/dist/project-schema/v3.14.0.js +0 -7
- package/dist/project-schema/v3.15.0.d.ts +0 -1458
- package/dist/project-schema/v3.15.0.js +0 -7
- package/dist/project-schema/v3.16.0.d.ts +0 -1470
- package/dist/project-schema/v3.16.0.js +0 -7
- package/dist/project-schema/v3.17.0.d.ts +0 -1467
- package/dist/project-schema/v3.17.0.js +0 -7
- package/dist/project-schema/v3.17.1.d.ts +0 -1468
- package/dist/project-schema/v3.17.1.js +0 -7
- package/dist/project-schema/v3.18.0.d.ts +0 -1333
- package/dist/project-schema/v3.18.0.js +0 -7
- package/dist/project-schema/v3.18.1.d.ts +0 -1332
- package/dist/project-schema/v3.18.1.js +0 -7
- package/dist/project-schema/v3.18.2.d.ts +0 -1332
- package/dist/project-schema/v3.18.2.js +0 -7
- package/dist/project-schema/v3.19.0.d.ts +0 -1336
- package/dist/project-schema/v3.19.0.js +0 -7
- package/dist/project-schema/v3.2.0.d.ts +0 -632
- package/dist/project-schema/v3.2.0.js +0 -7
- package/dist/project-schema/v3.20.0.d.ts +0 -1336
- package/dist/project-schema/v3.20.0.js +0 -7
- package/dist/project-schema/v3.21.0.d.ts +0 -1338
- package/dist/project-schema/v3.21.0.js +0 -7
- package/dist/project-schema/v3.22.0.d.ts +0 -1344
- package/dist/project-schema/v3.22.0.js +0 -7
- package/dist/project-schema/v3.23.0.d.ts +0 -1376
- package/dist/project-schema/v3.23.0.js +0 -7
- package/dist/project-schema/v3.24.0.d.ts +0 -1364
- package/dist/project-schema/v3.24.0.js +0 -7
- package/dist/project-schema/v3.25.0.d.ts +0 -1363
- package/dist/project-schema/v3.25.0.js +0 -7
- package/dist/project-schema/v3.26.0.d.ts +0 -1388
- package/dist/project-schema/v3.26.0.js +0 -7
- package/dist/project-schema/v3.27.0.d.ts +0 -1397
- package/dist/project-schema/v3.27.0.js +0 -7
- package/dist/project-schema/v3.28.0.d.ts +0 -1416
- package/dist/project-schema/v3.28.0.js +0 -7
- package/dist/project-schema/v3.29.0.d.ts +0 -1423
- package/dist/project-schema/v3.29.0.js +0 -7
- package/dist/project-schema/v3.3.0.d.ts +0 -632
- package/dist/project-schema/v3.3.0.js +0 -7
- package/dist/project-schema/v3.30.0.d.ts +0 -1416
- package/dist/project-schema/v3.30.0.js +0 -7
- package/dist/project-schema/v3.31.0.d.ts +0 -1448
- package/dist/project-schema/v3.31.0.js +0 -7
- package/dist/project-schema/v3.32.0.d.ts +0 -1439
- package/dist/project-schema/v3.32.0.js +0 -7
- package/dist/project-schema/v3.33.0.d.ts +0 -1445
- package/dist/project-schema/v3.33.0.js +0 -7
- package/dist/project-schema/v3.34.0.d.ts +0 -1445
- package/dist/project-schema/v3.34.0.js +0 -7
- package/dist/project-schema/v3.35.0.d.ts +0 -1464
- package/dist/project-schema/v3.35.0.js +0 -7
- package/dist/project-schema/v3.36.0.d.ts +0 -1470
- package/dist/project-schema/v3.36.0.js +0 -7
- package/dist/project-schema/v3.37.0.d.ts +0 -1522
- package/dist/project-schema/v3.37.0.js +0 -7
- package/dist/project-schema/v3.38.0.d.ts +0 -1522
- package/dist/project-schema/v3.38.0.js +0 -7
- package/dist/project-schema/v3.39.0.d.ts +0 -1529
- package/dist/project-schema/v3.39.0.js +0 -7
- package/dist/project-schema/v3.4.0.d.ts +0 -624
- package/dist/project-schema/v3.4.0.js +0 -7
- package/dist/project-schema/v3.40.0.d.ts +0 -1530
- package/dist/project-schema/v3.40.0.js +0 -7
- package/dist/project-schema/v3.41.0.d.ts +0 -1530
- package/dist/project-schema/v3.41.0.js +0 -7
- package/dist/project-schema/v3.42.0.d.ts +0 -1534
- package/dist/project-schema/v3.42.0.js +0 -7
- package/dist/project-schema/v3.43.0.d.ts +0 -1536
- package/dist/project-schema/v3.43.0.js +0 -7
- package/dist/project-schema/v3.44.0.d.ts +0 -1621
- package/dist/project-schema/v3.44.0.js +0 -7
- package/dist/project-schema/v3.45.0.d.ts +0 -1650
- package/dist/project-schema/v3.45.0.js +0 -7
- package/dist/project-schema/v3.46.0.d.ts +0 -1703
- package/dist/project-schema/v3.46.0.js +0 -7
- package/dist/project-schema/v3.47.0.d.ts +0 -1736
- package/dist/project-schema/v3.47.0.js +0 -7
- package/dist/project-schema/v3.48.0.d.ts +0 -2208
- package/dist/project-schema/v3.48.0.js +0 -7
- package/dist/project-schema/v3.49.0.d.ts +0 -2217
- package/dist/project-schema/v3.49.0.js +0 -7
- package/dist/project-schema/v3.5.0.d.ts +0 -649
- package/dist/project-schema/v3.5.0.js +0 -7
- package/dist/project-schema/v3.5.1.d.ts +0 -649
- package/dist/project-schema/v3.5.1.js +0 -7
- package/dist/project-schema/v3.50.0.d.ts +0 -2269
- package/dist/project-schema/v3.50.0.js +0 -7
- package/dist/project-schema/v3.51.0.d.ts +0 -2269
- package/dist/project-schema/v3.51.0.js +0 -7
- package/dist/project-schema/v3.52.0.d.ts +0 -2269
- package/dist/project-schema/v3.52.0.js +0 -7
- package/dist/project-schema/v3.53.0.d.ts +0 -2350
- package/dist/project-schema/v3.53.0.js +0 -7
- package/dist/project-schema/v3.54.0.d.ts +0 -2369
- package/dist/project-schema/v3.54.0.js +0 -7
- package/dist/project-schema/v3.55.0.d.ts +0 -2369
- package/dist/project-schema/v3.55.0.js +0 -7
- package/dist/project-schema/v3.56.0.d.ts +0 -2405
- package/dist/project-schema/v3.56.0.js +0 -7
- package/dist/project-schema/v3.57.0.d.ts +0 -2601
- package/dist/project-schema/v3.57.0.js +0 -7
- package/dist/project-schema/v3.58.0.d.ts +0 -2601
- package/dist/project-schema/v3.58.0.js +0 -7
- package/dist/project-schema/v3.59.0.d.ts +0 -2619
- package/dist/project-schema/v3.59.0.js +0 -7
- package/dist/project-schema/v3.6.0.d.ts +0 -658
- package/dist/project-schema/v3.6.0.js +0 -7
- package/dist/project-schema/v3.7.0.d.ts +0 -961
- package/dist/project-schema/v3.7.0.js +0 -7
- package/dist/project-schema/v3.8.0.d.ts +0 -979
- package/dist/project-schema/v3.8.0.js +0 -7
- package/dist/project-schema/v3.9.0.d.ts +0 -1178
- package/dist/project-schema/v3.9.0.js +0 -7
- package/dist/project-schema/v4.0.0.d.ts +0 -1328
- package/dist/project-schema/v4.0.0.js +0 -7
- package/dist/refs.d.ts +0 -218
- package/dist/refs.js +0 -616
- package/dist/relationships.d.ts +0 -40
- package/dist/relationships.js +0 -302
- package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
- package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
- package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
- package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-chat-args.js +0 -14
- package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
- package/dist/resolvers/ai/agent-chat-payload.js +0 -26
- package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
- package/dist/resolvers/ai/agent-chat-response.js +0 -21
- package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-generate-args.js +0 -14
- package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
- package/dist/resolvers/ai/agent-message-input.js +0 -39
- package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
- package/dist/resolvers/ai/agent-message-output.js +0 -77
- package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
- package/dist/resolvers/ai/agent-message-payload.js +0 -156
- package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
- package/dist/resolvers/ai/agent-run-mode.js +0 -9
- package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
- package/dist/resolvers/ai/agent-session-payload.js +0 -175
- package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
- package/dist/resolvers/ai/create-agent-session-response.js +0 -9
- package/dist/resolvers/ai/embedding-search.d.ts +0 -54
- package/dist/resolvers/ai/embedding-search.js +0 -46
- package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/get-agent-message-args.js +0 -13
- package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
- package/dist/resolvers/ai/get-agent-message-response.js +0 -63
- package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
- package/dist/resolvers/ai/inspect-agent-args.js +0 -13
- package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
- package/dist/resolvers/ai/inspect-agent-response.js +0 -48
- package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
- package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
- package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
- package/dist/resolvers/ai/send-agent-message-args.js +0 -36
- package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
- package/dist/resolvers/ai/send-agent-message-response.js +0 -51
- package/dist/resolvers/ai/types.d.ts +0 -6
- package/dist/resolvers/ai/types.js +0 -1
- package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
- package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
- package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
- package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
- package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
- package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
- package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
- package/dist/resolvers/takeshape/assets/asset.js +0 -107
- package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
- package/dist/resolvers/takeshape/assets/constants.js +0 -11
- package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
- package/dist/resolvers/takeshape/builtins/constants.js +0 -1
- package/dist/runtime-schema.d.ts +0 -6
- package/dist/runtime-schema.js +0 -85
- package/dist/scalars.d.ts +0 -2
- package/dist/scalars.js +0 -4
- package/dist/schema-transform.d.ts +0 -19
- package/dist/schema-transform.js +0 -74
- package/dist/schema-util.d.ts +0 -266
- package/dist/schema-util.js +0 -1127
- package/dist/schemas/auth-schemas.json +0 -374
- package/dist/schemas/index.d.ts +0 -4
- package/dist/schemas/index.js +0 -170
- package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
- package/dist/schemas/project-schema/latest.d.ts +0 -180
- package/dist/schemas/project-schema/latest.js +0 -11
- package/dist/schemas/project-schema/latest.json +0 -4846
- package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
- package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
- package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
- package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
- package/dist/schemas/project-schema/v1.0.0.json +0 -321
- package/dist/schemas/project-schema/v3.0.0.json +0 -414
- package/dist/schemas/project-schema/v3.1.0.json +0 -572
- package/dist/schemas/project-schema/v3.10.0.json +0 -2097
- package/dist/schemas/project-schema/v3.11.0.json +0 -2141
- package/dist/schemas/project-schema/v3.12.0.json +0 -2144
- package/dist/schemas/project-schema/v3.12.1.json +0 -2282
- package/dist/schemas/project-schema/v3.12.2.json +0 -2304
- package/dist/schemas/project-schema/v3.12.3.json +0 -2357
- package/dist/schemas/project-schema/v3.13.0.json +0 -2377
- package/dist/schemas/project-schema/v3.14.0.json +0 -2385
- package/dist/schemas/project-schema/v3.15.0.json +0 -2365
- package/dist/schemas/project-schema/v3.16.0.json +0 -2373
- package/dist/schemas/project-schema/v3.17.0.json +0 -2378
- package/dist/schemas/project-schema/v3.17.1.json +0 -2380
- package/dist/schemas/project-schema/v3.18.0.json +0 -2356
- package/dist/schemas/project-schema/v3.18.1.json +0 -2357
- package/dist/schemas/project-schema/v3.18.2.json +0 -2357
- package/dist/schemas/project-schema/v3.19.0.json +0 -2369
- package/dist/schemas/project-schema/v3.2.0.json +0 -580
- package/dist/schemas/project-schema/v3.20.0.json +0 -2369
- package/dist/schemas/project-schema/v3.21.0.json +0 -2376
- package/dist/schemas/project-schema/v3.22.0.json +0 -2381
- package/dist/schemas/project-schema/v3.23.0.json +0 -2456
- package/dist/schemas/project-schema/v3.24.0.json +0 -2556
- package/dist/schemas/project-schema/v3.25.0.json +0 -2552
- package/dist/schemas/project-schema/v3.26.0.json +0 -2599
- package/dist/schemas/project-schema/v3.27.0.json +0 -2611
- package/dist/schemas/project-schema/v3.28.0.json +0 -2656
- package/dist/schemas/project-schema/v3.29.0.json +0 -2670
- package/dist/schemas/project-schema/v3.3.0.json +0 -581
- package/dist/schemas/project-schema/v3.30.0.json +0 -2656
- package/dist/schemas/project-schema/v3.31.0.json +0 -2714
- package/dist/schemas/project-schema/v3.32.0.json +0 -2708
- package/dist/schemas/project-schema/v3.33.0.json +0 -2715
- package/dist/schemas/project-schema/v3.34.0.json +0 -2715
- package/dist/schemas/project-schema/v3.35.0.json +0 -2748
- package/dist/schemas/project-schema/v3.36.0.json +0 -2756
- package/dist/schemas/project-schema/v3.37.0.json +0 -2821
- package/dist/schemas/project-schema/v3.38.0.json +0 -2819
- package/dist/schemas/project-schema/v3.39.0.json +0 -2827
- package/dist/schemas/project-schema/v3.4.0.json +0 -571
- package/dist/schemas/project-schema/v3.40.0.json +0 -2830
- package/dist/schemas/project-schema/v3.41.0.json +0 -2830
- package/dist/schemas/project-schema/v3.42.0.json +0 -2835
- package/dist/schemas/project-schema/v3.43.0.json +0 -2841
- package/dist/schemas/project-schema/v3.44.0.json +0 -3013
- package/dist/schemas/project-schema/v3.45.0.json +0 -3064
- package/dist/schemas/project-schema/v3.46.0.json +0 -3136
- package/dist/schemas/project-schema/v3.47.0.json +0 -3189
- package/dist/schemas/project-schema/v3.48.0.json +0 -3196
- package/dist/schemas/project-schema/v3.49.0.json +0 -3239
- package/dist/schemas/project-schema/v3.5.0.json +0 -571
- package/dist/schemas/project-schema/v3.5.1.json +0 -571
- package/dist/schemas/project-schema/v3.50.0.json +0 -3320
- package/dist/schemas/project-schema/v3.51.0.json +0 -3326
- package/dist/schemas/project-schema/v3.52.0.json +0 -3326
- package/dist/schemas/project-schema/v3.53.0.json +0 -3476
- package/dist/schemas/project-schema/v3.54.0.json +0 -3512
- package/dist/schemas/project-schema/v3.55.0.json +0 -3515
- package/dist/schemas/project-schema/v3.56.0.json +0 -3530
- package/dist/schemas/project-schema/v3.57.0.json +0 -4815
- package/dist/schemas/project-schema/v3.58.0.json +0 -4815
- package/dist/schemas/project-schema/v3.59.0.json +0 -4846
- package/dist/schemas/project-schema/v3.6.0.json +0 -587
- package/dist/schemas/project-schema/v3.7.0.json +0 -587
- package/dist/schemas/project-schema/v3.8.0.json +0 -604
- package/dist/schemas/project-schema/v3.9.0.json +0 -604
- package/dist/schemas/project-schema/v4.0.0.json +0 -2316
- package/dist/schemas/project-schema.json +0 -214
- package/dist/service-dependencies.d.ts +0 -13
- package/dist/service-dependencies.js +0 -165
- package/dist/services/services.d.ts +0 -31
- package/dist/services/services.js +0 -145
- package/dist/services/types.d.ts +0 -11
- package/dist/services/types.js +0 -1
- package/dist/services/util.d.ts +0 -16
- package/dist/services/util.js +0 -36
- package/dist/shape-paths.d.ts +0 -7
- package/dist/shape-paths.js +0 -28
- package/dist/taxonomies.d.ts +0 -15
- package/dist/taxonomies.js +0 -24
- package/dist/template-shapes/index.d.ts +0 -7
- package/dist/template-shapes/index.js +0 -33
- package/dist/template-shapes/names.d.ts +0 -10
- package/dist/template-shapes/names.js +0 -21
- package/dist/template-shapes/templates.d.ts +0 -32
- package/dist/template-shapes/templates.js +0 -316
- package/dist/template-shapes/types.d.ts +0 -15
- package/dist/template-shapes/types.js +0 -7
- package/dist/template-shapes/where.d.ts +0 -37
- package/dist/template-shapes/where.js +0 -400
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -2
- package/dist/types/transforms.d.ts +0 -15
- package/dist/types/transforms.js +0 -1
- package/dist/types/types.d.ts +0 -200
- package/dist/types/types.js +0 -10
- package/dist/types/utils.d.ts +0 -112
- package/dist/types/utils.js +0 -269
- package/dist/unions.d.ts +0 -14
- package/dist/unions.js +0 -77
- package/dist/util/ai-tools.d.ts +0 -2
- package/dist/util/ai-tools.js +0 -14
- package/dist/util/api-indexing.d.ts +0 -9
- package/dist/util/api-indexing.js +0 -57
- package/dist/util/coerce-value.d.ts +0 -9
- package/dist/util/coerce-value.js +0 -32
- package/dist/util/detect-cycles.d.ts +0 -7
- package/dist/util/detect-cycles.js +0 -45
- package/dist/util/expressions.d.ts +0 -34
- package/dist/util/expressions.js +0 -350
- package/dist/util/find-shape-at-path.d.ts +0 -21
- package/dist/util/find-shape-at-path.js +0 -53
- package/dist/util/form-config.d.ts +0 -11
- package/dist/util/form-config.js +0 -62
- package/dist/util/get-conflicting-properties.d.ts +0 -6
- package/dist/util/get-conflicting-properties.js +0 -55
- package/dist/util/get-return-shape.d.ts +0 -4
- package/dist/util/get-return-shape.js +0 -30
- package/dist/util/has-arg.d.ts +0 -6
- package/dist/util/has-arg.js +0 -25
- package/dist/util/is-asset-property.d.ts +0 -3
- package/dist/util/is-asset-property.js +0 -11
- package/dist/util/mcp.d.ts +0 -8
- package/dist/util/mcp.js +0 -21
- package/dist/util/merge.d.ts +0 -15
- package/dist/util/merge.js +0 -254
- package/dist/util/patch-schema.d.ts +0 -8
- package/dist/util/patch-schema.js +0 -51
- package/dist/util/query-field-path.d.ts +0 -9
- package/dist/util/query-field-path.js +0 -23
- package/dist/util/shapes.d.ts +0 -5
- package/dist/util/shapes.js +0 -22
- package/dist/validate/ai.d.ts +0 -6
- package/dist/validate/ai.js +0 -183
- package/dist/validate/errors.d.ts +0 -3
- package/dist/validate/errors.js +0 -20
- package/dist/validate/types.d.ts +0 -1
- package/dist/validate/types.js +0 -1
- package/dist/validate/util.d.ts +0 -3
- package/dist/validate/util.js +0 -28
- package/dist/validate/validate.d.ts +0 -80
- package/dist/validate/validate.js +0 -1058
- package/dist/versions.d.ts +0 -4
- package/dist/versions.js +0 -4
- package/dist/workflows.d.ts +0 -14
- package/dist/workflows.js +0 -66
|
@@ -1,2756 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://schema.takeshape.io/project-schema/v3.36.0#",
|
|
4
|
-
"title": "Project Schema JSON",
|
|
5
|
-
"definitions": {
|
|
6
|
-
"schemaArray": {
|
|
7
|
-
"title": "Schema Array",
|
|
8
|
-
"type": "array",
|
|
9
|
-
"minItems": 1,
|
|
10
|
-
"items": {
|
|
11
|
-
"$ref": "#/definitions/propertySchema"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"nonNegativeInteger": {
|
|
15
|
-
"title": "Non Negative Integer",
|
|
16
|
-
"type": "integer",
|
|
17
|
-
"minimum": 0
|
|
18
|
-
},
|
|
19
|
-
"nonNegativeIntegerDefault0": {
|
|
20
|
-
"title": "Non Negative Integer Default 0",
|
|
21
|
-
"allOf": [
|
|
22
|
-
{
|
|
23
|
-
"$ref": "#/definitions/nonNegativeInteger"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"default": 0
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"simpleTypes": {
|
|
31
|
-
"title": "Simple Types",
|
|
32
|
-
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
|
33
|
-
},
|
|
34
|
-
"stringArray": {
|
|
35
|
-
"title": "String Array",
|
|
36
|
-
"type": "array",
|
|
37
|
-
"items": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"uniqueItems": true,
|
|
41
|
-
"default": []
|
|
42
|
-
},
|
|
43
|
-
"backreference": {
|
|
44
|
-
"title": "Back Reference",
|
|
45
|
-
"description": "A configuration object for a reverse reference in a relationship.",
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"enabled": {
|
|
49
|
-
"type": "boolean"
|
|
50
|
-
},
|
|
51
|
-
"name": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"additionalProperties": false,
|
|
57
|
-
"required": ["enabled"]
|
|
58
|
-
},
|
|
59
|
-
"mappingString": {
|
|
60
|
-
"title": "Mapping String",
|
|
61
|
-
"type": "string",
|
|
62
|
-
"pattern": "^[\\w-]+(?::[\\w-]+)+(?:\\.[\\w%-]+)+$"
|
|
63
|
-
},
|
|
64
|
-
"fieldMapping": {
|
|
65
|
-
"title": "Field Mapping",
|
|
66
|
-
"oneOf": [
|
|
67
|
-
{
|
|
68
|
-
"$ref": "#/definitions/mappingString"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"type": "array",
|
|
72
|
-
"items": {
|
|
73
|
-
"$ref": "#/definitions/mappingString"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
"refSchema": {
|
|
79
|
-
"title": "Ref Schema",
|
|
80
|
-
"type": "object",
|
|
81
|
-
"properties": {
|
|
82
|
-
"@ref": {
|
|
83
|
-
"$ref": "#/definitions/ref"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": ["@ref"]
|
|
87
|
-
},
|
|
88
|
-
"refSchemaLegacy": {
|
|
89
|
-
"title": "Ref Schema Legacy",
|
|
90
|
-
"type": "object",
|
|
91
|
-
"properties": {
|
|
92
|
-
"$ref": {
|
|
93
|
-
"$ref": "#/definitions/ref"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"required": ["$ref"]
|
|
97
|
-
},
|
|
98
|
-
"shapeSchemaEnum": {
|
|
99
|
-
"title": "Shape Schema Enum",
|
|
100
|
-
"type": "object",
|
|
101
|
-
"properties": {
|
|
102
|
-
"enum": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": {
|
|
105
|
-
"type": "string"
|
|
106
|
-
},
|
|
107
|
-
"minItems": 1
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"additionalProperties": false,
|
|
111
|
-
"required": ["enum"]
|
|
112
|
-
},
|
|
113
|
-
"objectSchema": {
|
|
114
|
-
"title": "Object Schema",
|
|
115
|
-
"type": "object",
|
|
116
|
-
"allOf": [
|
|
117
|
-
{
|
|
118
|
-
"$ref": "#/definitions/propertySchema"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"properties": {
|
|
122
|
-
"type": {
|
|
123
|
-
"type": "string",
|
|
124
|
-
"const": "object"
|
|
125
|
-
},
|
|
126
|
-
"properties": {
|
|
127
|
-
"type": "object",
|
|
128
|
-
"additionalProperties": {
|
|
129
|
-
"$ref": "#/definitions/propertySchema"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"required": ["type", "properties"]
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
"returnShapeArraySchema": {
|
|
138
|
-
"title": "Return Shape Array Schema",
|
|
139
|
-
"type": "object",
|
|
140
|
-
"allOf": [
|
|
141
|
-
{
|
|
142
|
-
"$ref": "#/definitions/propertySchema"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"properties": {
|
|
146
|
-
"type": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"const": "array"
|
|
149
|
-
},
|
|
150
|
-
"items": {
|
|
151
|
-
"oneOf": [
|
|
152
|
-
{
|
|
153
|
-
"$ref": "#/definitions/refSchema"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"type": "object",
|
|
157
|
-
"properties": {
|
|
158
|
-
"type": {
|
|
159
|
-
"enum": ["boolean", "integer", "number", "string", "object"]
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"required": ["type"]
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"required": ["type", "items"]
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"objectOrRefArray": {
|
|
172
|
-
"title": "ObjectOrRefArray",
|
|
173
|
-
"type": "array",
|
|
174
|
-
"items": {
|
|
175
|
-
"oneOf": [
|
|
176
|
-
{
|
|
177
|
-
"$ref": "#/definitions/refSchema"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"$ref": "#/definitions/refSchemaLegacy"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"$ref": "#/definitions/objectSchema"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"unevaluatedProperties": true
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"shapeSchemaAllOf": {
|
|
190
|
-
"title": "Shape Schema All Of",
|
|
191
|
-
"type": "object",
|
|
192
|
-
"properties": {
|
|
193
|
-
"allOf": {
|
|
194
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"required": ["allOf"],
|
|
198
|
-
"additionalProperties": false
|
|
199
|
-
},
|
|
200
|
-
"allOfSchema": {
|
|
201
|
-
"title": "AllOfSchema",
|
|
202
|
-
"allOf": [
|
|
203
|
-
{
|
|
204
|
-
"$ref": "#/definitions/propertySchema"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"type": "object",
|
|
208
|
-
"properties": {
|
|
209
|
-
"allOf": {
|
|
210
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": ["allOf"]
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
|
-
"shapeSchemaExtends": {
|
|
218
|
-
"title": "ShapeSchemaExtends",
|
|
219
|
-
"type": "object",
|
|
220
|
-
"properties": {
|
|
221
|
-
"extends": {
|
|
222
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"required": ["extends"],
|
|
226
|
-
"additionalProperties": false
|
|
227
|
-
},
|
|
228
|
-
"extendsSchema": {
|
|
229
|
-
"title": "ExtendsSchema",
|
|
230
|
-
"allOf": [
|
|
231
|
-
{
|
|
232
|
-
"$ref": "#/definitions/propertySchema"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"type": "object",
|
|
236
|
-
"properties": {
|
|
237
|
-
"extends": {
|
|
238
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
"required": ["extends"]
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
},
|
|
245
|
-
"shapeSchemaOneOf": {
|
|
246
|
-
"title": "Shape Schema One Of",
|
|
247
|
-
"type": "object",
|
|
248
|
-
"properties": {
|
|
249
|
-
"oneOf": {
|
|
250
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"required": ["oneOf"],
|
|
254
|
-
"additionalProperties": false
|
|
255
|
-
},
|
|
256
|
-
"oneOfSchema": {
|
|
257
|
-
"title": "OneOfSchema",
|
|
258
|
-
"allOf": [
|
|
259
|
-
{
|
|
260
|
-
"$ref": "#/definitions/propertySchema"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"type": "object",
|
|
264
|
-
"properties": {
|
|
265
|
-
"oneOf": {
|
|
266
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"required": ["oneOf"],
|
|
270
|
-
"additionalProperties": false
|
|
271
|
-
}
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
"shapeSchemaAny": {
|
|
275
|
-
"type": "object",
|
|
276
|
-
"title": "ShapeSchemaAny",
|
|
277
|
-
"additionalProperties": false
|
|
278
|
-
},
|
|
279
|
-
"shapeSchema": {
|
|
280
|
-
"title": "Shape Schema",
|
|
281
|
-
"type": "object",
|
|
282
|
-
"oneOf": [
|
|
283
|
-
{
|
|
284
|
-
"$ref": "#/definitions/shapeSchemaAllOf"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"$ref": "#/definitions/shapeSchemaExtends"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"$ref": "#/definitions/shapeSchemaOneOf"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"$ref": "#/definitions/shapeSchemaEnum"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"$ref": "#/definitions/objectSchema"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"$ref": "#/definitions/shapeSchemaAny"
|
|
300
|
-
}
|
|
301
|
-
]
|
|
302
|
-
},
|
|
303
|
-
"queryMap": {
|
|
304
|
-
"title": "Query Map",
|
|
305
|
-
"type": "object",
|
|
306
|
-
"patternProperties": {
|
|
307
|
-
"^[0-9A-Za-z_]+$": {
|
|
308
|
-
"$ref": "#/definitions/query"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"additionalProperties": false
|
|
312
|
-
},
|
|
313
|
-
"args": {
|
|
314
|
-
"title": "Args",
|
|
315
|
-
"oneOf": [
|
|
316
|
-
{
|
|
317
|
-
"type": "string"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"$ref": "#/definitions/objectSchema"
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
},
|
|
324
|
-
"returnShape": {
|
|
325
|
-
"title": "Return Shape",
|
|
326
|
-
"oneOf": [
|
|
327
|
-
{
|
|
328
|
-
"type": "string"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"$ref": "#/definitions/returnShapeArraySchema"
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
"directiveConfigItem": {
|
|
336
|
-
"title": "Directive Config Item",
|
|
337
|
-
"description": "A tuple with a string directive name, and options to pass to the directive",
|
|
338
|
-
"type": "array",
|
|
339
|
-
"items": [
|
|
340
|
-
{
|
|
341
|
-
"title": "Directive Name",
|
|
342
|
-
"type": "string"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"title": "Directive Options",
|
|
346
|
-
"type": "object",
|
|
347
|
-
"propertyNames": {
|
|
348
|
-
"pattern": "[0-9A-Za-z_-]+"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
]
|
|
352
|
-
},
|
|
353
|
-
"parameterSerializeStyleOptions": {
|
|
354
|
-
"title": "Parameter Serialize Style Options",
|
|
355
|
-
"description": "All possible options for the more specific ParameterSerializeStyleOptions types.",
|
|
356
|
-
"type": "object",
|
|
357
|
-
"properties": {
|
|
358
|
-
"style": {
|
|
359
|
-
"type": "string",
|
|
360
|
-
"enum": ["simple", "label", "matrix", "form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
|
|
361
|
-
},
|
|
362
|
-
"explode": {
|
|
363
|
-
"type": "boolean"
|
|
364
|
-
},
|
|
365
|
-
"allowEmptyValue": {
|
|
366
|
-
"type": "boolean"
|
|
367
|
-
},
|
|
368
|
-
"allowReserved": {
|
|
369
|
-
"description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
|
|
370
|
-
"type": "boolean"
|
|
371
|
-
},
|
|
372
|
-
"skipEncoding": {
|
|
373
|
-
"type": "boolean"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
"required": ["style"],
|
|
377
|
-
"additionalProperties": false
|
|
378
|
-
},
|
|
379
|
-
"parameterSerializeStyleOptionsForPathParams": {
|
|
380
|
-
"title": "Parameter Serialize Style Options For Path Params",
|
|
381
|
-
"description": "Options to be passed to the serialization routine.",
|
|
382
|
-
"type": "object",
|
|
383
|
-
"properties": {
|
|
384
|
-
"style": {
|
|
385
|
-
"type": "string",
|
|
386
|
-
"enum": ["simple", "label", "matrix", "none"]
|
|
387
|
-
},
|
|
388
|
-
"explode": {
|
|
389
|
-
"type": "boolean"
|
|
390
|
-
},
|
|
391
|
-
"allowEmptyValue": {
|
|
392
|
-
"type": "boolean"
|
|
393
|
-
},
|
|
394
|
-
"allowReserved": {
|
|
395
|
-
"description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
|
|
396
|
-
"type": "boolean"
|
|
397
|
-
},
|
|
398
|
-
"skipEncoding": {
|
|
399
|
-
"type": "boolean"
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"required": ["style"],
|
|
403
|
-
"additionalProperties": false
|
|
404
|
-
},
|
|
405
|
-
"parameterSerializeStyleOptionsForSearchParams": {
|
|
406
|
-
"title": "Parameter Serialize Style Options For Search Params",
|
|
407
|
-
"description": "Options to be passed to the serialization routine.",
|
|
408
|
-
"type": "object",
|
|
409
|
-
"properties": {
|
|
410
|
-
"style": {
|
|
411
|
-
"type": "string",
|
|
412
|
-
"enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
|
|
413
|
-
},
|
|
414
|
-
"explode": {
|
|
415
|
-
"type": "boolean"
|
|
416
|
-
},
|
|
417
|
-
"allowEmptyValue": {
|
|
418
|
-
"type": "boolean"
|
|
419
|
-
},
|
|
420
|
-
"allowReserved": {
|
|
421
|
-
"description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
|
|
422
|
-
"type": "boolean"
|
|
423
|
-
},
|
|
424
|
-
"skipEncoding": {
|
|
425
|
-
"type": "boolean"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
"required": ["style"],
|
|
429
|
-
"additionalProperties": false
|
|
430
|
-
},
|
|
431
|
-
"parameterSerializeStyleOptionsForHeaders": {
|
|
432
|
-
"title": "Parameter Serialize Style Options For Headers",
|
|
433
|
-
"description": "Options to be passed to the serialization routine.",
|
|
434
|
-
"type": "object",
|
|
435
|
-
"properties": {
|
|
436
|
-
"style": {
|
|
437
|
-
"type": "string",
|
|
438
|
-
"enum": ["simple", "none"]
|
|
439
|
-
},
|
|
440
|
-
"explode": {
|
|
441
|
-
"type": "boolean"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
"required": ["style"],
|
|
445
|
-
"additionalProperties": false
|
|
446
|
-
},
|
|
447
|
-
"parameterSerializeContentOptions": {
|
|
448
|
-
"title": "Parameter Serialize Content Options",
|
|
449
|
-
"description": "Options to be passed to the serialization routine.",
|
|
450
|
-
"type": "object",
|
|
451
|
-
"properties": {
|
|
452
|
-
"contentType": {
|
|
453
|
-
"type": "string"
|
|
454
|
-
},
|
|
455
|
-
"allowReserved": {
|
|
456
|
-
"description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
|
|
457
|
-
"type": "boolean"
|
|
458
|
-
},
|
|
459
|
-
"skipEncoding": {
|
|
460
|
-
"type": "boolean"
|
|
461
|
-
},
|
|
462
|
-
"options": {
|
|
463
|
-
"description": "Options to be passed directly to the content serializer library. Valid options depend upon your contentType.",
|
|
464
|
-
"type": "object"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
"required": ["contentType"],
|
|
468
|
-
"additionalProperties": false
|
|
469
|
-
},
|
|
470
|
-
"parameterSerializeOptions": {
|
|
471
|
-
"title": "Parameter Serialize Options",
|
|
472
|
-
"description": "Options to be passed to the serialization routine.",
|
|
473
|
-
"type": "object",
|
|
474
|
-
"oneOf": [
|
|
475
|
-
{
|
|
476
|
-
"$ref": "#/definitions/parameterSerializeStyleOptions"
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
480
|
-
}
|
|
481
|
-
]
|
|
482
|
-
},
|
|
483
|
-
"parameterSerializeConfig": {
|
|
484
|
-
"title": "Parameter Serialize Config",
|
|
485
|
-
"description": "All possible options for the more specific ParameterSerializeConfig types.",
|
|
486
|
-
"type": "object",
|
|
487
|
-
"properties": {
|
|
488
|
-
"content": {
|
|
489
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
490
|
-
},
|
|
491
|
-
"defaults": {
|
|
492
|
-
"$ref": "#/definitions/parameterSerializeOptions"
|
|
493
|
-
},
|
|
494
|
-
"paths": {
|
|
495
|
-
"type": "object",
|
|
496
|
-
"patternProperties": {
|
|
497
|
-
"^[^\\n\\r]*$": {
|
|
498
|
-
"$ref": "#/definitions/parameterSerializeOptions"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"additionalProperties": false
|
|
504
|
-
},
|
|
505
|
-
"parameterSerializeConfigForBody": {
|
|
506
|
-
"title": "Parameter Serialize Config For Body",
|
|
507
|
-
"description": "Top-level paths to use serialization options for.",
|
|
508
|
-
"type": "object",
|
|
509
|
-
"properties": {
|
|
510
|
-
"content": {
|
|
511
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"additionalProperties": false
|
|
515
|
-
},
|
|
516
|
-
"parameterSerializeConfigForPathParams": {
|
|
517
|
-
"title": "Parameter Serialize Config For Path Params",
|
|
518
|
-
"description": "Top-level paths to use path params serialization options for.",
|
|
519
|
-
"type": "object",
|
|
520
|
-
"properties": {
|
|
521
|
-
"template": {
|
|
522
|
-
"description": "For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'",
|
|
523
|
-
"type": "string"
|
|
524
|
-
},
|
|
525
|
-
"defaults": {
|
|
526
|
-
"oneOf": [
|
|
527
|
-
{
|
|
528
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
532
|
-
}
|
|
533
|
-
]
|
|
534
|
-
},
|
|
535
|
-
"paths": {
|
|
536
|
-
"type": "object",
|
|
537
|
-
"patternProperties": {
|
|
538
|
-
"^[^\\n\\r]*$": {
|
|
539
|
-
"oneOf": [
|
|
540
|
-
{
|
|
541
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
545
|
-
}
|
|
546
|
-
]
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
"required": ["template"],
|
|
552
|
-
"additionalProperties": false
|
|
553
|
-
},
|
|
554
|
-
"parameterSerializeConfigForSearchParams": {
|
|
555
|
-
"title": "Parameter Serialize Config For Search Params",
|
|
556
|
-
"description": "Top-level paths to use search params serialization options for.",
|
|
557
|
-
"type": "object",
|
|
558
|
-
"properties": {
|
|
559
|
-
"defaults": {
|
|
560
|
-
"oneOf": [
|
|
561
|
-
{
|
|
562
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
566
|
-
}
|
|
567
|
-
]
|
|
568
|
-
},
|
|
569
|
-
"paths": {
|
|
570
|
-
"type": "object",
|
|
571
|
-
"patternProperties": {
|
|
572
|
-
"^[^\\n\\r]*$": {
|
|
573
|
-
"oneOf": [
|
|
574
|
-
{
|
|
575
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
579
|
-
}
|
|
580
|
-
]
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
"additionalProperties": false
|
|
586
|
-
},
|
|
587
|
-
"parameterSerializeConfigForHeaders": {
|
|
588
|
-
"title": "Parameter Serialize Config For Headers",
|
|
589
|
-
"description": "Top-level paths to use headers serialization options for.",
|
|
590
|
-
"type": "object",
|
|
591
|
-
"properties": {
|
|
592
|
-
"defaults": {
|
|
593
|
-
"oneOf": [
|
|
594
|
-
{
|
|
595
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
599
|
-
}
|
|
600
|
-
]
|
|
601
|
-
},
|
|
602
|
-
"paths": {
|
|
603
|
-
"type": "object",
|
|
604
|
-
"patternProperties": {
|
|
605
|
-
"^[^\\n\\r]*$": {
|
|
606
|
-
"oneOf": [
|
|
607
|
-
{
|
|
608
|
-
"$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"$ref": "#/definitions/parameterSerializeContentOptions"
|
|
612
|
-
}
|
|
613
|
-
]
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
"additionalProperties": false
|
|
619
|
-
},
|
|
620
|
-
"parameterOpNested": {
|
|
621
|
-
"title": "Parameter Op Nested",
|
|
622
|
-
"description": "An object describing an operation to generate a parameter, using a nested OpList.",
|
|
623
|
-
"type": "object",
|
|
624
|
-
"properties": {
|
|
625
|
-
"path": {
|
|
626
|
-
"description": "A path to the parameter for this operation.",
|
|
627
|
-
"type": "string",
|
|
628
|
-
"minLength": 1,
|
|
629
|
-
"pattern": "^[^\\n\\r]*$"
|
|
630
|
-
},
|
|
631
|
-
"op": {
|
|
632
|
-
"description": "A mode for this parameter's operation.",
|
|
633
|
-
"type": "string",
|
|
634
|
-
"enum": ["set", "concat", "extend", "remove"]
|
|
635
|
-
},
|
|
636
|
-
"ops": {
|
|
637
|
-
"description": "A nested op list.",
|
|
638
|
-
"$ref": "#/definitions/parameterOpList"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
"required": ["path", "ops"],
|
|
642
|
-
"additionalProperties": false
|
|
643
|
-
},
|
|
644
|
-
"parameterOpValue": {
|
|
645
|
-
"title": "Parameter Op Value",
|
|
646
|
-
"description": "An object describing an operation to generate a parameter using a value.",
|
|
647
|
-
"type": "object",
|
|
648
|
-
"properties": {
|
|
649
|
-
"path": {
|
|
650
|
-
"description": "A path to the parameter for this operation.",
|
|
651
|
-
"type": "string",
|
|
652
|
-
"minLength": 1,
|
|
653
|
-
"pattern": "^[^\\n\\r]*$"
|
|
654
|
-
},
|
|
655
|
-
"op": {
|
|
656
|
-
"description": "A mode for this parameter's operation.",
|
|
657
|
-
"type": "string",
|
|
658
|
-
"enum": ["set", "concat", "extend", "remove"]
|
|
659
|
-
},
|
|
660
|
-
"value": {
|
|
661
|
-
"description": "A value to set directly at this path.",
|
|
662
|
-
"type": ["number", "string", "boolean", "object", "array", "null"]
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"required": ["path", "value"],
|
|
666
|
-
"additionalProperties": false
|
|
667
|
-
},
|
|
668
|
-
"parameterOpMapping": {
|
|
669
|
-
"title": "Parameter Op Mapping",
|
|
670
|
-
"description": "An object describing an operation to generate a parameter using a mapping.",
|
|
671
|
-
"type": "object",
|
|
672
|
-
"properties": {
|
|
673
|
-
"path": {
|
|
674
|
-
"description": "A path to the parameter for this operation.",
|
|
675
|
-
"type": "string",
|
|
676
|
-
"minLength": 1,
|
|
677
|
-
"pattern": "^[^\\n\\r]*$"
|
|
678
|
-
},
|
|
679
|
-
"op": {
|
|
680
|
-
"description": "A mode for this parameter's operation.",
|
|
681
|
-
"type": "string",
|
|
682
|
-
"enum": ["set", "concat", "extend", "remove"]
|
|
683
|
-
},
|
|
684
|
-
"mapping": {
|
|
685
|
-
"description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
|
|
686
|
-
"oneOf": [
|
|
687
|
-
{
|
|
688
|
-
"type": "string",
|
|
689
|
-
"minLength": 1
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"$ref": "#/definitions/directiveConfig"
|
|
693
|
-
}
|
|
694
|
-
]
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
"required": ["path", "mapping"],
|
|
698
|
-
"additionalProperties": false
|
|
699
|
-
},
|
|
700
|
-
"parameterOpOp": {
|
|
701
|
-
"title": "Parameter Op Op",
|
|
702
|
-
"description": "An object describing an operation to generate a parameter using a mapping.",
|
|
703
|
-
"type": "object",
|
|
704
|
-
"properties": {
|
|
705
|
-
"path": {
|
|
706
|
-
"description": "A path to the parameter for this operation.",
|
|
707
|
-
"type": "string",
|
|
708
|
-
"minLength": 1,
|
|
709
|
-
"pattern": "^[^\\n\\r]*$"
|
|
710
|
-
},
|
|
711
|
-
"op": {
|
|
712
|
-
"description": "A mode for this parameter's operation.",
|
|
713
|
-
"type": "string",
|
|
714
|
-
"enum": ["set", "concat", "extend", "remove"]
|
|
715
|
-
}
|
|
716
|
-
},
|
|
717
|
-
"required": ["path", "op"],
|
|
718
|
-
"additionalProperties": false
|
|
719
|
-
},
|
|
720
|
-
"parameterOp": {
|
|
721
|
-
"title": "Parameter Op",
|
|
722
|
-
"description": "An object describing an operation to generate a parameter.",
|
|
723
|
-
"oneOf": [
|
|
724
|
-
{
|
|
725
|
-
"$ref": "#/definitions/parameterOpNested"
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"$ref": "#/definitions/parameterOpValue"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"$ref": "#/definitions/parameterOpMapping"
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"$ref": "#/definitions/parameterOpOp"
|
|
735
|
-
}
|
|
736
|
-
]
|
|
737
|
-
},
|
|
738
|
-
"parameterOpList": {
|
|
739
|
-
"title": "Parameter Op List",
|
|
740
|
-
"type": "array",
|
|
741
|
-
"items": {
|
|
742
|
-
"$ref": "#/definitions/parameterOp"
|
|
743
|
-
},
|
|
744
|
-
"minItems": 1
|
|
745
|
-
},
|
|
746
|
-
"parameterConfig": {
|
|
747
|
-
"title": "Parameter Config",
|
|
748
|
-
"description": "All possible options for the more specific ParameterConfig types.",
|
|
749
|
-
"type": "object",
|
|
750
|
-
"properties": {
|
|
751
|
-
"ops": {
|
|
752
|
-
"$ref": "#/definitions/parameterOpList"
|
|
753
|
-
},
|
|
754
|
-
"serialize": {
|
|
755
|
-
"$ref": "#/definitions/parameterSerializeConfig"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"required": ["ops"],
|
|
759
|
-
"additionalProperties": false
|
|
760
|
-
},
|
|
761
|
-
"parameterConfigForBody": {
|
|
762
|
-
"title": "Parameter Config For Body",
|
|
763
|
-
"type": "object",
|
|
764
|
-
"properties": {
|
|
765
|
-
"ops": {
|
|
766
|
-
"$ref": "#/definitions/parameterOpList"
|
|
767
|
-
},
|
|
768
|
-
"serialize": {
|
|
769
|
-
"$ref": "#/definitions/parameterSerializeConfigForBody"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
"required": ["ops"],
|
|
773
|
-
"additionalProperties": false
|
|
774
|
-
},
|
|
775
|
-
"parameterConfigForPathParams": {
|
|
776
|
-
"title": "Parameter Config For Path Params",
|
|
777
|
-
"type": "object",
|
|
778
|
-
"properties": {
|
|
779
|
-
"ops": {
|
|
780
|
-
"$ref": "#/definitions/parameterOpList"
|
|
781
|
-
},
|
|
782
|
-
"serialize": {
|
|
783
|
-
"$ref": "#/definitions/parameterSerializeConfigForPathParams"
|
|
784
|
-
}
|
|
785
|
-
},
|
|
786
|
-
"required": ["ops", "serialize"],
|
|
787
|
-
"additionalProperties": false
|
|
788
|
-
},
|
|
789
|
-
"parameterConfigForAwsLambda": {
|
|
790
|
-
"title": "ParameterConfigForAwsLambda",
|
|
791
|
-
"type": "object",
|
|
792
|
-
"properties": {
|
|
793
|
-
"ops": {
|
|
794
|
-
"$ref": "#/definitions/parameterOpList"
|
|
795
|
-
},
|
|
796
|
-
"serialize": {
|
|
797
|
-
"$ref": "#/definitions/parameterSerializeConfigForPathParams"
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
"required": ["ops", "serialize"],
|
|
801
|
-
"additionalProperties": false
|
|
802
|
-
},
|
|
803
|
-
"parameterConfigForSearchParams": {
|
|
804
|
-
"title": "Parameter Config For Search Params",
|
|
805
|
-
"type": "object",
|
|
806
|
-
"properties": {
|
|
807
|
-
"ops": {
|
|
808
|
-
"$ref": "#/definitions/parameterOpList"
|
|
809
|
-
},
|
|
810
|
-
"serialize": {
|
|
811
|
-
"$ref": "#/definitions/parameterSerializeConfigForSearchParams"
|
|
812
|
-
}
|
|
813
|
-
},
|
|
814
|
-
"required": ["ops"],
|
|
815
|
-
"additionalProperties": false
|
|
816
|
-
},
|
|
817
|
-
"parameterConfigForHeaders": {
|
|
818
|
-
"title": "Parameter Config For Headers",
|
|
819
|
-
"type": "object",
|
|
820
|
-
"properties": {
|
|
821
|
-
"ops": {
|
|
822
|
-
"$ref": "#/definitions/parameterOpList"
|
|
823
|
-
},
|
|
824
|
-
"serialize": {
|
|
825
|
-
"$ref": "#/definitions/parameterSerializeConfigForHeaders"
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
"required": ["ops"],
|
|
829
|
-
"additionalProperties": false
|
|
830
|
-
},
|
|
831
|
-
"parameterConfigForJson": {
|
|
832
|
-
"title": "Parameter Config For Json",
|
|
833
|
-
"type": "object",
|
|
834
|
-
"properties": {
|
|
835
|
-
"ops": {
|
|
836
|
-
"$ref": "#/definitions/parameterOpList"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
"required": ["ops"],
|
|
840
|
-
"additionalProperties": false
|
|
841
|
-
},
|
|
842
|
-
"directiveConfig": {
|
|
843
|
-
"title": "Directive Config",
|
|
844
|
-
"description": "An array of individual directive config items to process in order",
|
|
845
|
-
"type": "array",
|
|
846
|
-
"items": {
|
|
847
|
-
"$ref": "#/definitions/directiveConfigItem"
|
|
848
|
-
},
|
|
849
|
-
"minItems": 1
|
|
850
|
-
},
|
|
851
|
-
"directiveMappingMap": {
|
|
852
|
-
"title": "Directive Mapping Map",
|
|
853
|
-
"description": "An map of object keys / key paths to directive configs",
|
|
854
|
-
"type": "object",
|
|
855
|
-
"patternProperties": {
|
|
856
|
-
"[0-9A-Za-z_-]+": {
|
|
857
|
-
"$ref": "#/definitions/directiveConfig"
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
"directiveMappingArrayItem": {
|
|
862
|
-
"title": "Directive Mapping Array Item",
|
|
863
|
-
"description": "A tuple with a string key and a directive config to evaluate",
|
|
864
|
-
"type": "array",
|
|
865
|
-
"items": [
|
|
866
|
-
{
|
|
867
|
-
"type": "string"
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"$ref": "#/definitions/directiveConfig"
|
|
871
|
-
}
|
|
872
|
-
]
|
|
873
|
-
},
|
|
874
|
-
"directiveMappingArray": {
|
|
875
|
-
"title": "Directive Mapping Array",
|
|
876
|
-
"description": "An array of key / value or directive config tuples",
|
|
877
|
-
"type": "array",
|
|
878
|
-
"items": {
|
|
879
|
-
"$ref": "#/definitions/directiveMappingArrayItem"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
"basicResolver": {
|
|
883
|
-
"title": "BasicResolver",
|
|
884
|
-
"description": "A single resolver, can be composed with the ComposeResolver.",
|
|
885
|
-
"discriminator": {
|
|
886
|
-
"propertyName": "name"
|
|
887
|
-
},
|
|
888
|
-
"oneOf": [
|
|
889
|
-
{
|
|
890
|
-
"$ref": "#/definitions/utilResolver"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"$ref": "#/definitions/delegateResolver"
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"$ref": "#/definitions/takeshapeResolver"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"$ref": "#/definitions/shapedbResolver"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"$ref": "#/definitions/graphqlResolver"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"$ref": "#/definitions/restResolver"
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"$ref": "#/definitions/awsLambdaResolver"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"$ref": "#/definitions/salsifyResolver"
|
|
915
|
-
}
|
|
916
|
-
]
|
|
917
|
-
},
|
|
918
|
-
"serviceResolver": {
|
|
919
|
-
"title": "ServiceResolver",
|
|
920
|
-
"description": "A resolver which references a specific service",
|
|
921
|
-
"discriminator": {
|
|
922
|
-
"propertyName": "name"
|
|
923
|
-
},
|
|
924
|
-
"oneOf": [
|
|
925
|
-
{
|
|
926
|
-
"$ref": "#/definitions/takeshapeResolver"
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
"$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"$ref": "#/definitions/shapedbResolver"
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"$ref": "#/definitions/graphqlResolver"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"$ref": "#/definitions/restResolver"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"$ref": "#/definitions/awsLambdaResolver"
|
|
942
|
-
}
|
|
943
|
-
]
|
|
944
|
-
},
|
|
945
|
-
"argsMapping": {
|
|
946
|
-
"title": "ArgsMapping",
|
|
947
|
-
"description": "Maps a query's input args to the input expected by the service's endpoint.",
|
|
948
|
-
"oneOf": [
|
|
949
|
-
{
|
|
950
|
-
"$ref": "#/definitions/directiveMappingMap"
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"$ref": "#/definitions/directiveConfig"
|
|
954
|
-
}
|
|
955
|
-
]
|
|
956
|
-
},
|
|
957
|
-
"searchParamsMapping": {
|
|
958
|
-
"title": "SearchParamsMapping",
|
|
959
|
-
"description": "Set or evaluate directives to generate searchParams for the service endpoint.",
|
|
960
|
-
"$ref": "#/definitions/directiveMappingArray"
|
|
961
|
-
},
|
|
962
|
-
"resultsMapping": {
|
|
963
|
-
"title": "ResultsMapping",
|
|
964
|
-
"description": "Maps a service endpoint's response results to the expected shape of the query's response.",
|
|
965
|
-
"oneOf": [
|
|
966
|
-
{
|
|
967
|
-
"$ref": "#/definitions/directiveMappingMap"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"$ref": "#/definitions/directiveConfig"
|
|
971
|
-
}
|
|
972
|
-
]
|
|
973
|
-
},
|
|
974
|
-
"utilResolver": {
|
|
975
|
-
"title": "UtilResolver",
|
|
976
|
-
"type": "object",
|
|
977
|
-
"properties": {
|
|
978
|
-
"if": {
|
|
979
|
-
"type": "string"
|
|
980
|
-
},
|
|
981
|
-
"id": {
|
|
982
|
-
"type": "string",
|
|
983
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
984
|
-
},
|
|
985
|
-
"name": {
|
|
986
|
-
"title": "UtilResolverName",
|
|
987
|
-
"type": "string",
|
|
988
|
-
"description": "Name of the resolver function.",
|
|
989
|
-
"enum": ["util:noop", "util:wrap"]
|
|
990
|
-
},
|
|
991
|
-
"options": {
|
|
992
|
-
"title": "UtilResolverOptions",
|
|
993
|
-
"type": "object",
|
|
994
|
-
"additionalProperties": true
|
|
995
|
-
},
|
|
996
|
-
"args": {
|
|
997
|
-
"description": "Mapping and serialization configuration for args.",
|
|
998
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
999
|
-
},
|
|
1000
|
-
"results": {
|
|
1001
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1002
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1003
|
-
},
|
|
1004
|
-
"argsMapping": {
|
|
1005
|
-
"$ref": "#/definitions/argsMapping"
|
|
1006
|
-
},
|
|
1007
|
-
"resultsMapping": {
|
|
1008
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1009
|
-
}
|
|
1010
|
-
},
|
|
1011
|
-
"required": ["name"],
|
|
1012
|
-
"additionalProperties": false
|
|
1013
|
-
},
|
|
1014
|
-
"delegateResolver": {
|
|
1015
|
-
"title": "DelegateResolver",
|
|
1016
|
-
"type": "object",
|
|
1017
|
-
"properties": {
|
|
1018
|
-
"if": {
|
|
1019
|
-
"type": "string"
|
|
1020
|
-
},
|
|
1021
|
-
"id": {
|
|
1022
|
-
"type": "string",
|
|
1023
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1024
|
-
},
|
|
1025
|
-
"name": {
|
|
1026
|
-
"title": "Delegate Resolver Name",
|
|
1027
|
-
"type": "string",
|
|
1028
|
-
"description": "Name of the resolver function.",
|
|
1029
|
-
"enum": ["delegate"]
|
|
1030
|
-
},
|
|
1031
|
-
"options": {
|
|
1032
|
-
"title": "DelegateResolverOptions",
|
|
1033
|
-
"type": "object",
|
|
1034
|
-
"additionalProperties": true
|
|
1035
|
-
},
|
|
1036
|
-
"argsMapping": {
|
|
1037
|
-
"$ref": "#/definitions/argsMapping"
|
|
1038
|
-
},
|
|
1039
|
-
"resultsMapping": {
|
|
1040
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1041
|
-
},
|
|
1042
|
-
"to": {
|
|
1043
|
-
"description": "A ref to a query/mutation/property to delegate to.",
|
|
1044
|
-
"type": "string",
|
|
1045
|
-
"minLength": 1
|
|
1046
|
-
},
|
|
1047
|
-
"args": {
|
|
1048
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1049
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1050
|
-
},
|
|
1051
|
-
"results": {
|
|
1052
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1053
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1054
|
-
}
|
|
1055
|
-
},
|
|
1056
|
-
"required": ["name", "to"],
|
|
1057
|
-
"additionalProperties": false
|
|
1058
|
-
},
|
|
1059
|
-
"salsifyResolver": {
|
|
1060
|
-
"title": "SalsifyResolver",
|
|
1061
|
-
"type": "object",
|
|
1062
|
-
"properties": {
|
|
1063
|
-
"if": {
|
|
1064
|
-
"type": "string"
|
|
1065
|
-
},
|
|
1066
|
-
"id": {
|
|
1067
|
-
"type": "string",
|
|
1068
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1069
|
-
},
|
|
1070
|
-
"name": {
|
|
1071
|
-
"title": "Salsify Resolver Name",
|
|
1072
|
-
"type": "string",
|
|
1073
|
-
"description": "Name of the resolver function.",
|
|
1074
|
-
"enum": ["salsify:listChannelProducts"]
|
|
1075
|
-
},
|
|
1076
|
-
"service": {
|
|
1077
|
-
"type": "string",
|
|
1078
|
-
"description": "Configuration for a service to use with this resolver."
|
|
1079
|
-
},
|
|
1080
|
-
"options": {
|
|
1081
|
-
"title": "SalsifyResolverOptions",
|
|
1082
|
-
"type": "object",
|
|
1083
|
-
"additionalProperties": true
|
|
1084
|
-
},
|
|
1085
|
-
"args": {
|
|
1086
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1087
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1088
|
-
},
|
|
1089
|
-
"results": {
|
|
1090
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1091
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1092
|
-
},
|
|
1093
|
-
"argsMapping": {
|
|
1094
|
-
"$ref": "#/definitions/argsMapping"
|
|
1095
|
-
},
|
|
1096
|
-
"resultsMapping": {
|
|
1097
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1098
|
-
}
|
|
1099
|
-
},
|
|
1100
|
-
"required": ["name", "service"],
|
|
1101
|
-
"additionalProperties": false
|
|
1102
|
-
},
|
|
1103
|
-
"shapedbResolver": {
|
|
1104
|
-
"title": "ShapedbResolver",
|
|
1105
|
-
"type": "object",
|
|
1106
|
-
"properties": {
|
|
1107
|
-
"if": {
|
|
1108
|
-
"type": "string"
|
|
1109
|
-
},
|
|
1110
|
-
"id": {
|
|
1111
|
-
"type": "string",
|
|
1112
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1113
|
-
},
|
|
1114
|
-
"name": {
|
|
1115
|
-
"title": "ShapedbResolverName",
|
|
1116
|
-
"type": "string",
|
|
1117
|
-
"description": "Name of the resolver function.",
|
|
1118
|
-
"enum": [
|
|
1119
|
-
"shapedb:get",
|
|
1120
|
-
"shapedb:create",
|
|
1121
|
-
"shapedb:update",
|
|
1122
|
-
"shapedb:delete",
|
|
1123
|
-
"shapedb:duplicate",
|
|
1124
|
-
"shapedb:find"
|
|
1125
|
-
]
|
|
1126
|
-
},
|
|
1127
|
-
"service": {
|
|
1128
|
-
"type": "string",
|
|
1129
|
-
"description": "Internal service identifier.",
|
|
1130
|
-
"enum": ["shapedb"]
|
|
1131
|
-
},
|
|
1132
|
-
"options": {
|
|
1133
|
-
"title": "ShapedbResolverOptions",
|
|
1134
|
-
"type": "object",
|
|
1135
|
-
"additionalProperties": true
|
|
1136
|
-
},
|
|
1137
|
-
"argsMapping": {
|
|
1138
|
-
"$ref": "#/definitions/argsMapping"
|
|
1139
|
-
},
|
|
1140
|
-
"resultsMapping": {
|
|
1141
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1142
|
-
},
|
|
1143
|
-
"shapeName": {
|
|
1144
|
-
"description": "A Shape name for the resolver to use.",
|
|
1145
|
-
"type": "string",
|
|
1146
|
-
"minLength": 1
|
|
1147
|
-
},
|
|
1148
|
-
"args": {
|
|
1149
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1150
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1151
|
-
},
|
|
1152
|
-
"results": {
|
|
1153
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1154
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
"required": ["name", "service", "shapeName"],
|
|
1158
|
-
"additionalProperties": false
|
|
1159
|
-
},
|
|
1160
|
-
"shapedbResolverShapeNameNotRequired": {
|
|
1161
|
-
"title": "ShapedbResolverShapeNameNotRequired",
|
|
1162
|
-
"type": "object",
|
|
1163
|
-
"properties": {
|
|
1164
|
-
"if": {
|
|
1165
|
-
"type": "string"
|
|
1166
|
-
},
|
|
1167
|
-
"id": {
|
|
1168
|
-
"type": "string",
|
|
1169
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1170
|
-
},
|
|
1171
|
-
"name": {
|
|
1172
|
-
"title": "ShapedbResolverShapeNameNotRequiredName",
|
|
1173
|
-
"type": "string",
|
|
1174
|
-
"description": "Name of the resolver function.",
|
|
1175
|
-
"enum": ["shapedb:list", "shapedb:taxonomySuggest", "shapedb:getRelated"]
|
|
1176
|
-
},
|
|
1177
|
-
"service": {
|
|
1178
|
-
"type": "string",
|
|
1179
|
-
"description": "Internal service identifier.",
|
|
1180
|
-
"enum": ["shapedb"]
|
|
1181
|
-
},
|
|
1182
|
-
"options": {
|
|
1183
|
-
"title": "ShapedbResolverShapeNameNotRequiredOptions",
|
|
1184
|
-
"type": "object",
|
|
1185
|
-
"additionalProperties": true
|
|
1186
|
-
},
|
|
1187
|
-
"shapeName": {
|
|
1188
|
-
"description": "An optional Shape name for the resolver.",
|
|
1189
|
-
"type": "string",
|
|
1190
|
-
"minLength": 1
|
|
1191
|
-
},
|
|
1192
|
-
"args": {
|
|
1193
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1194
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1195
|
-
},
|
|
1196
|
-
"results": {
|
|
1197
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1198
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1199
|
-
},
|
|
1200
|
-
"argsMapping": {
|
|
1201
|
-
"$ref": "#/definitions/argsMapping"
|
|
1202
|
-
},
|
|
1203
|
-
"resultsMapping": {
|
|
1204
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1205
|
-
}
|
|
1206
|
-
},
|
|
1207
|
-
"required": ["name", "service"],
|
|
1208
|
-
"additionalProperties": false
|
|
1209
|
-
},
|
|
1210
|
-
"takeshapeResolver": {
|
|
1211
|
-
"title": "TakeshapeResolver",
|
|
1212
|
-
"type": "object",
|
|
1213
|
-
"properties": {
|
|
1214
|
-
"if": {
|
|
1215
|
-
"type": "string"
|
|
1216
|
-
},
|
|
1217
|
-
"id": {
|
|
1218
|
-
"type": "string",
|
|
1219
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1220
|
-
},
|
|
1221
|
-
"name": {
|
|
1222
|
-
"title": "TakeshapeResolverName",
|
|
1223
|
-
"type": "string",
|
|
1224
|
-
"description": "Name of the resolver function.",
|
|
1225
|
-
"enum": ["takeshape:getUser", "takeshape:search", "takeshape:queryApiIndex"]
|
|
1226
|
-
},
|
|
1227
|
-
"service": {
|
|
1228
|
-
"type": "string",
|
|
1229
|
-
"description": "Internal service identifier.",
|
|
1230
|
-
"enum": ["takeshape"]
|
|
1231
|
-
},
|
|
1232
|
-
"options": {
|
|
1233
|
-
"title": "TakeshapeResolverOptions",
|
|
1234
|
-
"type": "object",
|
|
1235
|
-
"additionalProperties": true
|
|
1236
|
-
},
|
|
1237
|
-
"shapeName": {
|
|
1238
|
-
"description": "An optional Shape name for the resolver.",
|
|
1239
|
-
"type": "string",
|
|
1240
|
-
"minLength": 1
|
|
1241
|
-
},
|
|
1242
|
-
"args": {
|
|
1243
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1244
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1245
|
-
},
|
|
1246
|
-
"results": {
|
|
1247
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1248
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1249
|
-
},
|
|
1250
|
-
"argsMapping": {
|
|
1251
|
-
"$ref": "#/definitions/argsMapping"
|
|
1252
|
-
},
|
|
1253
|
-
"resultsMapping": {
|
|
1254
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
"required": ["name", "service"],
|
|
1258
|
-
"additionalProperties": false
|
|
1259
|
-
},
|
|
1260
|
-
"graphqlResolver": {
|
|
1261
|
-
"title": "GraphqlResolver",
|
|
1262
|
-
"type": "object",
|
|
1263
|
-
"properties": {
|
|
1264
|
-
"if": {
|
|
1265
|
-
"type": "string"
|
|
1266
|
-
},
|
|
1267
|
-
"id": {
|
|
1268
|
-
"type": "string",
|
|
1269
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1270
|
-
},
|
|
1271
|
-
"name": {
|
|
1272
|
-
"title": "GraphqlResolverName",
|
|
1273
|
-
"type": "string",
|
|
1274
|
-
"description": "Name of the resolver function.",
|
|
1275
|
-
"enum": ["graphql:query", "graphql:mutation", "shopify:bulkQuery"]
|
|
1276
|
-
},
|
|
1277
|
-
"service": {
|
|
1278
|
-
"type": "string",
|
|
1279
|
-
"description": "Configuration for a service to use with this resolver."
|
|
1280
|
-
},
|
|
1281
|
-
"argsMapping": {
|
|
1282
|
-
"$ref": "#/definitions/argsMapping"
|
|
1283
|
-
},
|
|
1284
|
-
"resultsMapping": {
|
|
1285
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1286
|
-
},
|
|
1287
|
-
"options": {
|
|
1288
|
-
"title": "GraphqlResolverOptions",
|
|
1289
|
-
"type": "object",
|
|
1290
|
-
"properties": {
|
|
1291
|
-
"selectionSet": {
|
|
1292
|
-
"type": "string"
|
|
1293
|
-
},
|
|
1294
|
-
"unboxParentSelectionSet": {
|
|
1295
|
-
"type": "boolean"
|
|
1296
|
-
},
|
|
1297
|
-
"ignoreErrors": {
|
|
1298
|
-
"type": "boolean"
|
|
1299
|
-
},
|
|
1300
|
-
"skipWhenMissingArgs": {
|
|
1301
|
-
"type": "boolean"
|
|
1302
|
-
},
|
|
1303
|
-
"ttl": {
|
|
1304
|
-
"type": "number"
|
|
1305
|
-
},
|
|
1306
|
-
"timeout": {
|
|
1307
|
-
"type": "number"
|
|
1308
|
-
},
|
|
1309
|
-
"retry": {
|
|
1310
|
-
"oneOf": [
|
|
1311
|
-
{
|
|
1312
|
-
"type": "number"
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
"type": "object"
|
|
1316
|
-
}
|
|
1317
|
-
]
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
"additionalProperties": true
|
|
1321
|
-
},
|
|
1322
|
-
"fieldName": {
|
|
1323
|
-
"description": "A fieldname to use in queries.",
|
|
1324
|
-
"type": "string"
|
|
1325
|
-
},
|
|
1326
|
-
"headers": {
|
|
1327
|
-
"description": "Mapping and serialization configuration for headers.",
|
|
1328
|
-
"$ref": "#/definitions/parameterConfigForHeaders"
|
|
1329
|
-
},
|
|
1330
|
-
"searchParams": {
|
|
1331
|
-
"description": "Mapping and serialization configuration for searchParams.",
|
|
1332
|
-
"$ref": "#/definitions/parameterConfigForSearchParams"
|
|
1333
|
-
},
|
|
1334
|
-
"args": {
|
|
1335
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1336
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1337
|
-
},
|
|
1338
|
-
"results": {
|
|
1339
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1340
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
"required": ["name", "service", "fieldName"],
|
|
1344
|
-
"additionalProperties": false
|
|
1345
|
-
},
|
|
1346
|
-
"restResolver": {
|
|
1347
|
-
"title": "RestResolver",
|
|
1348
|
-
"type": "object",
|
|
1349
|
-
"properties": {
|
|
1350
|
-
"if": {
|
|
1351
|
-
"type": "string"
|
|
1352
|
-
},
|
|
1353
|
-
"id": {
|
|
1354
|
-
"type": "string",
|
|
1355
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1356
|
-
},
|
|
1357
|
-
"name": {
|
|
1358
|
-
"title": "RestResolverName",
|
|
1359
|
-
"type": "string",
|
|
1360
|
-
"description": "Name of the resolver function.",
|
|
1361
|
-
"enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
|
|
1362
|
-
},
|
|
1363
|
-
"service": {
|
|
1364
|
-
"type": "string",
|
|
1365
|
-
"description": "Configuration for a service to use with this resolver."
|
|
1366
|
-
},
|
|
1367
|
-
"argsMapping": {
|
|
1368
|
-
"$ref": "#/definitions/argsMapping"
|
|
1369
|
-
},
|
|
1370
|
-
"searchParamsMapping": {
|
|
1371
|
-
"$ref": "#/definitions/searchParamsMapping"
|
|
1372
|
-
},
|
|
1373
|
-
"resultsMapping": {
|
|
1374
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1375
|
-
},
|
|
1376
|
-
"options": {
|
|
1377
|
-
"title": "RestResolverOptions",
|
|
1378
|
-
"type": "object",
|
|
1379
|
-
"properties": {
|
|
1380
|
-
"trailingSlash": {
|
|
1381
|
-
"type": "boolean"
|
|
1382
|
-
},
|
|
1383
|
-
"ttl": {
|
|
1384
|
-
"type": "number"
|
|
1385
|
-
},
|
|
1386
|
-
"timeout": {
|
|
1387
|
-
"type": "number"
|
|
1388
|
-
},
|
|
1389
|
-
"retry": {
|
|
1390
|
-
"oneOf": [
|
|
1391
|
-
{
|
|
1392
|
-
"type": "number"
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"type": "object"
|
|
1396
|
-
}
|
|
1397
|
-
]
|
|
1398
|
-
}
|
|
1399
|
-
},
|
|
1400
|
-
"additionalProperties": true
|
|
1401
|
-
},
|
|
1402
|
-
"body": {
|
|
1403
|
-
"description": "Mapping and serialization configuration for a request body.",
|
|
1404
|
-
"$ref": "#/definitions/parameterConfigForBody"
|
|
1405
|
-
},
|
|
1406
|
-
"form": {
|
|
1407
|
-
"description": "Mapping and serialization configuration for form data.",
|
|
1408
|
-
"$ref": "#/definitions/parameterConfigForSearchParams"
|
|
1409
|
-
},
|
|
1410
|
-
"headers": {
|
|
1411
|
-
"description": "Mapping and serialization configuration for headers.",
|
|
1412
|
-
"$ref": "#/definitions/parameterConfigForHeaders"
|
|
1413
|
-
},
|
|
1414
|
-
"json": {
|
|
1415
|
-
"description": "Mapping and serialization configuration for a json request body.",
|
|
1416
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1417
|
-
},
|
|
1418
|
-
"path": {
|
|
1419
|
-
"description": "Mapping and serialization configuration for the path, or a simple string.",
|
|
1420
|
-
"oneOf": [
|
|
1421
|
-
{
|
|
1422
|
-
"$ref": "#/definitions/parameterConfigForPathParams"
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
"type": "string"
|
|
1426
|
-
}
|
|
1427
|
-
]
|
|
1428
|
-
},
|
|
1429
|
-
"searchParams": {
|
|
1430
|
-
"description": "Mapping and serialization configuration for searchParams.",
|
|
1431
|
-
"$ref": "#/definitions/parameterConfigForSearchParams"
|
|
1432
|
-
},
|
|
1433
|
-
"args": {
|
|
1434
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1435
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1436
|
-
},
|
|
1437
|
-
"results": {
|
|
1438
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1439
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
"required": ["name", "service", "path"],
|
|
1443
|
-
"additionalProperties": false
|
|
1444
|
-
},
|
|
1445
|
-
"awsLambdaResolver": {
|
|
1446
|
-
"title": "AwsLambdaResolver",
|
|
1447
|
-
"type": "object",
|
|
1448
|
-
"properties": {
|
|
1449
|
-
"if": {
|
|
1450
|
-
"type": "string"
|
|
1451
|
-
},
|
|
1452
|
-
"id": {
|
|
1453
|
-
"type": "string",
|
|
1454
|
-
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
1455
|
-
},
|
|
1456
|
-
"name": {
|
|
1457
|
-
"title": "AwsLambdaResolverName",
|
|
1458
|
-
"type": "string",
|
|
1459
|
-
"description": "Name of the resolver function.",
|
|
1460
|
-
"enum": ["awsLambda:invoke"]
|
|
1461
|
-
},
|
|
1462
|
-
"service": {
|
|
1463
|
-
"type": "string",
|
|
1464
|
-
"description": "Configuration for a service to use with this resolver."
|
|
1465
|
-
},
|
|
1466
|
-
"options": {
|
|
1467
|
-
"title": "AwsLambdaResolverOptions",
|
|
1468
|
-
"type": "object",
|
|
1469
|
-
"additionalProperties": true
|
|
1470
|
-
},
|
|
1471
|
-
"payload": {
|
|
1472
|
-
"description": "Mapping configuration the Payload.",
|
|
1473
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1474
|
-
},
|
|
1475
|
-
"functionName": {
|
|
1476
|
-
"description": "Mapping configuration for the FunctionName.",
|
|
1477
|
-
"oneOf": [
|
|
1478
|
-
{
|
|
1479
|
-
"type": "string"
|
|
1480
|
-
},
|
|
1481
|
-
{
|
|
1482
|
-
"$ref": "#/definitions/parameterConfigForAwsLambda"
|
|
1483
|
-
}
|
|
1484
|
-
]
|
|
1485
|
-
},
|
|
1486
|
-
"clientContext": {
|
|
1487
|
-
"description": "Mapping configuration for the ClientContext.",
|
|
1488
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1489
|
-
},
|
|
1490
|
-
"args": {
|
|
1491
|
-
"description": "Mapping and serialization configuration for args.",
|
|
1492
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1493
|
-
},
|
|
1494
|
-
"results": {
|
|
1495
|
-
"description": "Mapping configuration for the results of this resolver step.",
|
|
1496
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1497
|
-
},
|
|
1498
|
-
"argsMapping": {
|
|
1499
|
-
"$ref": "#/definitions/argsMapping"
|
|
1500
|
-
},
|
|
1501
|
-
"searchParamsMapping": {
|
|
1502
|
-
"description": "Set or evaluate directives to generate searchParams for the service endpoint.",
|
|
1503
|
-
"$ref": "#/definitions/searchParamsMapping"
|
|
1504
|
-
},
|
|
1505
|
-
"resultsMapping": {
|
|
1506
|
-
"$ref": "#/definitions/resultsMapping"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
"required": ["name", "service", "functionName"],
|
|
1510
|
-
"additionalProperties": false
|
|
1511
|
-
},
|
|
1512
|
-
"composeResolver": {
|
|
1513
|
-
"title": "ComposeResolver",
|
|
1514
|
-
"type": "object",
|
|
1515
|
-
"properties": {
|
|
1516
|
-
"compose": {
|
|
1517
|
-
"type": "array",
|
|
1518
|
-
"items": {
|
|
1519
|
-
"$ref": "#/definitions/basicResolver"
|
|
1520
|
-
}
|
|
1521
|
-
},
|
|
1522
|
-
"resultsMapping": {
|
|
1523
|
-
"oneOf": [
|
|
1524
|
-
{
|
|
1525
|
-
"$ref": "#/definitions/directiveMappingMap"
|
|
1526
|
-
},
|
|
1527
|
-
{
|
|
1528
|
-
"$ref": "#/definitions/directiveConfig"
|
|
1529
|
-
}
|
|
1530
|
-
]
|
|
1531
|
-
},
|
|
1532
|
-
"results": {
|
|
1533
|
-
"description": "Mapping configuration for final query results.",
|
|
1534
|
-
"$ref": "#/definitions/parameterConfigForJson"
|
|
1535
|
-
}
|
|
1536
|
-
},
|
|
1537
|
-
"required": ["compose"],
|
|
1538
|
-
"additionalProperties": false
|
|
1539
|
-
},
|
|
1540
|
-
"resolver": {
|
|
1541
|
-
"title": "Resolver",
|
|
1542
|
-
"oneOf": [
|
|
1543
|
-
{
|
|
1544
|
-
"$ref": "#/definitions/basicResolver"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"$ref": "#/definitions/composeResolver"
|
|
1548
|
-
}
|
|
1549
|
-
]
|
|
1550
|
-
},
|
|
1551
|
-
"dependencies": {
|
|
1552
|
-
"title": "Dependencies",
|
|
1553
|
-
"type": "string"
|
|
1554
|
-
},
|
|
1555
|
-
"ref": {
|
|
1556
|
-
"title": "Ref",
|
|
1557
|
-
"type": "string"
|
|
1558
|
-
},
|
|
1559
|
-
"indexed": {
|
|
1560
|
-
"title": "Indexed",
|
|
1561
|
-
"type": "object",
|
|
1562
|
-
"properties": {
|
|
1563
|
-
"nested": {
|
|
1564
|
-
"type": "boolean"
|
|
1565
|
-
}
|
|
1566
|
-
},
|
|
1567
|
-
"additionalProperties": false
|
|
1568
|
-
},
|
|
1569
|
-
"graphql": {
|
|
1570
|
-
"title": "GraphQLConfig",
|
|
1571
|
-
"type": "object",
|
|
1572
|
-
"properties": {
|
|
1573
|
-
"json": {
|
|
1574
|
-
"type": "boolean"
|
|
1575
|
-
}
|
|
1576
|
-
},
|
|
1577
|
-
"additionalProperties": false
|
|
1578
|
-
},
|
|
1579
|
-
"query": {
|
|
1580
|
-
"title": "Query JSON",
|
|
1581
|
-
"type": "object",
|
|
1582
|
-
"properties": {
|
|
1583
|
-
"args": {
|
|
1584
|
-
"description": "The args field specifies the name of a Shape for the input arguments required by your resolver.",
|
|
1585
|
-
"$ref": "#/definitions/args"
|
|
1586
|
-
},
|
|
1587
|
-
"resolver": {
|
|
1588
|
-
"description": "Configures the resolver for your query or mutation.",
|
|
1589
|
-
"$ref": "#/definitions/resolver"
|
|
1590
|
-
},
|
|
1591
|
-
"shape": {
|
|
1592
|
-
"$ref": "#/definitions/returnShape",
|
|
1593
|
-
"description": "Specifies which shape is returned by the query or mutation. The shape can refer to a shape in the schema's \"shapes\" object or a shape that's available on a service schema."
|
|
1594
|
-
},
|
|
1595
|
-
"description": {
|
|
1596
|
-
"type": "string",
|
|
1597
|
-
"description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
"required": ["resolver", "shape"],
|
|
1601
|
-
"additionalProperties": false
|
|
1602
|
-
},
|
|
1603
|
-
"propertySchema": {
|
|
1604
|
-
"title": "PropertySchema",
|
|
1605
|
-
"type": "object",
|
|
1606
|
-
"properties": {
|
|
1607
|
-
"$ref": {
|
|
1608
|
-
"type": "string",
|
|
1609
|
-
"format": "uri-reference"
|
|
1610
|
-
},
|
|
1611
|
-
"title": {
|
|
1612
|
-
"type": "string"
|
|
1613
|
-
},
|
|
1614
|
-
"description": {
|
|
1615
|
-
"type": "string"
|
|
1616
|
-
},
|
|
1617
|
-
"default": {},
|
|
1618
|
-
"readOnly": {
|
|
1619
|
-
"type": "boolean",
|
|
1620
|
-
"default": false
|
|
1621
|
-
},
|
|
1622
|
-
"multipleOf": {
|
|
1623
|
-
"type": "number",
|
|
1624
|
-
"exclusiveMinimum": 0
|
|
1625
|
-
},
|
|
1626
|
-
"maximum": {
|
|
1627
|
-
"type": "number"
|
|
1628
|
-
},
|
|
1629
|
-
"exclusiveMaximum": {
|
|
1630
|
-
"type": "number"
|
|
1631
|
-
},
|
|
1632
|
-
"minimum": {
|
|
1633
|
-
"type": "number"
|
|
1634
|
-
},
|
|
1635
|
-
"exclusiveMinimum": {
|
|
1636
|
-
"type": "number"
|
|
1637
|
-
},
|
|
1638
|
-
"maxLength": {
|
|
1639
|
-
"$ref": "#/definitions/nonNegativeInteger"
|
|
1640
|
-
},
|
|
1641
|
-
"minLength": {
|
|
1642
|
-
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
|
1643
|
-
},
|
|
1644
|
-
"pattern": {
|
|
1645
|
-
"type": "string",
|
|
1646
|
-
"format": "regex"
|
|
1647
|
-
},
|
|
1648
|
-
"additionalItems": {
|
|
1649
|
-
"$ref": "#/definitions/propertySchema"
|
|
1650
|
-
},
|
|
1651
|
-
"items": {
|
|
1652
|
-
"$ref": "#/definitions/propertySchema"
|
|
1653
|
-
},
|
|
1654
|
-
"maxItems": {
|
|
1655
|
-
"$ref": "#/definitions/nonNegativeInteger"
|
|
1656
|
-
},
|
|
1657
|
-
"minItems": {
|
|
1658
|
-
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
|
1659
|
-
},
|
|
1660
|
-
"uniqueItems": {
|
|
1661
|
-
"type": "boolean",
|
|
1662
|
-
"default": false
|
|
1663
|
-
},
|
|
1664
|
-
"contains": {
|
|
1665
|
-
"$ref": "#/definitions/propertySchema"
|
|
1666
|
-
},
|
|
1667
|
-
"maxProperties": {
|
|
1668
|
-
"$ref": "#/definitions/nonNegativeInteger"
|
|
1669
|
-
},
|
|
1670
|
-
"minProperties": {
|
|
1671
|
-
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
|
1672
|
-
},
|
|
1673
|
-
"required": {
|
|
1674
|
-
"$ref": "#/definitions/stringArray"
|
|
1675
|
-
},
|
|
1676
|
-
"additionalProperties": {
|
|
1677
|
-
"oneOf": [
|
|
1678
|
-
{
|
|
1679
|
-
"$ref": "#/definitions/propertySchema"
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"enum": [false]
|
|
1683
|
-
}
|
|
1684
|
-
]
|
|
1685
|
-
},
|
|
1686
|
-
"definitions": {
|
|
1687
|
-
"type": "object",
|
|
1688
|
-
"additionalProperties": {
|
|
1689
|
-
"$ref": "#/definitions/propertySchema"
|
|
1690
|
-
},
|
|
1691
|
-
"default": {}
|
|
1692
|
-
},
|
|
1693
|
-
"properties": {
|
|
1694
|
-
"type": "object",
|
|
1695
|
-
"additionalProperties": {
|
|
1696
|
-
"$ref": "#/definitions/propertySchema"
|
|
1697
|
-
},
|
|
1698
|
-
"default": {}
|
|
1699
|
-
},
|
|
1700
|
-
"const": {},
|
|
1701
|
-
"enum": {
|
|
1702
|
-
"type": "array",
|
|
1703
|
-
"minItems": 1,
|
|
1704
|
-
"uniqueItems": true
|
|
1705
|
-
},
|
|
1706
|
-
"type": {
|
|
1707
|
-
"anyOf": [
|
|
1708
|
-
{
|
|
1709
|
-
"$ref": "#/definitions/simpleTypes"
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"type": "array",
|
|
1713
|
-
"items": {
|
|
1714
|
-
"$ref": "#/definitions/simpleTypes"
|
|
1715
|
-
},
|
|
1716
|
-
"minItems": 1,
|
|
1717
|
-
"uniqueItems": true
|
|
1718
|
-
}
|
|
1719
|
-
]
|
|
1720
|
-
},
|
|
1721
|
-
"format": {
|
|
1722
|
-
"type": "string"
|
|
1723
|
-
},
|
|
1724
|
-
"contentMediaType": {
|
|
1725
|
-
"type": "string"
|
|
1726
|
-
},
|
|
1727
|
-
"contentEncoding": {
|
|
1728
|
-
"type": "string"
|
|
1729
|
-
},
|
|
1730
|
-
"allOf": {
|
|
1731
|
-
"$ref": "#/definitions/schemaArray"
|
|
1732
|
-
},
|
|
1733
|
-
"discriminator": {
|
|
1734
|
-
"type": "object",
|
|
1735
|
-
"properties": {
|
|
1736
|
-
"propertyName": {
|
|
1737
|
-
"type": "string"
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
"oneOf": {
|
|
1742
|
-
"$ref": "#/definitions/schemaArray"
|
|
1743
|
-
},
|
|
1744
|
-
"extends": {
|
|
1745
|
-
"$ref": "#/definitions/objectOrRefArray"
|
|
1746
|
-
},
|
|
1747
|
-
"@backreference": {
|
|
1748
|
-
"$ref": "#/definitions/backreference"
|
|
1749
|
-
},
|
|
1750
|
-
"@input": {
|
|
1751
|
-
"description": "A PropertySchema providing an alternative shape for a GraphQL input type.",
|
|
1752
|
-
"$ref": "#/definitions/propertySchema"
|
|
1753
|
-
},
|
|
1754
|
-
"@output": {
|
|
1755
|
-
"description": "A PropertySchema which is original output.",
|
|
1756
|
-
"$ref": "#/definitions/propertySchema"
|
|
1757
|
-
},
|
|
1758
|
-
"@syncLocaleStructure": {
|
|
1759
|
-
"type": "boolean"
|
|
1760
|
-
},
|
|
1761
|
-
"@sensitive": {
|
|
1762
|
-
"type": "boolean"
|
|
1763
|
-
},
|
|
1764
|
-
"@draftjs": {
|
|
1765
|
-
"type": "boolean"
|
|
1766
|
-
},
|
|
1767
|
-
"@l10n": {
|
|
1768
|
-
"type": "boolean"
|
|
1769
|
-
},
|
|
1770
|
-
"@key": {
|
|
1771
|
-
"type": "string",
|
|
1772
|
-
"pattern": "^[-_a-zA-Z0-9]+$"
|
|
1773
|
-
},
|
|
1774
|
-
"@workflow": {
|
|
1775
|
-
"type": "string"
|
|
1776
|
-
},
|
|
1777
|
-
"@mapping": {
|
|
1778
|
-
"$ref": "#/definitions/fieldMapping"
|
|
1779
|
-
},
|
|
1780
|
-
"@tag": {
|
|
1781
|
-
"type": "string"
|
|
1782
|
-
},
|
|
1783
|
-
"@tags": {
|
|
1784
|
-
"type": "array",
|
|
1785
|
-
"items": {
|
|
1786
|
-
"type": "string"
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
"@deprecationReason": {
|
|
1790
|
-
"type": "string"
|
|
1791
|
-
},
|
|
1792
|
-
"@args": {
|
|
1793
|
-
"$ref": "#/definitions/args"
|
|
1794
|
-
},
|
|
1795
|
-
"@resolver": {
|
|
1796
|
-
"$ref": "#/definitions/resolver"
|
|
1797
|
-
},
|
|
1798
|
-
"@dependencies": {
|
|
1799
|
-
"$ref": "#/definitions/dependencies"
|
|
1800
|
-
},
|
|
1801
|
-
"@ref": {
|
|
1802
|
-
"$ref": "#/definitions/ref"
|
|
1803
|
-
},
|
|
1804
|
-
"@derivedFrom": {
|
|
1805
|
-
"type": "string"
|
|
1806
|
-
},
|
|
1807
|
-
"@indexed": {
|
|
1808
|
-
"$ref": "#/definitions/indexed"
|
|
1809
|
-
},
|
|
1810
|
-
"@graphql": {
|
|
1811
|
-
"$ref": "#/definitions/graphql"
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
"additionalProperties": false
|
|
1815
|
-
},
|
|
1816
|
-
"shape": {
|
|
1817
|
-
"title": "Shape JSON",
|
|
1818
|
-
"description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
|
|
1819
|
-
"type": "object",
|
|
1820
|
-
"properties": {
|
|
1821
|
-
"name": {
|
|
1822
|
-
"type": "string",
|
|
1823
|
-
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
1824
|
-
"description": "The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations"
|
|
1825
|
-
},
|
|
1826
|
-
"id": {
|
|
1827
|
-
"type": "string",
|
|
1828
|
-
"pattern": "[0-9A-Za-z_-]+",
|
|
1829
|
-
"description": "The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable \"table name\" and changing it will result in orphaning that data."
|
|
1830
|
-
},
|
|
1831
|
-
"title": {
|
|
1832
|
-
"type": "string",
|
|
1833
|
-
"description": "The human-readable name for a Shape for use in a UI."
|
|
1834
|
-
},
|
|
1835
|
-
"description": {
|
|
1836
|
-
"type": "string"
|
|
1837
|
-
},
|
|
1838
|
-
"type": {
|
|
1839
|
-
"enum": ["interface", "input", "output"]
|
|
1840
|
-
},
|
|
1841
|
-
"interfaces": {
|
|
1842
|
-
"type": "array",
|
|
1843
|
-
"items": {
|
|
1844
|
-
"type": "string"
|
|
1845
|
-
}
|
|
1846
|
-
},
|
|
1847
|
-
"model": {
|
|
1848
|
-
"description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
|
|
1849
|
-
"type": "object",
|
|
1850
|
-
"properties": {
|
|
1851
|
-
"type": {
|
|
1852
|
-
"title": "Model Type",
|
|
1853
|
-
"type": "string",
|
|
1854
|
-
"enum": ["single", "multiple", "taxonomy"]
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
"required": ["type"],
|
|
1858
|
-
"additionalProperties": false
|
|
1859
|
-
},
|
|
1860
|
-
"workflow": {
|
|
1861
|
-
"type": "string"
|
|
1862
|
-
},
|
|
1863
|
-
"loaders": {
|
|
1864
|
-
"$ref": "#/definitions/shapeLoaders"
|
|
1865
|
-
},
|
|
1866
|
-
"joins": {
|
|
1867
|
-
"$ref": "#/definitions/shapeJoins"
|
|
1868
|
-
},
|
|
1869
|
-
"cache": {
|
|
1870
|
-
"$ref": "#/definitions/shapeCacheConfig"
|
|
1871
|
-
},
|
|
1872
|
-
"schema": {
|
|
1873
|
-
"$ref": "#/definitions/shapeSchema"
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1876
|
-
"required": ["name", "title", "id", "schema"],
|
|
1877
|
-
"additionalProperties": false
|
|
1878
|
-
},
|
|
1879
|
-
"shapeWithObjectSchema": {
|
|
1880
|
-
"title": "Shape With Object Schema",
|
|
1881
|
-
"type": "object",
|
|
1882
|
-
"allOf": [
|
|
1883
|
-
{
|
|
1884
|
-
"$ref": "#/definitions/shape"
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"type": "object",
|
|
1888
|
-
"properties": {
|
|
1889
|
-
"schema": {
|
|
1890
|
-
"$ref": "#/definitions/objectSchema"
|
|
1891
|
-
}
|
|
1892
|
-
},
|
|
1893
|
-
"required": ["schema"],
|
|
1894
|
-
"additionalProperties": false
|
|
1895
|
-
}
|
|
1896
|
-
]
|
|
1897
|
-
},
|
|
1898
|
-
"shapeMap": {
|
|
1899
|
-
"title": "Shape Map",
|
|
1900
|
-
"type": "object",
|
|
1901
|
-
"patternProperties": {
|
|
1902
|
-
"^[0-9A-Za-z_]+$": {
|
|
1903
|
-
"$ref": "#/definitions/shape"
|
|
1904
|
-
}
|
|
1905
|
-
},
|
|
1906
|
-
"additionalProperties": false
|
|
1907
|
-
},
|
|
1908
|
-
"formMap": {
|
|
1909
|
-
"title": "Form Map",
|
|
1910
|
-
"type": "object",
|
|
1911
|
-
"patternProperties": {
|
|
1912
|
-
"[0-9A-Za-z_-]+": {
|
|
1913
|
-
"$ref": "#/definitions/formsConfig"
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
},
|
|
1917
|
-
"shapeCacheConfig": {
|
|
1918
|
-
"title": "ShapeCacheConfig",
|
|
1919
|
-
"type": "object",
|
|
1920
|
-
"properties": {
|
|
1921
|
-
"enabled": {
|
|
1922
|
-
"type": "boolean"
|
|
1923
|
-
},
|
|
1924
|
-
"idField": {
|
|
1925
|
-
"type": "string"
|
|
1926
|
-
},
|
|
1927
|
-
"searchSummaryField": {
|
|
1928
|
-
"type": "string"
|
|
1929
|
-
},
|
|
1930
|
-
"fragment": {
|
|
1931
|
-
"$ref": "#/definitions/cachedFragmentConfig"
|
|
1932
|
-
},
|
|
1933
|
-
"triggers": {
|
|
1934
|
-
"type": "array",
|
|
1935
|
-
"items": {
|
|
1936
|
-
"$ref": "#/definitions/cacheTriggerConfig"
|
|
1937
|
-
}
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
"additionalProperties": false,
|
|
1941
|
-
"required": ["enabled"]
|
|
1942
|
-
},
|
|
1943
|
-
"shapeJoin": {
|
|
1944
|
-
"title": "ShapeJoin",
|
|
1945
|
-
"type": "object",
|
|
1946
|
-
"properties": {
|
|
1947
|
-
"resolver": {
|
|
1948
|
-
"oneOf": [
|
|
1949
|
-
{
|
|
1950
|
-
"$ref": "#/definitions/delegateResolver"
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"$ref": "#/definitions/shapedbResolver"
|
|
1954
|
-
}
|
|
1955
|
-
]
|
|
1956
|
-
},
|
|
1957
|
-
"dependencies": {
|
|
1958
|
-
"type": "string"
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
"required": ["resolver"],
|
|
1962
|
-
"additionalProperties": false
|
|
1963
|
-
},
|
|
1964
|
-
"shapeJoins": {
|
|
1965
|
-
"title": "ShapeJoins",
|
|
1966
|
-
"type": "object",
|
|
1967
|
-
"patternProperties": {
|
|
1968
|
-
"[:0-9A-Za-z_-]+": {
|
|
1969
|
-
"$ref": "#/definitions/shapeJoin"
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
|
-
"shapeLoaders": {
|
|
1974
|
-
"title": "ShapeLoaders",
|
|
1975
|
-
"type": "object",
|
|
1976
|
-
"properties": {
|
|
1977
|
-
"list": {
|
|
1978
|
-
"oneOf": [
|
|
1979
|
-
{
|
|
1980
|
-
"$ref": "#/definitions/storedListQueryLoaderConfig"
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
"type": "array",
|
|
1984
|
-
"items": {
|
|
1985
|
-
"$ref": "#/definitions/storedListQueryLoaderConfig"
|
|
1986
|
-
}
|
|
1987
|
-
}
|
|
1988
|
-
]
|
|
1989
|
-
},
|
|
1990
|
-
"get": {
|
|
1991
|
-
"$ref": "#/definitions/getQueryLoaderConfig"
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
"additionalProperties": false,
|
|
1995
|
-
"required": ["list"]
|
|
1996
|
-
},
|
|
1997
|
-
"cachedFragmentConfig": {
|
|
1998
|
-
"title": "Cached Fragment Config",
|
|
1999
|
-
"type": "object",
|
|
2000
|
-
"properties": {
|
|
2001
|
-
"ignoreFields": {
|
|
2002
|
-
"type": "array",
|
|
2003
|
-
"items": {
|
|
2004
|
-
"type": "string"
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
"maxDepth": {
|
|
2008
|
-
"type": "number"
|
|
2009
|
-
},
|
|
2010
|
-
"selectionSet": {
|
|
2011
|
-
"type": "string"
|
|
2012
|
-
}
|
|
2013
|
-
},
|
|
2014
|
-
"additionalProperties": false
|
|
2015
|
-
},
|
|
2016
|
-
"listQueryLoaderConfig": {
|
|
2017
|
-
"title": "ListQueryLoaderConfig",
|
|
2018
|
-
"type": "object",
|
|
2019
|
-
"properties": {
|
|
2020
|
-
"query": {
|
|
2021
|
-
"type": "string"
|
|
2022
|
-
},
|
|
2023
|
-
"args": {
|
|
2024
|
-
"type": "object",
|
|
2025
|
-
"additionalProperties": true
|
|
2026
|
-
},
|
|
2027
|
-
"pagination": {
|
|
2028
|
-
"$ref": "#/definitions/paginationConfig"
|
|
2029
|
-
}
|
|
2030
|
-
},
|
|
2031
|
-
"additionalProperties": false,
|
|
2032
|
-
"required": ["query"]
|
|
2033
|
-
},
|
|
2034
|
-
"storedListQueryLoaderConfig": {
|
|
2035
|
-
"title": "StoredListQueryLoaderConfig",
|
|
2036
|
-
"type": "object",
|
|
2037
|
-
"properties": {
|
|
2038
|
-
"query": {
|
|
2039
|
-
"type": "string"
|
|
2040
|
-
},
|
|
2041
|
-
"args": {
|
|
2042
|
-
"oneOf": [
|
|
2043
|
-
{
|
|
2044
|
-
"type": "object",
|
|
2045
|
-
"additionalProperties": true
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
"type": "array",
|
|
2049
|
-
"items": {
|
|
2050
|
-
"type": "object",
|
|
2051
|
-
"additionalProperties": true
|
|
2052
|
-
}
|
|
2053
|
-
}
|
|
2054
|
-
]
|
|
2055
|
-
},
|
|
2056
|
-
"pagination": {
|
|
2057
|
-
"$ref": "#/definitions/paginationConfig"
|
|
2058
|
-
}
|
|
2059
|
-
},
|
|
2060
|
-
"additionalProperties": false,
|
|
2061
|
-
"required": ["query"]
|
|
2062
|
-
},
|
|
2063
|
-
"getQueryLoaderConfig": {
|
|
2064
|
-
"title": "GetQueryLoaderConfig",
|
|
2065
|
-
"type": "object",
|
|
2066
|
-
"properties": {
|
|
2067
|
-
"query": {
|
|
2068
|
-
"type": "string"
|
|
2069
|
-
},
|
|
2070
|
-
"args": {
|
|
2071
|
-
"type": "object",
|
|
2072
|
-
"additionalProperties": true
|
|
2073
|
-
},
|
|
2074
|
-
"idArg": {
|
|
2075
|
-
"type": "string"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
"additionalProperties": false,
|
|
2079
|
-
"required": ["query"]
|
|
2080
|
-
},
|
|
2081
|
-
"paginationConfig": {
|
|
2082
|
-
"title": "Pagination Config",
|
|
2083
|
-
"oneOf": [
|
|
2084
|
-
{
|
|
2085
|
-
"$ref": "#/definitions/paginationCursorConfig"
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"$ref": "#/definitions/paginationPageConfig"
|
|
2089
|
-
},
|
|
2090
|
-
{
|
|
2091
|
-
"$ref": "#/definitions/paginationOffsetConfig"
|
|
2092
|
-
}
|
|
2093
|
-
]
|
|
2094
|
-
},
|
|
2095
|
-
"paginationCursorConfig": {
|
|
2096
|
-
"title": "Pagination Cursor Config",
|
|
2097
|
-
"type": "object",
|
|
2098
|
-
"properties": {
|
|
2099
|
-
"type": {
|
|
2100
|
-
"type": "string",
|
|
2101
|
-
"enum": ["cursor"]
|
|
2102
|
-
},
|
|
2103
|
-
"cursorArg": {
|
|
2104
|
-
"type": "string"
|
|
2105
|
-
},
|
|
2106
|
-
"cursorPath": {
|
|
2107
|
-
"type": "string"
|
|
2108
|
-
},
|
|
2109
|
-
"pageSize": {
|
|
2110
|
-
"type": "number"
|
|
2111
|
-
},
|
|
2112
|
-
"pageSizeArg": {
|
|
2113
|
-
"type": "string"
|
|
2114
|
-
},
|
|
2115
|
-
"hasMorePath": {
|
|
2116
|
-
"type": "string"
|
|
2117
|
-
},
|
|
2118
|
-
"itemsPath": {
|
|
2119
|
-
"type": "string"
|
|
2120
|
-
}
|
|
2121
|
-
},
|
|
2122
|
-
"additionalProperties": false,
|
|
2123
|
-
"required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsPath"]
|
|
2124
|
-
},
|
|
2125
|
-
"paginationPageConfig": {
|
|
2126
|
-
"title": "Pagination Page Config",
|
|
2127
|
-
"type": "object",
|
|
2128
|
-
"properties": {
|
|
2129
|
-
"type": {
|
|
2130
|
-
"type": "string",
|
|
2131
|
-
"enum": ["page"]
|
|
2132
|
-
},
|
|
2133
|
-
"pageArg": {
|
|
2134
|
-
"type": "string"
|
|
2135
|
-
},
|
|
2136
|
-
"pageSize": {
|
|
2137
|
-
"type": "number"
|
|
2138
|
-
},
|
|
2139
|
-
"pageSizeArg": {
|
|
2140
|
-
"type": "string"
|
|
2141
|
-
},
|
|
2142
|
-
"itemsPath": {
|
|
2143
|
-
"type": "string"
|
|
2144
|
-
},
|
|
2145
|
-
"pageTotalPath": {
|
|
2146
|
-
"type": "string"
|
|
2147
|
-
}
|
|
2148
|
-
},
|
|
2149
|
-
"additionalProperties": false,
|
|
2150
|
-
"required": ["type", "pageArg", "itemsPath", "pageTotalPath"]
|
|
2151
|
-
},
|
|
2152
|
-
"paginationOffsetConfig": {
|
|
2153
|
-
"title": "Pagination Offset Config",
|
|
2154
|
-
"type": "object",
|
|
2155
|
-
"properties": {
|
|
2156
|
-
"type": {
|
|
2157
|
-
"type": "string",
|
|
2158
|
-
"enum": ["offset"]
|
|
2159
|
-
},
|
|
2160
|
-
"offsetArg": {
|
|
2161
|
-
"type": "string"
|
|
2162
|
-
},
|
|
2163
|
-
"pageSize": {
|
|
2164
|
-
"type": "number"
|
|
2165
|
-
},
|
|
2166
|
-
"pageSizeArg": {
|
|
2167
|
-
"type": "string"
|
|
2168
|
-
},
|
|
2169
|
-
"itemsPath": {
|
|
2170
|
-
"type": "string"
|
|
2171
|
-
},
|
|
2172
|
-
"itemTotalPath": {
|
|
2173
|
-
"type": "string"
|
|
2174
|
-
}
|
|
2175
|
-
},
|
|
2176
|
-
"additionalProperties": false,
|
|
2177
|
-
"required": ["type", "offsetArg", "itemsPath", "itemTotalPath"]
|
|
2178
|
-
},
|
|
2179
|
-
"cacheTriggerConfig": {
|
|
2180
|
-
"title": "CacheTriggerConfig",
|
|
2181
|
-
"oneOf": [
|
|
2182
|
-
{
|
|
2183
|
-
"$ref": "#/definitions/cacheScheduleTriggerConfig"
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"$ref": "#/definitions/cacheWebhookTriggerConfig"
|
|
2187
|
-
}
|
|
2188
|
-
]
|
|
2189
|
-
},
|
|
2190
|
-
"cacheScheduleTriggerConfig": {
|
|
2191
|
-
"title": "CacheScheduleTriggerConfig",
|
|
2192
|
-
"type": "object",
|
|
2193
|
-
"properties": {
|
|
2194
|
-
"type": {
|
|
2195
|
-
"type": "string",
|
|
2196
|
-
"enum": ["schedule"]
|
|
2197
|
-
},
|
|
2198
|
-
"loader": {
|
|
2199
|
-
"enum": ["get", "list"]
|
|
2200
|
-
},
|
|
2201
|
-
"interval": {
|
|
2202
|
-
"type": "number"
|
|
2203
|
-
}
|
|
2204
|
-
},
|
|
2205
|
-
"additionalProperties": false,
|
|
2206
|
-
"required": ["type", "loader", "interval"]
|
|
2207
|
-
},
|
|
2208
|
-
"cacheWebhookTriggerConfig": {
|
|
2209
|
-
"title": "CacheWebhookTriggerConfig",
|
|
2210
|
-
"type": "object",
|
|
2211
|
-
"properties": {
|
|
2212
|
-
"type": {
|
|
2213
|
-
"type": "string",
|
|
2214
|
-
"enum": ["webhook"]
|
|
2215
|
-
},
|
|
2216
|
-
"loader": {
|
|
2217
|
-
"enum": ["get", "list"]
|
|
2218
|
-
},
|
|
2219
|
-
"service": {
|
|
2220
|
-
"type": "string"
|
|
2221
|
-
},
|
|
2222
|
-
"events": {
|
|
2223
|
-
"type": "array",
|
|
2224
|
-
"items": {
|
|
2225
|
-
"type": "string"
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
},
|
|
2229
|
-
"additionalProperties": false,
|
|
2230
|
-
"required": ["type", "loader", "service", "events"]
|
|
2231
|
-
},
|
|
2232
|
-
"formScalarConfig": {
|
|
2233
|
-
"title": "Form Scalar Config",
|
|
2234
|
-
"type": "object",
|
|
2235
|
-
"properties": {
|
|
2236
|
-
"widget": {
|
|
2237
|
-
"type": "string"
|
|
2238
|
-
}
|
|
2239
|
-
},
|
|
2240
|
-
"additionalProperties": false,
|
|
2241
|
-
"required": ["widget"]
|
|
2242
|
-
},
|
|
2243
|
-
"formObjectConfig": {
|
|
2244
|
-
"title": "Form Object Config",
|
|
2245
|
-
"type": "object",
|
|
2246
|
-
"properties": {
|
|
2247
|
-
"widget": {
|
|
2248
|
-
"type": "string"
|
|
2249
|
-
},
|
|
2250
|
-
"order": {
|
|
2251
|
-
"type": "array",
|
|
2252
|
-
"items": {
|
|
2253
|
-
"type": "string"
|
|
2254
|
-
}
|
|
2255
|
-
},
|
|
2256
|
-
"properties": {
|
|
2257
|
-
"patternProperties": {
|
|
2258
|
-
"[0-9A-Za-z_-]+": {
|
|
2259
|
-
"$ref": "#/definitions/formConfig"
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
}
|
|
2263
|
-
},
|
|
2264
|
-
"additionalProperties": false
|
|
2265
|
-
},
|
|
2266
|
-
"formArrayConfig": {
|
|
2267
|
-
"title": "Form Array Config",
|
|
2268
|
-
"type": "object",
|
|
2269
|
-
"properties": {
|
|
2270
|
-
"widget": {
|
|
2271
|
-
"type": "string"
|
|
2272
|
-
},
|
|
2273
|
-
"items": {
|
|
2274
|
-
"$ref": "#/definitions/formConfig"
|
|
2275
|
-
}
|
|
2276
|
-
},
|
|
2277
|
-
"additionalProperties": false,
|
|
2278
|
-
"required": ["widget", "items"]
|
|
2279
|
-
},
|
|
2280
|
-
"customAuthentication": {
|
|
2281
|
-
"title": "Custom Authentication",
|
|
2282
|
-
"description": "For use with a custom auth handler on a service provider.",
|
|
2283
|
-
"type": "object",
|
|
2284
|
-
"properties": {
|
|
2285
|
-
"type": {
|
|
2286
|
-
"type": "string",
|
|
2287
|
-
"enum": ["custom"]
|
|
2288
|
-
}
|
|
2289
|
-
},
|
|
2290
|
-
"additionalProperties": true,
|
|
2291
|
-
"required": ["type"]
|
|
2292
|
-
},
|
|
2293
|
-
"searchParamsAuthentication": {
|
|
2294
|
-
"title": "Search Params Authentication",
|
|
2295
|
-
"type": "object",
|
|
2296
|
-
"properties": {
|
|
2297
|
-
"type": {
|
|
2298
|
-
"type": "string",
|
|
2299
|
-
"enum": ["searchParams"]
|
|
2300
|
-
},
|
|
2301
|
-
"params": {
|
|
2302
|
-
"type": "array",
|
|
2303
|
-
"items": {
|
|
2304
|
-
"properties": {
|
|
2305
|
-
"name": {
|
|
2306
|
-
"type": "string"
|
|
2307
|
-
},
|
|
2308
|
-
"value": {
|
|
2309
|
-
"type": "string"
|
|
2310
|
-
}
|
|
2311
|
-
},
|
|
2312
|
-
"required": ["name", "value"],
|
|
2313
|
-
"additionalProperties": false
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
"additionalProperties": false,
|
|
2318
|
-
"required": ["type", "params"]
|
|
2319
|
-
},
|
|
2320
|
-
"bearerAuthentication": {
|
|
2321
|
-
"title": "Bearer Authentication",
|
|
2322
|
-
"type": "object",
|
|
2323
|
-
"properties": {
|
|
2324
|
-
"type": {
|
|
2325
|
-
"type": "string",
|
|
2326
|
-
"enum": ["bearer"]
|
|
2327
|
-
},
|
|
2328
|
-
"token": {
|
|
2329
|
-
"type": "string"
|
|
2330
|
-
},
|
|
2331
|
-
"prefix": {
|
|
2332
|
-
"type": "string"
|
|
2333
|
-
},
|
|
2334
|
-
"header": {
|
|
2335
|
-
"type": "string"
|
|
2336
|
-
}
|
|
2337
|
-
},
|
|
2338
|
-
"additionalProperties": false,
|
|
2339
|
-
"required": ["type", "token"]
|
|
2340
|
-
},
|
|
2341
|
-
"oauth2BearerAuthentication": {
|
|
2342
|
-
"title": "OAuth 2 Bearer Authentication",
|
|
2343
|
-
"type": "object",
|
|
2344
|
-
"properties": {
|
|
2345
|
-
"type": {
|
|
2346
|
-
"type": "string",
|
|
2347
|
-
"enum": ["oauth2Bearer"]
|
|
2348
|
-
},
|
|
2349
|
-
"token": {
|
|
2350
|
-
"type": "string"
|
|
2351
|
-
},
|
|
2352
|
-
"prefix": {
|
|
2353
|
-
"type": "string"
|
|
2354
|
-
},
|
|
2355
|
-
"header": {
|
|
2356
|
-
"type": "string"
|
|
2357
|
-
},
|
|
2358
|
-
"scope": {
|
|
2359
|
-
"type": "string"
|
|
2360
|
-
},
|
|
2361
|
-
"expiresAt": {
|
|
2362
|
-
"type": "string"
|
|
2363
|
-
}
|
|
2364
|
-
},
|
|
2365
|
-
"additionalProperties": false,
|
|
2366
|
-
"required": ["type", "token"]
|
|
2367
|
-
},
|
|
2368
|
-
"basicAuthentication": {
|
|
2369
|
-
"title": "Basic Authentication",
|
|
2370
|
-
"type": "object",
|
|
2371
|
-
"properties": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"type": "string",
|
|
2374
|
-
"enum": ["basic"]
|
|
2375
|
-
},
|
|
2376
|
-
"username": {
|
|
2377
|
-
"type": "string"
|
|
2378
|
-
},
|
|
2379
|
-
"password": {
|
|
2380
|
-
"type": "string"
|
|
2381
|
-
},
|
|
2382
|
-
"useIso8859": {
|
|
2383
|
-
"type": "boolean"
|
|
2384
|
-
}
|
|
2385
|
-
},
|
|
2386
|
-
"additionalProperties": false,
|
|
2387
|
-
"required": ["type", "username", "password"]
|
|
2388
|
-
},
|
|
2389
|
-
"oauth2Authentication": {
|
|
2390
|
-
"title": "OAuth 2 Authentication",
|
|
2391
|
-
"type": "object",
|
|
2392
|
-
"properties": {
|
|
2393
|
-
"type": {
|
|
2394
|
-
"type": "string",
|
|
2395
|
-
"enum": ["oauth2"]
|
|
2396
|
-
},
|
|
2397
|
-
"grantType": {
|
|
2398
|
-
"type": "string",
|
|
2399
|
-
"enum": ["authorizationCode", "clientCredentials"]
|
|
2400
|
-
},
|
|
2401
|
-
"authorizationUrl": {
|
|
2402
|
-
"type": "string"
|
|
2403
|
-
},
|
|
2404
|
-
"accessTokenUrl": {
|
|
2405
|
-
"type": "string"
|
|
2406
|
-
},
|
|
2407
|
-
"clientId": {
|
|
2408
|
-
"type": "string"
|
|
2409
|
-
},
|
|
2410
|
-
"clientSecret": {
|
|
2411
|
-
"type": "string"
|
|
2412
|
-
},
|
|
2413
|
-
"scope": {
|
|
2414
|
-
"type": "string"
|
|
2415
|
-
},
|
|
2416
|
-
"usePkce": {
|
|
2417
|
-
"type": "boolean"
|
|
2418
|
-
},
|
|
2419
|
-
"redirectUrl": {
|
|
2420
|
-
"type": "string"
|
|
2421
|
-
},
|
|
2422
|
-
"headerPrefix": {
|
|
2423
|
-
"type": "string"
|
|
2424
|
-
},
|
|
2425
|
-
"audience": {
|
|
2426
|
-
"type": "string"
|
|
2427
|
-
},
|
|
2428
|
-
"resource": {
|
|
2429
|
-
"type": "string"
|
|
2430
|
-
}
|
|
2431
|
-
},
|
|
2432
|
-
"additionalProperties": false,
|
|
2433
|
-
"required": ["type", "grantType", "clientId"]
|
|
2434
|
-
},
|
|
2435
|
-
"awsAuthentication": {
|
|
2436
|
-
"title": "AWS Authentication",
|
|
2437
|
-
"type": "object",
|
|
2438
|
-
"properties": {
|
|
2439
|
-
"type": {
|
|
2440
|
-
"type": "string",
|
|
2441
|
-
"enum": ["aws"]
|
|
2442
|
-
},
|
|
2443
|
-
"awsAccessKeyId": {
|
|
2444
|
-
"type": "string"
|
|
2445
|
-
},
|
|
2446
|
-
"awsSecretAccessKey": {
|
|
2447
|
-
"type": "string"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
"additionalProperties": false,
|
|
2451
|
-
"required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
|
|
2452
|
-
},
|
|
2453
|
-
"serviceAuthentication": {
|
|
2454
|
-
"title": "Service Authentication",
|
|
2455
|
-
"oneOf": [
|
|
2456
|
-
{
|
|
2457
|
-
"$ref": "#/definitions/oauth2Authentication"
|
|
2458
|
-
},
|
|
2459
|
-
{
|
|
2460
|
-
"$ref": "#/definitions/oauth2BearerAuthentication"
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"$ref": "#/definitions/bearerAuthentication"
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"$ref": "#/definitions/basicAuthentication"
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
"$ref": "#/definitions/searchParamsAuthentication"
|
|
2470
|
-
},
|
|
2471
|
-
{
|
|
2472
|
-
"$ref": "#/definitions/awsAuthentication"
|
|
2473
|
-
},
|
|
2474
|
-
{
|
|
2475
|
-
"$ref": "#/definitions/customAuthentication"
|
|
2476
|
-
}
|
|
2477
|
-
]
|
|
2478
|
-
},
|
|
2479
|
-
"serviceType": {
|
|
2480
|
-
"title": "Service Type",
|
|
2481
|
-
"description": "The general type of this service, specifying how and where it will be utilized.",
|
|
2482
|
-
"type": "string",
|
|
2483
|
-
"enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
|
|
2484
|
-
},
|
|
2485
|
-
"serviceConfig": {
|
|
2486
|
-
"title": "Service Config",
|
|
2487
|
-
"type": "object",
|
|
2488
|
-
"properties": {
|
|
2489
|
-
"id": {
|
|
2490
|
-
"type": "string",
|
|
2491
|
-
"description": "Machine-readable identifier, should typically be the same as the property name on the services object."
|
|
2492
|
-
},
|
|
2493
|
-
"title": {
|
|
2494
|
-
"type": "string",
|
|
2495
|
-
"description": "Human-readable name for this service."
|
|
2496
|
-
},
|
|
2497
|
-
"provider": {
|
|
2498
|
-
"description": "The service provider id.",
|
|
2499
|
-
"type": "string"
|
|
2500
|
-
},
|
|
2501
|
-
"namespace": {
|
|
2502
|
-
"type": "string",
|
|
2503
|
-
"description": "A namespace to use for the imported types tied to this service."
|
|
2504
|
-
},
|
|
2505
|
-
"serviceType": {
|
|
2506
|
-
"$ref": "#/definitions/serviceType"
|
|
2507
|
-
},
|
|
2508
|
-
"authenticationType": {
|
|
2509
|
-
"type": "string",
|
|
2510
|
-
"enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
|
|
2511
|
-
},
|
|
2512
|
-
"authentication": {
|
|
2513
|
-
"$ref": "#/definitions/serviceAuthentication"
|
|
2514
|
-
},
|
|
2515
|
-
"webhookId": {
|
|
2516
|
-
"type": "string"
|
|
2517
|
-
},
|
|
2518
|
-
"options": {
|
|
2519
|
-
"type": "object",
|
|
2520
|
-
"description": "Configuration options passed to and handled by the provider."
|
|
2521
|
-
}
|
|
2522
|
-
},
|
|
2523
|
-
"required": ["id", "title", "provider", "serviceType", "authenticationType"],
|
|
2524
|
-
"additionalProperties": false
|
|
2525
|
-
},
|
|
2526
|
-
"storedServiceConfig": {
|
|
2527
|
-
"title": "Service Config JSON",
|
|
2528
|
-
"type": "object",
|
|
2529
|
-
"properties": {
|
|
2530
|
-
"id": {
|
|
2531
|
-
"type": "string",
|
|
2532
|
-
"description": "Machine-readable identifier, should typically be the same as the property name on the services object."
|
|
2533
|
-
},
|
|
2534
|
-
"title": {
|
|
2535
|
-
"type": "string",
|
|
2536
|
-
"description": "Human-readable name for this service."
|
|
2537
|
-
},
|
|
2538
|
-
"provider": {
|
|
2539
|
-
"type": "string",
|
|
2540
|
-
"description": "The service provider id."
|
|
2541
|
-
},
|
|
2542
|
-
"namespace": {
|
|
2543
|
-
"type": "string",
|
|
2544
|
-
"description": "A namespace to use for the imported types tied to this service."
|
|
2545
|
-
},
|
|
2546
|
-
"serviceType": {
|
|
2547
|
-
"$ref": "#/definitions/serviceType"
|
|
2548
|
-
},
|
|
2549
|
-
"authenticationType": {
|
|
2550
|
-
"type": "string",
|
|
2551
|
-
"enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
|
|
2552
|
-
},
|
|
2553
|
-
"authentication": {
|
|
2554
|
-
"type": "string"
|
|
2555
|
-
},
|
|
2556
|
-
"webhookId": {
|
|
2557
|
-
"type": "string"
|
|
2558
|
-
},
|
|
2559
|
-
"options": {
|
|
2560
|
-
"type": "object",
|
|
2561
|
-
"description": "Configuration options passed to and handled by the provider."
|
|
2562
|
-
}
|
|
2563
|
-
},
|
|
2564
|
-
"required": ["id", "title", "provider", "serviceType", "authenticationType"],
|
|
2565
|
-
"additionalProperties": false
|
|
2566
|
-
},
|
|
2567
|
-
"anyServiceConfig": {
|
|
2568
|
-
"title": "Any Service Config",
|
|
2569
|
-
"oneOf": [
|
|
2570
|
-
{
|
|
2571
|
-
"$ref": "#/definitions/storedServiceConfig"
|
|
2572
|
-
},
|
|
2573
|
-
{
|
|
2574
|
-
"$ref": "#/definitions/serviceConfig"
|
|
2575
|
-
}
|
|
2576
|
-
]
|
|
2577
|
-
},
|
|
2578
|
-
"storedServiceMap": {
|
|
2579
|
-
"title": "Service Map JSON",
|
|
2580
|
-
"type": "object",
|
|
2581
|
-
"patternProperties": {
|
|
2582
|
-
"[0-9A-Za-z_-]+": {
|
|
2583
|
-
"$ref": "#/definitions/storedServiceConfig"
|
|
2584
|
-
}
|
|
2585
|
-
}
|
|
2586
|
-
},
|
|
2587
|
-
"workflowStep": {
|
|
2588
|
-
"title": "Workflow Step",
|
|
2589
|
-
"type": "object",
|
|
2590
|
-
"properties": {
|
|
2591
|
-
"name": {
|
|
2592
|
-
"type": "string",
|
|
2593
|
-
"title": "Name",
|
|
2594
|
-
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
2595
|
-
"description": "machine-readable slug"
|
|
2596
|
-
},
|
|
2597
|
-
"title": {
|
|
2598
|
-
"title": "Title",
|
|
2599
|
-
"type": "string",
|
|
2600
|
-
"description": "Human-readable id for use in the UI"
|
|
2601
|
-
},
|
|
2602
|
-
"description": {
|
|
2603
|
-
"title": "Description",
|
|
2604
|
-
"type": "string"
|
|
2605
|
-
},
|
|
2606
|
-
"color": {
|
|
2607
|
-
"title": "Color",
|
|
2608
|
-
"type": "string",
|
|
2609
|
-
"description": "Hex color code"
|
|
2610
|
-
},
|
|
2611
|
-
"live": {
|
|
2612
|
-
"title": "Live",
|
|
2613
|
-
"type": "boolean",
|
|
2614
|
-
"description": "Value to indicate whether items in the state should be returned in list queries"
|
|
2615
|
-
},
|
|
2616
|
-
"key": {
|
|
2617
|
-
"title": "Key",
|
|
2618
|
-
"type": "string",
|
|
2619
|
-
"description": "machine-readable id"
|
|
2620
|
-
}
|
|
2621
|
-
},
|
|
2622
|
-
"required": ["name", "title", "color", "live", "key"],
|
|
2623
|
-
"additionalProperties": false
|
|
2624
|
-
},
|
|
2625
|
-
"workflow": {
|
|
2626
|
-
"title": "Workflow",
|
|
2627
|
-
"type": "object",
|
|
2628
|
-
"properties": {
|
|
2629
|
-
"name": {
|
|
2630
|
-
"type": "string",
|
|
2631
|
-
"pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
|
|
2632
|
-
"description": "machine-readable id"
|
|
2633
|
-
},
|
|
2634
|
-
"title": {
|
|
2635
|
-
"type": "string",
|
|
2636
|
-
"title": "Workflow Name",
|
|
2637
|
-
"minLength": 1,
|
|
2638
|
-
"description": "Human-readable id for use in the UI"
|
|
2639
|
-
},
|
|
2640
|
-
"steps": {
|
|
2641
|
-
"type": "array",
|
|
2642
|
-
"title": "Steps",
|
|
2643
|
-
"items": {
|
|
2644
|
-
"$ref": "#/definitions/workflowStep"
|
|
2645
|
-
},
|
|
2646
|
-
"minItems": 1
|
|
2647
|
-
}
|
|
2648
|
-
},
|
|
2649
|
-
"required": ["name", "title", "steps"]
|
|
2650
|
-
},
|
|
2651
|
-
"workflowMap": {
|
|
2652
|
-
"title": "Workflow Map",
|
|
2653
|
-
"type": "object",
|
|
2654
|
-
"patternProperties": {
|
|
2655
|
-
"[0-9A-Za-z_-]+": {
|
|
2656
|
-
"$ref": "#/definitions/workflow"
|
|
2657
|
-
}
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
"formConfig": {
|
|
2661
|
-
"title": "Form Config",
|
|
2662
|
-
"type": "object"
|
|
2663
|
-
},
|
|
2664
|
-
"formsConfig": {
|
|
2665
|
-
"title": "Forms Config",
|
|
2666
|
-
"type": "object",
|
|
2667
|
-
"properties": {
|
|
2668
|
-
"default": {
|
|
2669
|
-
"$ref": "#/definitions/formConfig"
|
|
2670
|
-
}
|
|
2671
|
-
},
|
|
2672
|
-
"patternProperties": {
|
|
2673
|
-
"[0-9A-Za-z_-]+": {
|
|
2674
|
-
"$ref": "#/definitions/formConfig"
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2677
|
-
"required": ["default"]
|
|
2678
|
-
}
|
|
2679
|
-
},
|
|
2680
|
-
"properties": {
|
|
2681
|
-
"$schema": {
|
|
2682
|
-
"type": "string"
|
|
2683
|
-
},
|
|
2684
|
-
"apiVersion": {
|
|
2685
|
-
"type": "string",
|
|
2686
|
-
"description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
|
|
2687
|
-
},
|
|
2688
|
-
"schemaVersion": {
|
|
2689
|
-
"type": "string",
|
|
2690
|
-
"enum": ["3.36.0"],
|
|
2691
|
-
"description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
|
|
2692
|
-
},
|
|
2693
|
-
"projectId": {
|
|
2694
|
-
"type": "string",
|
|
2695
|
-
"description": "The ID of the TakeShape project this schema belongs to."
|
|
2696
|
-
},
|
|
2697
|
-
"author": {
|
|
2698
|
-
"type": "string",
|
|
2699
|
-
"description": "The ID of the TakeShape user who created the schema."
|
|
2700
|
-
},
|
|
2701
|
-
"deactivated": {
|
|
2702
|
-
"type": "number"
|
|
2703
|
-
},
|
|
2704
|
-
"defaultLocale": {
|
|
2705
|
-
"type": "string",
|
|
2706
|
-
"minLength": 1,
|
|
2707
|
-
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$",
|
|
2708
|
-
"description": "The locale that should be preferred when creating new Shape items. This must be an entry in the locales array."
|
|
2709
|
-
},
|
|
2710
|
-
"locales": {
|
|
2711
|
-
"type": "array",
|
|
2712
|
-
"minItems": 1,
|
|
2713
|
-
"items": {
|
|
2714
|
-
"type": "string",
|
|
2715
|
-
"minLength": 1,
|
|
2716
|
-
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
|
|
2717
|
-
}
|
|
2718
|
-
},
|
|
2719
|
-
"queries": {
|
|
2720
|
-
"$ref": "#/definitions/queryMap",
|
|
2721
|
-
"description": "Queries map directly to queries your project's GraphQL API"
|
|
2722
|
-
},
|
|
2723
|
-
"mutations": {
|
|
2724
|
-
"$ref": "#/definitions/queryMap",
|
|
2725
|
-
"description": "Mutations map directly to mutations your project's GraphQL API"
|
|
2726
|
-
},
|
|
2727
|
-
"shapes": {
|
|
2728
|
-
"$ref": "#/definitions/shapeMap",
|
|
2729
|
-
"description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
|
|
2730
|
-
},
|
|
2731
|
-
"forms": {
|
|
2732
|
-
"$ref": "#/definitions/formMap",
|
|
2733
|
-
"description": "Forms define a visual interface for editing Shapes in the TakeShape UI."
|
|
2734
|
-
},
|
|
2735
|
-
"workflows": {
|
|
2736
|
-
"$ref": "#/definitions/workflowMap",
|
|
2737
|
-
"description": "Workflows describe the status of a shape item. Every schema starts with a default workflow with two steps, Disabled and Enabled"
|
|
2738
|
-
},
|
|
2739
|
-
"services": {
|
|
2740
|
-
"$ref": "#/definitions/storedServiceMap",
|
|
2741
|
-
"description": "By connecting new Services to your project schema, you can add shapes, queries, and mutations from 3rd party sources to your API in TakeShape. This allows you to mesh together exactly the API you need to interact with all of the services your app or business depends upon. Services use an encrypted configuration to keep auth tokens secret. For this reason, services can only be added to a schema through the web client or through the Admin API."
|
|
2742
|
-
}
|
|
2743
|
-
},
|
|
2744
|
-
"additionalProperties": false,
|
|
2745
|
-
"required": [
|
|
2746
|
-
"projectId",
|
|
2747
|
-
"apiVersion",
|
|
2748
|
-
"schemaVersion",
|
|
2749
|
-
"defaultLocale",
|
|
2750
|
-
"locales",
|
|
2751
|
-
"shapes",
|
|
2752
|
-
"queries",
|
|
2753
|
-
"mutations",
|
|
2754
|
-
"workflows"
|
|
2755
|
-
]
|
|
2756
|
-
}
|