{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/graphql-mesh/latest.json",
  "title": "Config",
  "x-lintel": {
    "source": "https://unpkg.com/@graphql-mesh/types/esm/config-schema.json",
    "sourceSha256": "815bb44b7fd59018d5deab433357a669a966ee8f00c49273c31852ff08c22eae",
    "fileMatch": [
      ".meshrc.yml",
      ".meshrc.yaml",
      ".meshrc.json",
      ".graphql-mesh.yaml",
      ".graphql-mesh.yml"
    ],
    "parsers": [
      "json",
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "serve": {
      "$ref": "#/$defs/ServeConfig",
      "description": "Configuration for `mesh start` or `mesh dev` command.\nThose commands won't be available in programmatic usage."
    },
    "sdk": {
      "$ref": "#/$defs/SDKConfig",
      "description": "SDK Configuration"
    },
    "codegen": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "additionalItems": true
        }
      ],
      "description": "Codegen Configuration"
    },
    "require": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "additionalItems": false
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Source"
      },
      "additionalItems": false,
      "description": "Defines the list of your external data sources for your API mesh"
    },
    "transforms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Transform"
      },
      "additionalItems": false,
      "description": "Transform to apply to the unified mesh schema"
    },
    "additionalTypeDefs": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "additionalItems": true
        }
      ],
      "description": "Additional type definitions, or type definitions overrides you wish to add to the schema mesh"
    },
    "additionalResolvers": {
      "type": "array",
      "items": {
        "description": "Any of: String, AdditionalStitchingResolverObject, AdditionalStitchingBatchResolverObject, AdditionalSubscriptionObject",
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/$defs/AdditionalStitchingResolverObject"
          },
          {
            "$ref": "#/$defs/AdditionalStitchingBatchResolverObject"
          },
          {
            "$ref": "#/$defs/AdditionalSubscriptionObject"
          }
        ]
      },
      "additionalItems": false,
      "description": "Additional resolvers, or resolvers overrides you wish to add to the schema mesh (Any of: String, AdditionalStitchingResolverObject, AdditionalStitchingBatchResolverObject, AdditionalSubscriptionObject)"
    },
    "cache": {
      "$ref": "#/$defs/Cache",
      "description": "Backend cache"
    },
    "merger": {
      "type": "string",
      "description": "Merge method"
    },
    "pubsub": {
      "description": "PubSub Implementation (Any of: String, PubSubConfig)",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "$ref": "#/$defs/PubSubConfig"
        }
      ]
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "additionalItems": false,
      "description": "Provide a query or queries for GraphQL Playground, validation and SDK Generation\nThe value can be the file path, glob expression for the file paths or the SDL.\n(.js, .jsx, .graphql, .gql, .ts and .tsx files are supported."
    },
    "persistedOperations": {
      "$ref": "#/$defs/PersistedOperationsConfig",
      "description": "Configure persisted operations options"
    },
    "logger": {
      "type": "string",
      "description": "Path to a file exporting a logger instance compatible with the `Logger` type from `@graphql-mesh/types`"
    },
    "customFetch": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "additionalItems": true
        }
      ],
      "description": "Path to a custom W3 Compatible Fetch Implementation"
    },
    "skipSSLValidation": {
      "type": "boolean",
      "description": "Allow connections to an SSL endpoint without certificates"
    },
    "additionalEnvelopPlugins": {
      "type": "string",
      "description": "Path to a JavaScript file with a default export of Envelop plugins"
    },
    "plugins": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Plugin"
      },
      "additionalItems": false
    },
    "pollingInterval": {
      "type": "integer",
      "description": "If you are using a CDN for a source (e.g. Federation Supergraph), this will be the polling interval in milliseconds for the CDN without a downtime"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Cache": {
      "properties": {
        "cfwKv": {
          "$ref": "#/$defs/CFWorkersKVCacheConfig"
        },
        "file": {
          "$ref": "#/$defs/FileCacheConfig"
        },
        "localforage": {
          "$ref": "#/$defs/LocalforageConfig"
        },
        "redis": {
          "description": "Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster",
          "anyOf": [
            {
              "$ref": "#/$defs/RedisConfigSentinel"
            },
            {
              "$ref": "#/$defs/RedisConfigSingle"
            },
            {
              "$ref": "#/$defs/RedisConfigCluster"
            }
          ]
        }
      },
      "type": "object",
      "title": "Cache",
      "additionalProperties": true
    },
    "CFWorkersKVCacheConfig": {
      "required": [
        "namespace"
      ],
      "type": "object",
      "title": "CFWorkersKVCacheConfig",
      "properties": {
        "namespace": {
          "type": "string",
          "description": "The name of the Workers KV namespace to use for caching.\n\nMake sure you have configured the following namespace described in [here](https://developers.cloudflare.com/workers/wrangler/cli-wrangler/commands/#kv)."
        }
      },
      "additionalProperties": false
    },
    "FileCacheConfig": {
      "properties": {
        "path": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FileCacheConfig",
      "additionalProperties": false
    },
    "LocalforageConfig": {
      "properties": {
        "driver": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "WEBSQL",
              "INDEXEDDB",
              "LOCALSTORAGE"
            ],
            "description": "Allowed values: WEBSQL, INDEXEDDB, LOCALSTORAGE"
          },
          "additionalItems": false,
          "description": "Allowed values: WEBSQL, INDEXEDDB, LOCALSTORAGE"
        },
        "name": {
          "type": "string"
        },
        "version": {
          "type": "number"
        },
        "size": {
          "type": "integer"
        },
        "storeName": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "LocalforageConfig",
      "additionalProperties": false
    },
    "RedisConfigCluster": {
      "required": [
        "startupNodes"
      ],
      "type": "object",
      "title": "RedisConfigCluster",
      "properties": {
        "startupNodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RedisSentinelConfig"
          },
          "additionalItems": false
        },
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "db": {
          "type": "integer"
        },
        "lazyConnect": {
          "type": "boolean",
          "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
        },
        "dnsLookupAsIs": {
          "type": "boolean",
          "description": "Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).\n\n@see <https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls>"
        },
        "tls": {
          "type": "boolean",
          "description": "Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.\n\n@see <https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls>"
        }
      },
      "additionalProperties": false
    },
    "RedisConfigSentinel": {
      "required": [
        "name",
        "sentinels"
      ],
      "type": "object",
      "title": "RedisConfigSentinel",
      "properties": {
        "name": {
          "type": "string",
          "description": "identifies a group of Redis instances composed of a master and one or more slaves"
        },
        "sentinelPassword": {
          "type": "string",
          "description": "(optional) password for Sentinel instances."
        },
        "sentinels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RedisSentinelConfig"
          },
          "additionalItems": false,
          "description": "A list of sentinels to connect to. The list does not need to enumerate all your sentinel instances, but a few so that if one is down the client will try the next one."
        },
        "role": {
          "type": "string",
          "enum": [
            "master",
            "slave"
          ],
          "description": "(optional) with a value of slave will return a random slave from the Sentinel group. (Allowed values: master, slave)"
        },
        "enableTLSForSentinelMode": {
          "type": "boolean",
          "description": "(optional) set to true if connecting to sentinel instances that are encrypted"
        },
        "lazyConnect": {
          "type": "boolean",
          "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
        }
      },
      "additionalProperties": false
    },
    "RedisSentinelConfig": {
      "required": [
        "host",
        "port"
      ],
      "type": "object",
      "title": "RedisSentinelConfig",
      "properties": {
        "host": {
          "type": "string"
        },
        "port": {
          "type": "string"
        },
        "family": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "RedisConfigSingle": {
      "properties": {
        "host": {
          "type": "string"
        },
        "port": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "db": {
          "type": "integer"
        },
        "url": {
          "type": "string"
        },
        "family": {
          "type": "string"
        },
        "lazyConnect": {
          "type": "boolean",
          "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
        }
      },
      "type": "object",
      "title": "RedisConfigSingle",
      "additionalProperties": false
    },
    "ServeConfig": {
      "properties": {
        "fork": {
          "description": "Spawn multiple server instances as node clusters (default: `1`) (Any of: Int, Boolean)",
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "port": {
          "description": "TCP Port to listen (default: `4000`) (Any of: Int, String)",
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "string"
            }
          ]
        },
        "hostname": {
          "type": "string",
          "description": "The binding hostname (default: `localhost`)"
        },
        "cors": {
          "$ref": "#/$defs/CorsConfig",
          "description": "Configuration for CORS"
        },
        "staticFiles": {
          "type": "string",
          "description": "Path to your static files you want to be served with GraphQL Mesh HTTP Server"
        },
        "playground": {
          "type": "boolean",
          "description": "Show GraphiQL Playground"
        },
        "sslCredentials": {
          "$ref": "#/$defs/HTTPSConfig",
          "description": "SSL Credentials for HTTPS Server\nIf this is provided, Mesh will be served via HTTPS"
        },
        "endpoint": {
          "type": "string",
          "description": "Path to GraphQL Endpoint (default: /graphql)"
        },
        "browser": {
          "description": "Path to the browser that will be used by `mesh serve` to open a playground window in development mode\nThis feature can be disabled by passing `false` (Any of: String, Boolean)",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "playgroundTitle": {
          "type": "string",
          "description": "Title of GraphiQL Playground"
        },
        "batchingLimit": {
          "type": "integer",
          "description": "Enable and define a limit for [Request Batching](https://github.com/graphql/graphql-over-http/blob/main/rfcs/Batching.md)"
        },
        "healthCheckEndpoint": {
          "type": "string",
          "description": "Endpoint for [Health Check](https://the-guild.dev/graphql/yoga-server/docs/features/health-check)"
        },
        "extraParamNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "By default, GraphQL Mesh does not allow parameters in the request body except `query`, `variables`, `extensions`, and `operationName`.\n\nThis option allows you to specify additional parameters that are allowed in the request body.\n\n@default []\n\n@example ['doc_id', 'id']"
        }
      },
      "type": "object",
      "title": "ServeConfig",
      "additionalProperties": false
    },
    "CorsConfig": {
      "properties": {
        "origin": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "allowedHeaders": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "exposedHeaders": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "credentials": {
          "type": "boolean"
        },
        "maxAge": {
          "type": "integer"
        },
        "preflightContinue": {
          "type": "boolean"
        },
        "optionsSuccessStatus": {
          "type": "integer"
        }
      },
      "type": "object",
      "title": "CorsConfig",
      "additionalProperties": false
    },
    "HTTPSConfig": {
      "required": [
        "key",
        "cert"
      ],
      "type": "object",
      "title": "HTTPSConfig",
      "properties": {
        "key": {
          "type": "string"
        },
        "cert": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "SDKConfig": {
      "properties": {
        "generateOperations": {
          "$ref": "#/$defs/GenerateOperationsConfig",
          "description": "Use this only if you don't want to use `documents` for SDK,\nand let Mesh generate them for you"
        }
      },
      "type": "object",
      "title": "SDKConfig",
      "additionalProperties": false
    },
    "GenerateOperationsConfig": {
      "properties": {
        "selectionSetDepth": {
          "type": "integer"
        }
      },
      "type": "object",
      "title": "GenerateOperationsConfig",
      "additionalProperties": false
    },
    "Source": {
      "required": [
        "name",
        "handler"
      ],
      "type": "object",
      "title": "Source",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name you wish to set to your remote API, this will be used for building the GraphQL context"
        },
        "handler": {
          "$ref": "#/$defs/Handler",
          "description": "Point to the handler you wish to use, it can either be a predefined handler, or a custom"
        },
        "transforms": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Transform"
          },
          "additionalItems": false,
          "description": "List of transforms to apply to the current API source, before unifying it with the rest of the sources"
        }
      },
      "additionalProperties": false
    },
    "Transform": {
      "properties": {
        "cache": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CacheTransformConfig"
          },
          "additionalItems": false,
          "description": "Transformer to apply caching for your data sources"
        },
        "encapsulate": {
          "$ref": "#/$defs/EncapsulateTransformObject",
          "description": "Transformer to apply encapsulation to the API source, by creating a field for it under the root query"
        },
        "extend": {
          "$ref": "#/$defs/ExtendTransform"
        },
        "federation": {
          "$ref": "#/$defs/FederationTransform"
        },
        "filterSchema": {
          "description": "Transformer to filter (white/black list) GraphQL types, fields and arguments (Any of: FilterSchemaTransform, Any)",
          "anyOf": [
            {
              "$ref": "#/$defs/FilterSchemaTransform"
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": true
                },
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "additionalItems": true
                }
              ]
            }
          ]
        },
        "hoistField": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HoistFieldTransformConfig"
          },
          "additionalItems": false,
          "description": "Transformer to hoist GraphQL fields"
        },
        "namingConvention": {
          "$ref": "#/$defs/NamingConventionTransformConfig",
          "description": "Transformer to apply naming convention to GraphQL Types"
        },
        "prefix": {
          "$ref": "#/$defs/PrefixTransformConfig",
          "description": "Prefix transform"
        },
        "prune": {
          "$ref": "#/$defs/PruneTransformConfig",
          "description": "Prune transform"
        },
        "rateLimit": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RateLimitTransformConfig"
          },
          "additionalItems": false,
          "description": "RateLimit transform"
        },
        "rename": {
          "description": "Transformer to rename GraphQL types and fields (Any of: RenameTransform, Any)",
          "anyOf": [
            {
              "$ref": "#/$defs/RenameTransform"
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": true
                },
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "additionalItems": true
                }
              ]
            }
          ]
        },
        "replaceField": {
          "$ref": "#/$defs/ReplaceFieldTransformConfig",
          "description": "Transformer to replace GraphQL field with partial of full config from a different field"
        },
        "resolversComposition": {
          "description": "Transformer to apply composition to resolvers (Any of: ResolversCompositionTransform, Any)",
          "anyOf": [
            {
              "$ref": "#/$defs/ResolversCompositionTransform"
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": true
                },
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "additionalItems": true
                }
              ]
            }
          ]
        },
        "transferSchema": {
          "$ref": "#/$defs/TransferSchemaTransformConfig",
          "description": "Transformer to transfer (move or copy) GraphQL parts of GraphQL schema across Types and Fields"
        },
        "typeMerging": {
          "$ref": "#/$defs/TypeMergingConfig",
          "description": "[Type Merging](https://www.graphql-tools.com/docs/stitch-type-merging) Configuration"
        }
      },
      "type": "object",
      "title": "Transform",
      "additionalProperties": true
    },
    "Handler": {
      "properties": {
        "graphql": {
          "description": "Handler for remote/local/third-party GraphQL schema (Any of: GraphQLHandlerHTTPConfiguration, GraphQLHandlerCodeFirstConfiguration, GraphQLHandlerMultipleHTTPConfiguration)",
          "anyOf": [
            {
              "$ref": "#/$defs/GraphQLHandlerHTTPConfiguration"
            },
            {
              "$ref": "#/$defs/GraphQLHandlerCodeFirstConfiguration"
            },
            {
              "$ref": "#/$defs/GraphQLHandlerMultipleHTTPConfiguration"
            }
          ]
        },
        "grpc": {
          "$ref": "#/$defs/GrpcHandler",
          "description": "Handler for gRPC and Protobuf schemas"
        },
        "jsonSchema": {
          "$ref": "#/$defs/JsonSchemaHandler",
          "description": "Handler for JSON Schema specification.\nSource could be a local json file, or a url to it."
        },
        "mongoose": {
          "$ref": "#/$defs/MongooseHandler"
        },
        "mysql": {
          "$ref": "#/$defs/MySQLHandler"
        },
        "neo4j": {
          "$ref": "#/$defs/Neo4jHandler",
          "description": "Handler for Neo4j"
        },
        "odata": {
          "$ref": "#/$defs/ODataHandler",
          "description": "Handler for OData"
        },
        "openapi": {
          "$ref": "#/$defs/OpenapiHandler",
          "description": "Handler for Swagger / OpenAPI 2/3 specification. Source could be a local json/swagger file, or a url to it."
        },
        "postgraphile": {
          "$ref": "#/$defs/PostGraphileHandler",
          "description": "Handler for Postgres database, based on `postgraphile`"
        },
        "raml": {
          "$ref": "#/$defs/RAMLHandler"
        },
        "soap": {
          "$ref": "#/$defs/SoapHandler",
          "description": "Handler for SOAP"
        },
        "supergraph": {
          "$ref": "#/$defs/SupergraphHandler"
        },
        "thrift": {
          "$ref": "#/$defs/ThriftHandler",
          "description": "Handler for OData"
        },
        "tuql": {
          "$ref": "#/$defs/TuqlHandler",
          "description": "Handler for SQLite database, based on `tuql`"
        }
      },
      "type": "object",
      "title": "Handler",
      "additionalProperties": true
    },
    "Plugin": {
      "properties": {
        "maskedErrors": {
          "$ref": "#/$defs/MaskedErrorsPluginConfig"
        },
        "immediateIntrospection": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "deduplicateRequest": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "hive": {
          "$ref": "#/$defs/HivePlugin"
        },
        "httpCache": {
          "$ref": "#/$defs/HTTPCachePlugin"
        },
        "httpDetailsExtensions": {
          "$ref": "#/$defs/HTTPDetailsExtensionsConfig"
        },
        "liveQuery": {
          "$ref": "#/$defs/LiveQueryConfig"
        },
        "mock": {
          "$ref": "#/$defs/MockingConfig",
          "description": "Mock configuration for your source"
        },
        "newrelic": {
          "$ref": "#/$defs/NewrelicConfig"
        },
        "operationFieldPermissions": {
          "$ref": "#/$defs/OperationFieldPermissionsConfig"
        },
        "rateLimit": {
          "$ref": "#/$defs/RateLimitPluginConfig",
          "description": "RateLimit plugin"
        },
        "responseCache": {
          "$ref": "#/$defs/ResponseCacheConfig"
        },
        "snapshot": {
          "$ref": "#/$defs/SnapshotPluginConfig",
          "description": "Configuration for Snapshot extension"
        },
        "statsd": {
          "$ref": "#/$defs/StatsdPlugin"
        },
        "prometheus": {
          "$ref": "#/$defs/PrometheusConfig"
        }
      },
      "type": "object",
      "title": "Plugin",
      "additionalProperties": true
    },
    "MaskedErrorsPluginConfig": {
      "properties": {
        "errorMessage": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "MaskedErrorsPluginConfig",
      "additionalProperties": false
    },
    "AdditionalStitchingResolverObject": {
      "required": [
        "sourceName",
        "sourceTypeName",
        "sourceFieldName",
        "targetTypeName",
        "targetFieldName"
      ],
      "type": "object",
      "title": "AdditionalStitchingResolverObject",
      "properties": {
        "sourceName": {
          "type": "string"
        },
        "sourceTypeName": {
          "type": "string"
        },
        "sourceFieldName": {
          "type": "string"
        },
        "sourceSelectionSet": {
          "type": "string"
        },
        "requiredSelectionSet": {
          "type": "string"
        },
        "sourceArgs": {
          "type": "object",
          "properties": {}
        },
        "targetTypeName": {
          "type": "string"
        },
        "targetFieldName": {
          "type": "string"
        },
        "result": {
          "type": "string",
          "description": "Extract specific property from the result"
        },
        "resultType": {
          "type": "string",
          "description": "If return types don't match,\nyou can specify a result type to apply inline fragment"
        }
      },
      "additionalProperties": false
    },
    "AdditionalStitchingBatchResolverObject": {
      "required": [
        "sourceName",
        "sourceTypeName",
        "sourceFieldName",
        "keyField",
        "keysArg",
        "targetTypeName",
        "targetFieldName"
      ],
      "type": "object",
      "title": "AdditionalStitchingBatchResolverObject",
      "properties": {
        "sourceName": {
          "type": "string"
        },
        "sourceTypeName": {
          "type": "string"
        },
        "sourceFieldName": {
          "type": "string"
        },
        "sourceSelectionSet": {
          "type": "string"
        },
        "requiredSelectionSet": {
          "type": "string"
        },
        "keyField": {
          "type": "string"
        },
        "keysArg": {
          "type": "string"
        },
        "additionalArgs": {
          "type": "object",
          "properties": {}
        },
        "targetTypeName": {
          "type": "string"
        },
        "targetFieldName": {
          "type": "string"
        },
        "result": {
          "type": "string",
          "description": "Extract specific property from the result"
        },
        "resultType": {
          "type": "string",
          "description": "If return types don't match,\nyou can specify a result type to apply inline fragment"
        }
      },
      "additionalProperties": false
    },
    "AdditionalSubscriptionObject": {
      "required": [
        "targetTypeName",
        "targetFieldName",
        "pubsubTopic"
      ],
      "type": "object",
      "title": "AdditionalSubscriptionObject",
      "properties": {
        "targetTypeName": {
          "type": "string"
        },
        "targetFieldName": {
          "type": "string"
        },
        "pubsubTopic": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "filterBy": {
          "type": "string"
        },
        "sourceName": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "PubSubConfig": {
      "required": [
        "name"
      ],
      "type": "object",
      "title": "PubSubConfig",
      "properties": {
        "name": {
          "type": "string"
        },
        "config": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "PersistedOperationsConfig": {
      "properties": {
        "allowArbitraryOperations": {
          "type": "boolean",
          "description": "Whether to allow execution of arbitrary GraphQL operations aside from persisted operations."
        },
        "skipDocumentValidation": {
          "type": "boolean",
          "description": "Whether to skip validation of the persisted operation"
        },
        "customErrors": {
          "$ref": "#/$defs/CustomPersistedQueryErrors",
          "description": "Custom errors to be thrown"
        }
      },
      "type": "object",
      "title": "PersistedOperationsConfig",
      "additionalProperties": false
    },
    "CustomPersistedQueryErrors": {
      "properties": {
        "notFound": {
          "type": "string",
          "description": "Error to be thrown when the persisted operation is not found"
        },
        "persistedQueryOnly": {
          "type": "string",
          "description": "Error to be thrown when rejecting non-persisted operations"
        },
        "keyNotFound": {
          "type": "string",
          "description": "Error to be thrown when the extraction of the persisted operation id failed"
        }
      },
      "type": "object",
      "title": "CustomPersistedQueryErrors",
      "additionalProperties": false
    },
    "GraphQLHandlerMultipleHTTPConfiguration": {
      "required": [
        "sources"
      ],
      "type": "object",
      "title": "GraphQLHandlerMultipleHTTPConfiguration",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GraphQLHandlerHTTPConfiguration"
          },
          "additionalItems": false,
          "description": "HTTP Source Configurations"
        },
        "strategy": {
          "type": "string",
          "enum": [
            "fallback",
            "race",
            "highestValue"
          ],
          "description": "Handling strategy (default: fallback) (Allowed values: fallback, race, highestValue)"
        },
        "strategyConfig": {
          "$ref": "#/$defs/GraphQLHandlerhighestValueStrategyConfig",
          "description": "Handling strategy configuration"
        }
      },
      "additionalProperties": false
    },
    "GraphQLHandlerhighestValueStrategyConfig": {
      "required": [
        "selectionSet",
        "value"
      ],
      "type": "object",
      "title": "GraphQLHandlerhighestValueStrategyConfig",
      "properties": {
        "selectionSet": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "GraphQLHandlerCodeFirstConfiguration": {
      "required": [
        "source"
      ],
      "type": "object",
      "title": "GraphQLHandlerCodeFirstConfiguration",
      "properties": {
        "source": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "A file path to your GraphQL Schema\nIf you provide a path to a code file(js or ts),\nother options will be ignored and the schema exported from the file will be used directly."
        }
      },
      "additionalProperties": false
    },
    "GraphQLHandlerHTTPConfiguration": {
      "required": [
        "endpoint"
      ],
      "type": "object",
      "title": "GraphQLHandlerHTTPConfiguration",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "A url or file path to your remote GraphQL endpoint.\nIf you provide a path to a code file(js or ts),\nother options will be ignored and the schema exported from the file will be used directly."
        },
        "schemaHeaders": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "JSON object representing the Headers to add to the runtime of the API calls only for schema introspection"
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the Headers to add to the runtime of the API calls only for operation during runtime"
        },
        "useGETForQueries": {
          "type": "boolean",
          "description": "Use HTTP GET for Query operations"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "description": "HTTP method used for GraphQL operations (Allowed values: GET, POST)"
        },
        "credentials": {
          "type": "string",
          "enum": [
            "omit",
            "include"
          ],
          "description": "Request Credentials if your environment supports it.\n[See more](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials)\n\n@default \"same-origin\" (Allowed values: omit, include)"
        },
        "webSocketImpl": {
          "type": "string",
          "description": "Path to a custom W3 Compatible WebSocket Implementation"
        },
        "source": {
          "type": "string",
          "description": "Path to the introspection\nYou can separately give schema introspection or SDL"
        },
        "subscriptionsProtocol": {
          "type": "string",
          "enum": [
            "SSE",
            "WS",
            "LEGACY_WS"
          ],
          "description": "SSE - Server Sent Events\nWS - New graphql-ws\nLEGACY_WS - Legacy subscriptions-transport-ws (Allowed values: SSE, WS, LEGACY_WS)"
        },
        "subscriptionsEndpoint": {
          "type": "string",
          "description": "URL to your endpoint serving all subscription queries for this source"
        },
        "retry": {
          "type": "integer",
          "description": "Retry attempts if fails"
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout in milliseconds"
        },
        "batch": {
          "type": "boolean",
          "description": "Enable/Disable automatic query batching"
        },
        "connectionParams": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n  - When using `subscriptionsProtocol=WS` (graphql-ws): <https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams>\n  - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): <https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient>"
        }
      },
      "additionalProperties": false
    },
    "GrpcHandler": {
      "required": [
        "endpoint"
      ],
      "type": "object",
      "title": "GrpcHandler",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "gRPC Endpoint"
        },
        "source": {
          "description": "gRPC Proto file that contains your protobuf schema\nOR\nUse a binary-encoded or JSON file descriptor set file (Any of: ProtoFilePath, String)",
          "anyOf": [
            {
              "$ref": "#/$defs/ProtoFilePath"
            },
            {
              "type": "string"
            }
          ]
        },
        "requestTimeout": {
          "type": "integer",
          "description": "Request timeout in milliseconds\nDefault: 200000"
        },
        "credentialsSsl": {
          "$ref": "#/$defs/GrpcCredentialsSsl",
          "description": "SSL Credentials"
        },
        "useHTTPS": {
          "type": "boolean",
          "description": "Use https instead of http for gRPC connection"
        },
        "metaData": {
          "type": "object",
          "properties": {},
          "description": "MetaData"
        },
        "prefixQueryMethod": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "prefix to collect Query method default: list, get"
        },
        "selectQueryOrMutationField": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SelectQueryOrMutationFieldConfig"
          },
          "additionalItems": false,
          "description": "Allows to explicitly override the default operation (Query or Mutation) for any gRPC operation"
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {}
        }
      },
      "additionalProperties": false
    },
    "LoadOptions": {
      "properties": {
        "defaults": {
          "type": "boolean"
        },
        "includeDirs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "LoadOptions",
      "additionalProperties": false
    },
    "ProtoFilePath": {
      "required": [
        "file"
      ],
      "type": "object",
      "title": "ProtoFilePath",
      "properties": {
        "file": {
          "type": "string"
        },
        "load": {
          "$ref": "#/$defs/LoadOptions"
        }
      },
      "additionalProperties": false
    },
    "GrpcCredentialsSsl": {
      "properties": {
        "rootCA": {
          "type": "string"
        },
        "certChain": {
          "type": "string"
        },
        "privateKey": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "GrpcCredentialsSsl",
      "additionalProperties": false
    },
    "QueryStringOptions": {
      "properties": {
        "indices": {
          "type": "boolean",
          "description": "When arrays are stringified, by default they are not given explicit indices:\n`a=b&a=c&a=d`\nYou may override this by setting the indices option to true:\n`a[0]=b&a[1]=c&a[2]=d`"
        },
        "arrayFormat": {
          "type": "string",
          "enum": [
            "indices",
            "brackets",
            "repeat",
            "comma"
          ],
          "description": "You can configure how to format arrays in the query strings.\n\nNote: when using arrayFormat set to 'comma', you can also pass the commaRoundTrip option set to true or false, to append [] on single-item arrays, so that they can round trip through a parse. (Allowed values: indices, brackets, repeat, comma)"
        },
        "commaRoundTrip": {
          "type": "boolean",
          "description": "Even if there is a single item in an array, this option treats them as arrays\n(default: false)"
        },
        "jsonStringify": {
          "type": "boolean",
          "description": "Stringify the nested objects as JSON\n(default: false)"
        }
      },
      "type": "object",
      "title": "QueryStringOptions",
      "additionalProperties": false
    },
    "JsonSchemaHandler": {
      "properties": {
        "source": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "operationHeaders": {
          "type": "object",
          "properties": {}
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {}
        },
        "operations": {
          "type": "array",
          "items": {
            "description": "Any of: JsonSchemaHTTPOperation, JsonSchemaPubSubOperation",
            "anyOf": [
              {
                "$ref": "#/$defs/JsonSchemaHTTPOperation"
              },
              {
                "$ref": "#/$defs/JsonSchemaPubSubOperation"
              }
            ]
          },
          "additionalItems": false,
          "description": "Any of: JsonSchemaHTTPOperation, JsonSchemaPubSubOperation"
        },
        "ignoreErrorResponses": {
          "type": "boolean"
        },
        "queryParams": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "queryStringOptions": {
          "$ref": "#/$defs/QueryStringOptions"
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout for the HTTP request in milliseconds"
        }
      },
      "type": "object",
      "title": "JsonSchemaHandler",
      "additionalProperties": false
    },
    "JsonSchemaHTTPOperation": {
      "required": [
        "field",
        "type",
        "path"
      ],
      "type": "object",
      "title": "JsonSchemaHTTPOperation",
      "properties": {
        "field": {
          "type": "string",
          "description": "This Field based on the field name of the URL path.\nExample: \"<https://MyAPIURL.com/FieldNameHere/>\",\nso we will set the \"field: FieldNameHere\"."
        },
        "description": {
          "type": "string",
          "description": "Your chance to describe the operation!\nMake sure the description is clear and concise."
        },
        "type": {
          "type": "string",
          "enum": [
            "Query",
            "Mutation",
            "Subscription"
          ],
          "description": "Type field is set the opertion type: Query, Mutation or Subscription. (Allowed values: Query, Mutation, Subscription)"
        },
        "requestSchema": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Your chance to provide request schema name."
        },
        "requestSample": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "The path definition of the JSON Schema sample.\nExample: \"./jsons/questions.response.json\"."
        },
        "requestTypeName": {
          "type": "string",
          "description": "Inset any name for the type of the request body."
        },
        "requestBaseBody": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "This body will be merged with the request body sent with\nthe underlying HTTP request"
        },
        "responseSchema": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Yay! Now you can provide the response schema name."
        },
        "responseSample": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Did you use Sample? Provide the response sample path."
        },
        "responseTypeName": {
          "type": "string",
          "description": "Inset any name for the type of the response body."
        },
        "responseByStatusCode": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "You can define your response schemas by status codes;\n```yaml filename=\".meshrc.yaml\"\nresponseByStatusCode:\n  200:\n    responseSchema: ./someschema.json#/somepath\n  404:\n    responseSample: ./error-sample.json\n    responseTypeName: MyError\n```"
        },
        "exposeResponseMetadata": {
          "type": "boolean",
          "description": "Expose response details done to the upstream API\nWhen you enable this, you will see a new field in the response type;\n```graphql\ntype MyResponseType {\n  myFooField: String\n  _response: ResponseMetadata\n}\n\n# And a new type for the response metadata object\ntype ResponseMetadata {\n  url: URL\n  status: Int\n  method: String\n  headers: JSON\n  body: String\n}\n```"
        },
        "argTypeMap": {
          "type": "object",
          "properties": {},
          "description": "Mapping the JSON Schema and define the arguments of the operation.\n\n# Example:\nargTypeMap:\n  user_id:\n    type: string"
        },
        "queryParamArgMap": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the mapping of query search parameters (added to the route path) and the matching argument.\n\n# Example:\nqueryParamArgMap:\n  id: user_id"
        },
        "path": {
          "type": "string"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "POST",
            "PUT",
            "DELETE",
            "CONNECT",
            "OPTIONS",
            "TRACE",
            "PATCH"
          ],
          "description": "Allowed values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH"
        },
        "headers": {
          "type": "object",
          "properties": {}
        },
        "binary": {
          "type": "boolean",
          "description": "If true, this operation cannot have requestSchema or requestSample\nAnd the request body will be passed as binary with its mime type\nunless you define an explicit Content-Type header"
        },
        "deprecated": {
          "type": "boolean",
          "description": "If true, `@deprecated` will be added to the field definition"
        }
      },
      "additionalProperties": false
    },
    "JsonSchemaPubSubOperation": {
      "required": [
        "field",
        "type",
        "pubsubTopic"
      ],
      "type": "object",
      "title": "JsonSchemaPubSubOperation",
      "properties": {
        "field": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "Query",
            "Mutation",
            "Subscription"
          ],
          "description": "Allowed values: Query, Mutation, Subscription"
        },
        "requestSchema": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "requestSample": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "requestTypeName": {
          "type": "string"
        },
        "requestBaseBody": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "This body will be merged with the request body sent with\nthe underlying HTTP request"
        },
        "responseSchema": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "responseSample": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "responseTypeName": {
          "type": "string"
        },
        "argTypeMap": {
          "type": "object",
          "properties": {}
        },
        "pubsubTopic": {
          "type": "string"
        },
        "deprecated": {
          "type": "boolean",
          "description": "If true, `@deprecated` will be added to the field definition"
        }
      },
      "additionalProperties": false
    },
    "MongooseHandler": {
      "properties": {
        "connectionString": {
          "type": "string"
        },
        "models": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MongooseModel"
          },
          "additionalItems": false
        },
        "discriminators": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MongooseModel"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "MongooseHandler",
      "additionalProperties": false
    },
    "MongooseModel": {
      "required": [
        "name",
        "path"
      ],
      "type": "object",
      "title": "MongooseModel",
      "properties": {
        "name": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "options": {
          "$ref": "#/$defs/ComposeWithMongooseOpts"
        }
      },
      "additionalProperties": false
    },
    "ComposeWithMongooseOpts": {
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "fields": {
          "$ref": "#/$defs/ComposeWithMongooseFieldsOpts"
        },
        "inputType": {
          "$ref": "#/$defs/ComposeMongooseInputType"
        },
        "resolvers": {
          "$ref": "#/$defs/TypeConverterResolversOpts"
        }
      },
      "type": "object",
      "title": "ComposeWithMongooseOpts",
      "additionalProperties": false
    },
    "ComposeMongooseInputType": {
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "fields": {
          "$ref": "#/$defs/ComposeWithMongooseFieldsOpts"
        },
        "resolvers": {
          "$ref": "#/$defs/TypeConverterResolversOpts"
        }
      },
      "type": "object",
      "title": "ComposeMongooseInputType",
      "additionalProperties": false
    },
    "ComposeWithMongooseFieldsOpts": {
      "properties": {
        "only": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "remove": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "required": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "ComposeWithMongooseFieldsOpts",
      "additionalProperties": false
    },
    "TypeConverterResolversOpts": {
      "properties": {
        "findById": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "findByIds": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "findOne": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "findMany": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "updateById": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "updateOne": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "updateMany": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "removeById": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "removeOne": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "removeMany": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "createOne": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "createMany": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "count": {
          "description": "Any of: Boolean, ComposeWithMongooseResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/ComposeWithMongooseResolverOpts"
            }
          ]
        },
        "connection": {
          "description": "Any of: Boolean, JSON",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object",
              "properties": {}
            }
          ]
        },
        "pagination": {
          "description": "Any of: Boolean, PaginationResolverOpts",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/PaginationResolverOpts"
            }
          ]
        }
      },
      "type": "object",
      "title": "TypeConverterResolversOpts",
      "additionalProperties": false
    },
    "ComposeWithMongooseResolverOpts": {
      "properties": {
        "filter": {
          "$ref": "#/$defs/FilterHelperArgsOpts"
        },
        "sort": {
          "$ref": "#/$defs/SortHelperArgsOpts"
        },
        "limit": {
          "$ref": "#/$defs/LimitHelperArgsOpts"
        },
        "record": {
          "$ref": "#/$defs/RecordHelperArgsOpts"
        },
        "skip": {
          "type": "boolean"
        }
      },
      "type": "object",
      "title": "ComposeWithMongooseResolverOpts",
      "additionalProperties": false
    },
    "FilterHelperArgsOpts": {
      "properties": {
        "filterTypeName": {
          "type": "string"
        },
        "isRequired": {
          "type": "boolean"
        },
        "onlyIndexed": {
          "type": "boolean"
        },
        "requiredFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "operators": {
          "description": "Any of: Boolean, JSON",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object",
              "properties": {}
            }
          ]
        },
        "removeFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "FilterHelperArgsOpts",
      "additionalProperties": false
    },
    "SortHelperArgsOpts": {
      "properties": {
        "sortTypeName": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "SortHelperArgsOpts",
      "additionalProperties": false
    },
    "LimitHelperArgsOpts": {
      "properties": {
        "defaultValue": {
          "type": "integer"
        }
      },
      "type": "object",
      "title": "LimitHelperArgsOpts",
      "additionalProperties": false
    },
    "RecordHelperArgsOpts": {
      "properties": {
        "recordTypeName": {
          "type": "string"
        },
        "isRequired": {
          "type": "boolean"
        },
        "removeFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        },
        "requiredFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "RecordHelperArgsOpts",
      "additionalProperties": false
    },
    "PaginationResolverOpts": {
      "properties": {
        "perPage": {
          "type": "integer"
        }
      },
      "type": "object",
      "title": "PaginationResolverOpts",
      "additionalProperties": false
    },
    "MySQLHandler": {
      "properties": {
        "host": {
          "type": "string",
          "description": "The hostname of the database you are connecting to. (Default: localhost)"
        },
        "port": {
          "type": "integer",
          "description": "The port number to connect to. (Default: 3306)"
        },
        "localAddress": {
          "type": "string",
          "description": "The source IP address to use for TCP connection"
        },
        "user": {
          "type": "string",
          "description": "The MySQL user to authenticate as"
        },
        "password": {
          "type": "string",
          "description": "The password of that MySQL user"
        },
        "database": {
          "type": "string",
          "description": "Name of the database to use for this connection"
        },
        "ssl": {
          "$ref": "#/$defs/MySQLSSLOptions",
          "description": "SSL Options for your MySQL connection"
        },
        "pool": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Use existing `Pool` instance\nFormat: modulePath#exportName"
        },
        "tables": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Use specific tables for your schema"
        },
        "tableFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TableField"
          },
          "additionalItems": false,
          "description": "Use specific fields of specific tables"
        }
      },
      "type": "object",
      "title": "MySQLHandler",
      "additionalProperties": false
    },
    "TableField": {
      "required": [
        "table",
        "fields"
      ],
      "type": "object",
      "title": "TableField",
      "properties": {
        "table": {
          "type": "string"
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "additionalProperties": false
    },
    "MySQLSSLOptions": {
      "properties": {
        "rejectUnauthorized": {
          "type": "boolean",
          "description": "Default: true"
        },
        "ca": {
          "type": "string",
          "description": "Path to your CA"
        }
      },
      "type": "object",
      "title": "MySQLSSLOptions",
      "additionalProperties": false
    },
    "Neo4jHandler": {
      "required": [
        "endpoint",
        "username",
        "password"
      ],
      "type": "object",
      "title": "Neo4jHandler",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "URL for the Neo4j Instance e.g. neo4j://localhost"
        },
        "source": {
          "type": "string",
          "description": "Provide GraphQL Type Definitions instead of inferring"
        },
        "username": {
          "type": "string",
          "description": "Username for basic authentication"
        },
        "password": {
          "type": "string",
          "description": "Password for basic authentication"
        },
        "alwaysIncludeRelationships": {
          "type": "boolean",
          "description": "Specifies whether relationships should always be included in the type definitions as [relationship](https://grandstack.io/docs/neo4j-graphql-js.html#relationship-types) types, even if the relationships do not have properties."
        },
        "database": {
          "type": "string",
          "description": "Specifies database name"
        }
      },
      "additionalProperties": false
    },
    "ODataHandler": {
      "required": [
        "endpoint"
      ],
      "type": "object",
      "title": "ODataHandler",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "Base URL for OData API"
        },
        "source": {
          "type": "string",
          "description": "Custom $metadata File or URL"
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {},
          "description": "Headers to be used with the $metadata requests"
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "Headers to be used with the operation requests"
        },
        "batch": {
          "type": "string",
          "enum": [
            "multipart",
            "json"
          ],
          "description": "Enable batching (Allowed values: multipart, json)"
        },
        "expandNavProps": {
          "type": "boolean",
          "description": "Use $expand for navigation props instead of seperate HTTP requests (Default: false)"
        }
      },
      "additionalProperties": false
    },
    "OpenapiHandler": {
      "required": [
        "source"
      ],
      "type": "object",
      "title": "OpenapiHandler",
      "properties": {
        "source": {
          "type": "string",
          "description": "A pointer to your API source (Support both JSON and YAML) - could be a local file, remote file or url endpoint"
        },
        "fallbackFormat": {
          "type": "string",
          "enum": [
            "json",
            "yaml",
            "js",
            "ts"
          ],
          "description": "Format of the files referenced from the source file, for cases content type isn't detected automatically (Allowed values: json, yaml, js, ts)"
        },
        "endpoint": {
          "type": "string",
          "description": "Specifies the URL on which all paths will be based on.\nOverrides the server object in the OAS."
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {},
          "description": "If you are using a remote URL endpoint to fetch your schema, you can set headers for the HTTP request to fetch your schema."
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the Headers to add to the runtime of the API calls"
        },
        "ignoreErrorResponses": {
          "type": "boolean",
          "description": "Responses are converted to a Union type grouping all possible responses.\nApplying this will ignore all responses with status code other than 2xx, resulting in simpler response types, usualy regular object type instead of union.\nDefault: false"
        },
        "selectQueryOrMutationField": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SelectQueryOrMutationFieldConfig"
          },
          "additionalItems": false,
          "description": "Allows to explicitly override the default operation (Query or Mutation) for any OAS operation"
        },
        "queryParams": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the query search parameters to add to the API calls"
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout for the HTTP request in milliseconds"
        }
      },
      "additionalProperties": false
    },
    "SelectQueryOrMutationFieldConfig": {
      "required": [
        "type",
        "fieldName"
      ],
      "type": "object",
      "title": "SelectQueryOrMutationFieldConfig",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "query",
            "mutation",
            "Query",
            "Mutation"
          ],
          "description": "Allowed values: query, mutation, Query, Mutation"
        },
        "fieldName": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "HivePlugin": {
      "properties": {
        "enabled": {
          "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "token": {
          "type": "string",
          "description": "Access Token for Usage Reporting"
        },
        "agent": {
          "$ref": "#/$defs/HiveAgentOptions",
          "description": "Agent Options"
        },
        "usage": {
          "$ref": "#/$defs/HiveUsageOptions",
          "description": "Collects schema usage based on operations"
        },
        "reporting": {
          "$ref": "#/$defs/HiveReportingOptions",
          "description": "Schema reporting"
        },
        "selfHosting": {
          "$ref": "#/$defs/HiveSelfHostingOptions",
          "description": "Options for self-hosting\n[See more](https://github.com/kamilkisiela/graphql-hive/tree/main/packages/libraries/client#self-hosting)"
        },
        "persistedDocuments": {
          "$ref": "#/$defs/HivePersistedDocumentsConfiguration",
          "description": "Persisted documents configuration\n[See more](https://the-guild.dev/graphql/hive/docs/features/app-deployments#persisted-documents-on-graphql-server-and-gateway)"
        }
      },
      "type": "object",
      "title": "HivePlugin",
      "additionalProperties": false
    },
    "HiveAgentOptions": {
      "properties": {
        "name": {
          "type": "string"
        },
        "logger": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "fetch": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "timeout": {
          "type": "integer",
          "description": "30s by default"
        },
        "maxRetries": {
          "type": "integer",
          "description": "5 by default"
        },
        "minTimeout": {
          "type": "integer",
          "description": "200 by default"
        },
        "sendInterval": {
          "type": "integer",
          "description": "Send reports in interval (defaults to 10_000ms)"
        },
        "maxSize": {
          "type": "integer",
          "description": "Max number of traces to send at once (defaults to 25)"
        }
      },
      "type": "object",
      "title": "HiveAgentOptions",
      "additionalProperties": false
    },
    "HiveUsageOptions": {
      "properties": {
        "clientInfo": {
          "$ref": "#/$defs/HiveClientInfo",
          "description": "Extract client info from GraphQL Context"
        },
        "max": {
          "type": "integer",
          "description": "Hive uses LRU cache to store info about operations.\nThis option represents the maximum size of the cache.\nDefault: 1000"
        },
        "ttl": {
          "type": "integer",
          "description": "Hive uses LRU cache to store info about operations.\nThis option represents the maximum age of an unused operation in the cache.\nDefault: no ttl"
        },
        "exclude": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "A list of operations (by name) to be ignored by Hive."
        },
        "sampleRate": {
          "type": "number",
          "description": "Sample rate to determine sampling.\n0.0 = 0% chance of being sent\n1.0 = 100% chance of being sent\nDefault: 1.0"
        },
        "processVariables": {
          "type": "boolean",
          "description": "(Experimental) Enables collecting Input fields usage based on the variables passed to the operation.\nDefault: false"
        },
        "sampler": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        }
      },
      "type": "object",
      "title": "HiveUsageOptions",
      "additionalProperties": false
    },
    "HiveClientInfo": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Extract client name\nExample: `{context.headers['x-client-name']}`"
        },
        "version": {
          "type": "string",
          "description": "Extract client version\nExample: `{context.headers['x-client-version']}`"
        }
      },
      "type": "object",
      "title": "HiveClientInfo",
      "additionalProperties": false
    },
    "HiveReportingOptions": {
      "required": [
        "author",
        "commit"
      ],
      "type": "object",
      "title": "HiveReportingOptions",
      "properties": {
        "author": {
          "type": "string",
          "description": "Author of current version of the schema"
        },
        "commit": {
          "type": "string",
          "description": "Commit SHA hash (or any identifier) related to the schema version"
        },
        "serviceName": {
          "type": "string"
        },
        "serviceUrl": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "HiveSelfHostingOptions": {
      "required": [
        "graphqlEndpoint",
        "applicationUrl"
      ],
      "type": "object",
      "title": "HiveSelfHostingOptions",
      "properties": {
        "graphqlEndpoint": {
          "type": "string",
          "description": "Point to your own instance of GraphQL Hive API\n\nUsed by schema reporting and token info."
        },
        "applicationUrl": {
          "type": "string",
          "description": "Address of your own GraphQL Hive application\n\nUsed by token info to generate a link to the organization, project and target."
        },
        "usageEndpoint": {
          "type": "string",
          "description": "Point to your own instance of GraphQL Hive Usage API\n\nUsed by usage reporting."
        }
      },
      "additionalProperties": false
    },
    "HivePersistedDocumentsConfiguration": {
      "required": [
        "cdn"
      ],
      "type": "object",
      "title": "HivePersistedDocumentsConfiguration",
      "properties": {
        "cdn": {
          "$ref": "#/$defs/HivePersistedDocumentsConfigurationCDN",
          "description": "Point to your own instance of GraphQL Hive API\n\nUsed by schema reporting and token info."
        },
        "allowArbitraryDocuments": {
          "type": "boolean",
          "description": "Whether arbitrary documents should be allowed along-side persisted documents. false by default"
        },
        "cache": {
          "type": "integer",
          "description": "Maximum amount of operations that shall be kept in memory after being loaded from the CDN. 10 seconds by default"
        },
        "fetch": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "HivePersistedDocumentsConfigurationCDN": {
      "required": [
        "endpoint",
        "accessToken"
      ],
      "type": "object",
      "title": "HivePersistedDocumentsConfigurationCDN",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "CDN endpoint"
        },
        "accessToken": {
          "type": "string",
          "description": "Access Token for Persisted Documents CDN"
        }
      },
      "additionalProperties": false
    },
    "HTTPCachePlugin": {
      "properties": {
        "matches": {
          "type": "array",
          "items": {
            "description": "Any of: String, URLPatternObj",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/URLPatternObj"
              }
            ]
          },
          "additionalItems": false,
          "description": "If the following patterns match the request URL, the response will be cached. (Any of: String, URLPatternObj)"
        },
        "ignores": {
          "type": "array",
          "items": {
            "description": "Any of: String, URLPatternObj",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/URLPatternObj"
              }
            ]
          },
          "additionalItems": false,
          "description": "If the following patterns match the request URL, the response will not be cached. (Any of: String, URLPatternObj)"
        }
      },
      "type": "object",
      "title": "HTTPCachePlugin",
      "additionalProperties": false
    },
    "URLPatternObj": {
      "properties": {
        "protocol": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "hostname": {
          "type": "string"
        },
        "port": {
          "type": "string"
        },
        "pathname": {
          "type": "string"
        },
        "search": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "baseURL": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "URLPatternObj",
      "additionalProperties": false
    },
    "HTTPDetailsExtensionsConfig": {
      "properties": {
        "if": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        }
      },
      "type": "object",
      "title": "HTTPDetailsExtensionsConfig",
      "additionalProperties": false
    },
    "LiveQueryConfig": {
      "properties": {
        "invalidations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LiveQueryInvalidation"
          },
          "additionalItems": false,
          "description": "Invalidate a query or queries when a specific operation is done without an error"
        },
        "resourceIdentifier": {
          "type": "string",
          "description": "Custom strategy for building resources identifiers\nBy default resource identifiers are built by concatenating the Typename with the id separated by a color (`User:1`).\n\nThis may be useful if you are using a relay compliant schema and the Typename information is not required for building a unique topic.\n\nDefault: \"{typename}:{id}\""
        },
        "includeIdentifierExtension": {
          "type": "boolean",
          "description": "Whether the extensions should include a list of all resource identifiers for the latest operation result.\nAny of those can be used for invalidating and re-scheduling the operation execution.\n\nThis is mainly useful for discovering and learning what kind of topics a given query will subscribe to.\nThe default value is `true` if `DEBUG` environment variable is set"
        },
        "idFieldName": {
          "type": "string",
          "description": "Identifier unique field\n\nDefault: \"id\""
        },
        "indexBy": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LiveQueryIndexBy"
          },
          "additionalItems": false,
          "description": "Specify which fields should be indexed for specific invalidations."
        }
      },
      "type": "object",
      "title": "LiveQueryConfig",
      "additionalProperties": false
    },
    "LiveQueryInvalidation": {
      "required": [
        "invalidate"
      ],
      "type": "object",
      "title": "LiveQueryInvalidation",
      "properties": {
        "field": {
          "type": "string",
          "description": "Path to the operation that could effect it. In a form: Mutation.something. Note that wildcard is not supported in this field."
        },
        "pollingInterval": {
          "type": "integer",
          "description": "Polling interval in milliseconds"
        },
        "invalidate": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "additionalProperties": false
    },
    "LiveQueryIndexBy": {
      "required": [
        "field",
        "args"
      ],
      "type": "object",
      "title": "LiveQueryIndexBy",
      "properties": {
        "field": {
          "type": "string"
        },
        "args": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "additionalProperties": false
    },
    "MockingConfig": {
      "properties": {
        "if": {
          "type": "boolean",
          "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
        },
        "preserveResolvers": {
          "type": "boolean",
          "description": "Do not mock any other resolvers other than defined in `mocks`.\nFor example, you can enable this if you don't want to mock entire schema but partially."
        },
        "mocks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MockingFieldConfig"
          },
          "additionalItems": false,
          "description": "Mock configurations"
        },
        "initializeStore": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "The path to the code runs before the store is attached to the schema"
        },
        "mockGenerationBehavior": {
          "type": "string",
          "enum": [
            "deterministic",
            "random"
          ],
          "description": "Set to `'deterministic'` if the default random mock generation behavior causes flakiness.\n\nDefault: 'random' (Allowed values: deterministic, random)"
        }
      },
      "type": "object",
      "title": "MockingConfig",
      "additionalProperties": false
    },
    "MockingFieldConfig": {
      "required": [
        "apply"
      ],
      "type": "object",
      "title": "MockingFieldConfig",
      "properties": {
        "apply": {
          "type": "string",
          "description": "Resolver path\nExample: User.firstName"
        },
        "if": {
          "type": "boolean",
          "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `${MOCKING_ENABLED}`"
        },
        "faker": {
          "type": "string",
          "description": "Faker.js expression or function\nRead more (https://github.com/marak/Faker.js/#fakerfake)\nExample:\nfaker: `name.firstName`\nfaker: `{{ name.firstName }} {{ name.lastName }}`"
        },
        "custom": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Custom mocking\nIt can be a module or json file.\nBoth \"moduleName#exportName\" or only \"moduleName\" would work\n\nYou can also provide a function directly"
        },
        "length": {
          "type": "integer",
          "description": "Length of the mock list\nFor the list types `[ObjectType]`, how many `ObjectType` you want to return?\ndefault: 2"
        },
        "store": {
          "$ref": "#/$defs/GetFromMockStoreConfig",
          "description": "Get the data from the mock store"
        },
        "updateStore": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateMockStoreConfig"
          },
          "additionalItems": false,
          "description": "Update the data on the mock store"
        }
      },
      "additionalProperties": false
    },
    "GetFromMockStoreConfig": {
      "properties": {
        "type": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "fieldName": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "GetFromMockStoreConfig",
      "additionalProperties": false
    },
    "UpdateMockStoreConfig": {
      "properties": {
        "type": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "fieldName": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "UpdateMockStoreConfig",
      "additionalProperties": false
    },
    "NewrelicConfig": {
      "properties": {
        "includeOperationDocument": {
          "type": "boolean",
          "description": "default `false`. When set to `true`, includes the GraphQL document defining the operations and fragments"
        },
        "includeExecuteVariables": {
          "type": "boolean",
          "description": "default `false`. When set to `true`, includes all the operation variables with their values"
        },
        "includeRawResult": {
          "type": "boolean",
          "description": "default: `false`. When set to `true`, includes the execution result of both delegation and execution"
        },
        "trackResolvers": {
          "type": "boolean",
          "description": "default `false`. When set to `true`, track resolvers as segments to monitor their performance"
        },
        "includeResolverArgs": {
          "type": "boolean",
          "description": "default `false`. When set to `true`, includes all the arguments passed to resolvers and delegation with their values"
        },
        "rootFieldsNaming": {
          "type": "boolean",
          "description": "default `false`. When set to `true` append the names of operation root fields to the transaction name"
        },
        "extractOperationName": {
          "type": "string",
          "description": "Allows to set a custom operation name to be used as transaction name and attribute\n`extractOperationName: {context.headers['x-operation-name']}`"
        }
      },
      "type": "object",
      "title": "NewrelicConfig",
      "additionalProperties": false
    },
    "OperationFieldPermissionsConfig": {
      "properties": {
        "permissions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OperationFieldPermission"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "OperationFieldPermissionsConfig",
      "additionalProperties": false
    },
    "OperationFieldPermission": {
      "properties": {
        "if": {
          "type": "string"
        },
        "allow": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "OperationFieldPermission",
      "additionalProperties": false
    },
    "RateLimitPluginConfig": {
      "required": [
        "config"
      ],
      "type": "object",
      "title": "RateLimitPluginConfig",
      "properties": {
        "config": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RateLimitTransformConfig"
          },
          "additionalItems": false
        }
      },
      "additionalProperties": false
    },
    "ResponseCacheConfig": {
      "properties": {
        "ttl": {
          "type": "number",
          "description": "Maximum age in ms. Defaults to `Infinity`. Set it to 0 for disabling the global TTL."
        },
        "ttlPerCoordinate": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResponseCacheTTLConfig"
          },
          "additionalItems": false,
          "description": "Overwrite the ttl for query operations whose selection contains a specific schema coordinate (e.g. Query.users).\nUseful if the selection of a specific field should reduce the TTL of the query operation."
        },
        "ignoredTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Skip caching of following the types."
        },
        "idFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "List of fields that are used to identify the entity."
        },
        "invalidateViaMutation": {
          "type": "boolean",
          "description": "Whether the mutation execution result should be used for invalidating resources.\nDefaults to `true`"
        },
        "includeExtensionMetadata": {
          "type": "boolean",
          "description": "Include extension values that provide useful information, such as whether the cache was hit or which resources a mutation invalidated."
        },
        "sessionId": {
          "type": "string",
          "description": "Allows to cache responses based on the resolved session id.\nReturn a unique value for each session.\nCreates a global session by default.\nExample;\n```yaml\nsessionId: \"{context.headers.userId}\"\n```"
        },
        "if": {
          "type": "string",
          "description": "Specify whether the cache should be used based on the context.\n```yaml\nif: \"context.headers.userId != null\"\n```"
        },
        "cacheKey": {
          "type": "string",
          "description": "Customize the behavior how the response cache key is computed from the documentString, variableValues, contextValue and sessionId.\nIf the given string is interpolated as empty, default behavior is used.\nExample;\n```yaml\n# Cache by specific value\ncacheKey: \"{variableValues.userId}\"\n\n# Cache by documentString\ncacheKey: \"{documentString}\"\n\n# Cache by operationName\ncacheKey: \"{operationName}\"\n\n# Cache by some header value\ncacheKey: \"{contextValue.headers.authorization}\"\n\n# Or combine two of each\ncacheKey: \"{contextValue.headers.authorization}-{operationName}\"\n```"
        },
        "shouldCacheResult": {
          "type": "string",
          "description": "Checks if the result should be cached.\n```yaml\nshouldCacheResult: \"result.errors.length > 0\"\n```"
        }
      },
      "type": "object",
      "title": "ResponseCacheConfig",
      "additionalProperties": false
    },
    "ResponseCacheTTLConfig": {
      "required": [
        "coordinate",
        "ttl"
      ],
      "type": "object",
      "title": "ResponseCacheTTLConfig",
      "properties": {
        "coordinate": {
          "type": "string"
        },
        "ttl": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "SnapshotPluginConfig": {
      "required": [
        "apply",
        "outputDir"
      ],
      "type": "object",
      "title": "SnapshotPluginConfig",
      "properties": {
        "if": {
          "description": "Expression for when to activate this extension.\nValue can be a valid JS expression string or a boolean (Any of: String, Boolean)",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "apply": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "HTTP URL pattern to be applied\nFor example;\n  apply:\n      - <http://my-remote-api.com/*> \\<- * will apply this extension to all paths of remote API"
        },
        "outputDir": {
          "type": "string",
          "description": "Path to the directory of the generated snapshot files"
        }
      },
      "additionalProperties": false
    },
    "StatsdPlugin": {
      "properties": {
        "skipIntrospection": {
          "type": "boolean",
          "description": "If you wish to disable introspection for logging (default: false)"
        },
        "prefix": {
          "type": "string",
          "description": "prefix.operations.count (default: graphql)"
        },
        "client": {
          "$ref": "#/$defs/StatsdClientConfiguration",
          "description": "Client Configuration"
        }
      },
      "type": "object",
      "title": "StatsdPlugin",
      "additionalProperties": false
    },
    "StatsdClientConfiguration": {
      "properties": {
        "bufferFlushInterval": {
          "type": "integer"
        },
        "bufferHolder": {
          "$ref": "#/$defs/StatsdClientBufferHolder"
        },
        "cacheDns": {
          "type": "boolean"
        },
        "cacheDnsTtl": {
          "type": "integer"
        },
        "globalTags": {
          "type": "object",
          "properties": {}
        },
        "globalize": {
          "type": "boolean"
        },
        "host": {
          "type": "string"
        },
        "isChild": {
          "type": "boolean"
        },
        "maxBufferSize": {
          "type": "integer"
        },
        "mock": {
          "type": "boolean"
        },
        "path": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        },
        "protocol": {
          "type": "string",
          "enum": [
            "tcp",
            "udp",
            "uds",
            "stream"
          ],
          "description": "Allowed values: tcp, udp, uds, stream"
        },
        "sampleRate": {
          "type": "number"
        },
        "suffix": {
          "type": "string"
        },
        "telegraf": {
          "type": "boolean"
        },
        "useDefaultRoute": {
          "type": "boolean"
        },
        "tagPrefix": {
          "type": "string"
        },
        "tagSeperator": {
          "type": "string"
        },
        "tcpGracefulErrorHandling": {
          "type": "boolean"
        },
        "tcpGracefulRestartRateLimit": {
          "type": "integer"
        },
        "udsGracefulErrorHandling": {
          "type": "boolean"
        },
        "udsGracefulRestartRateLimit": {
          "type": "integer"
        },
        "closingFlushInterval": {
          "type": "integer"
        }
      },
      "type": "object",
      "title": "StatsdClientConfiguration",
      "additionalProperties": false
    },
    "StatsdClientBufferHolder": {
      "required": [
        "buffer"
      ],
      "type": "object",
      "title": "StatsdClientBufferHolder",
      "properties": {
        "buffer": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "PostGraphileHandler": {
      "properties": {
        "connectionString": {
          "type": "string",
          "description": "A connection string to your Postgres database"
        },
        "schemaName": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "An array of strings which specifies the PostgreSQL schemas that PostGraphile will use to create a GraphQL schema. The default schema is the public schema."
        },
        "pool": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Connection Pool instance or settings or you can provide the path of a code file that exports any of those"
        },
        "appendPlugins": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Extra Postgraphile Plugins to append"
        },
        "skipPlugins": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Postgraphile Plugins to skip (e.g. \"graphile-build#NodePlugin\")"
        },
        "options": {
          "description": "Extra Postgraphile options that will be added to the postgraphile constructor. It can either be an object or a string pointing to the object's path (e.g. \"./my-config#options\"). See the [postgraphile docs](https://www.graphile.org/postgraphile/usage-library/) for more information. (Any of: JSON, String)",
          "anyOf": [
            {
              "type": "object",
              "properties": {}
            },
            {
              "type": "string"
            }
          ]
        },
        "subscriptions": {
          "type": "boolean",
          "description": "Enable GraphQL websocket transport support for subscriptions (default: true)"
        },
        "live": {
          "type": "boolean",
          "description": "Enables live-query support via GraphQL subscriptions (sends updated payload any time nested collections/records change) (default: true)"
        },
        "contextOptions": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "A file that exports a function which takes context as a paramter and returns postgraphile context options (e.g. \"./my-function#pgSettings\"). See the [postgraphile docs](https://www.graphile.org/postgraphile/usage-schema/) for more information."
        }
      },
      "type": "object",
      "title": "PostGraphileHandler",
      "additionalProperties": false
    },
    "RAMLHandler": {
      "required": [
        "source"
      ],
      "type": "object",
      "title": "RAMLHandler",
      "properties": {
        "source": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {}
        },
        "operationHeaders": {
          "type": "object",
          "properties": {}
        },
        "ignoreErrorResponses": {
          "type": "boolean"
        },
        "selectQueryOrMutationField": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SelectQueryOrMutationFieldConfig"
          },
          "additionalItems": false
        },
        "queryParams": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout for the HTTP request in milliseconds"
        }
      },
      "additionalProperties": false
    },
    "SoapHandler": {
      "required": [
        "source"
      ],
      "type": "object",
      "title": "SoapHandler",
      "properties": {
        "source": {
          "type": "string",
          "description": "A url to your WSDL or generated SDL with annotations"
        },
        "schemaHeaders": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "JSON object representing the Headers to add to the runtime of the API calls only for schema introspection\nYou can also provide `.js` or `.ts` file path that exports schemaHeaders as an object"
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the Headers to add to the runtime of the API calls only for operation during runtime"
        },
        "bodyAlias": {
          "type": "string",
          "description": "The name of the alias to be used in the envelope for body components\n\ndefault: `body`"
        },
        "soapHeaders": {
          "$ref": "#/$defs/SOAPHeaders",
          "description": "SOAP Headers to be added to the request"
        },
        "soapNamespace": {
          "type": "string",
          "description": "The namespace of the SOAP envelope\nBy default, SOAP handler detects the SOAP version and if SOAP version is 1.1,\nit uses `<http://schemas.xmlsoap.org/soap/envelope/>` namespace\nIf SOAP version is 1.2, it uses `<http://www.w3.org/2003/05/soap-envelope>` namespace"
        }
      },
      "additionalProperties": false
    },
    "SOAPHeaders": {
      "required": [
        "namespace",
        "headers"
      ],
      "type": "object",
      "title": "SOAPHeaders",
      "properties": {
        "alias": {
          "type": "string",
          "description": "The name of the alias to be used in the envelope\n\ndefault: `header`"
        },
        "namespace": {
          "type": "string",
          "description": "The namespace of the SOAP Header\nFor example: `<http://www.example.com/namespace>`"
        },
        "headers": {
          "type": "object",
          "properties": {},
          "description": "The content of the SOAP Header\nFor example: { \"key\": \"value\" } then the content will be `<key>value</key>`"
        }
      },
      "additionalProperties": false
    },
    "SupergraphHandler": {
      "required": [
        "source"
      ],
      "type": "object",
      "title": "SupergraphHandler",
      "properties": {
        "source": {
          "type": "string",
          "description": "A file path to your Supergraph Schema\nIf you provide a path to a code file(js or ts),\nother options will be ignored and the schema exported from the file will be used directly."
        },
        "schemaHeaders": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "operationHeaders": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "batch": {
          "type": "boolean"
        },
        "subgraphs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SubgraphConfiguration"
          },
          "additionalItems": false
        }
      },
      "additionalProperties": false
    },
    "SubgraphConfiguration": {
      "required": [
        "name"
      ],
      "type": "object",
      "title": "SubgraphConfiguration",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the subgraph you want to configure"
        },
        "endpoint": {
          "type": "string",
          "description": "A url or file path to your remote GraphQL endpoint.\nIf you provide a path to a code file(js or ts),\nother options will be ignored and the schema exported from the file will be used directly."
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the Headers to add to the runtime of the API calls only for operation during runtime"
        },
        "useGETForQueries": {
          "type": "boolean",
          "description": "Use HTTP GET for Query operations"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "description": "HTTP method used for GraphQL operations (Allowed values: GET, POST)"
        },
        "credentials": {
          "type": "string",
          "enum": [
            "omit",
            "include"
          ],
          "description": "Request Credentials if your environment supports it.\n[See more](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials)\n\n@default \"same-origin\" (Allowed values: omit, include)"
        },
        "webSocketImpl": {
          "type": "string",
          "description": "Path to a custom W3 Compatible WebSocket Implementation"
        },
        "source": {
          "type": "string",
          "description": "Path to the introspection\nYou can separately give schema introspection or SDL"
        },
        "subscriptionsProtocol": {
          "type": "string",
          "enum": [
            "SSE",
            "WS",
            "LEGACY_WS"
          ],
          "description": "SSE - Server Sent Events\nWS - New graphql-ws\nLEGACY_WS - Legacy subscriptions-transport-ws (Allowed values: SSE, WS, LEGACY_WS)"
        },
        "subscriptionsEndpoint": {
          "type": "string",
          "description": "URL to your endpoint serving all subscription queries for this source"
        },
        "retry": {
          "type": "integer",
          "description": "Retry attempts if fails"
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout in milliseconds"
        },
        "connectionParams": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n  - When using `subscriptionsProtocol=WS` (graphql-ws): <https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams>\n  - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): <https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient>"
        }
      },
      "additionalProperties": false
    },
    "ThriftHandler": {
      "required": [
        "hostName",
        "port",
        "serviceName",
        "idl"
      ],
      "type": "object",
      "title": "ThriftHandler",
      "properties": {
        "hostName": {
          "type": "string",
          "description": "The name of the host to connect to."
        },
        "port": {
          "type": "integer",
          "description": "The port number to attach to on the host."
        },
        "path": {
          "type": "string",
          "description": "The path on which the Thrift service is listening. Defaults to '/thrift'."
        },
        "https": {
          "type": "boolean",
          "description": "Boolean value indicating whether to use https. Defaults to false."
        },
        "protocol": {
          "type": "string",
          "enum": [
            "binary",
            "compact",
            "json"
          ],
          "description": "Name of the Thrift protocol type to use. Defaults to 'binary'. (Allowed values: binary, compact, json)"
        },
        "serviceName": {
          "type": "string",
          "description": "The name of your service. Used for logging."
        },
        "operationHeaders": {
          "type": "object",
          "properties": {},
          "description": "JSON object representing the Headers to add to the runtime of the API calls"
        },
        "schemaHeaders": {
          "type": "object",
          "properties": {},
          "description": "If you are using a remote URL endpoint to fetch your schema, you can set headers for the HTTP request to fetch your schema."
        },
        "idl": {
          "type": "string",
          "description": "Path to IDL file"
        }
      },
      "additionalProperties": false
    },
    "CacheTransformConfig": {
      "required": [
        "field"
      ],
      "type": "object",
      "title": "CacheTransformConfig",
      "properties": {
        "field": {
          "type": "string",
          "description": "The type and field to apply cache to, you can use wild cards as well, for example: `Query.*`"
        },
        "cacheKey": {
          "type": "string",
          "description": "Cache key to use to store your resolvers responses.\nThe default is: `{typeName}-{fieldName}-{argsHash}-{fieldNamesHash}`\n\nAvailable variables:\n  - `{args.argName}` - use resolver argument\n  - `{typeName}` - use name of the type\n  - `{fieldName}` - use name of the field\n  - `{argsHash}` - a hash based on the 'args' object\n  - `{fieldNamesHash}` - a hash based on the field names selected by the client\n  - `{info}` - the GraphQLResolveInfo of the resolver\n\nAvailable interpolations:\n  - `{format|date}` - returns the current date with a specific format"
        },
        "invalidate": {
          "$ref": "#/$defs/CacheInvalidateConfig",
          "description": "Invalidation rules"
        }
      },
      "additionalProperties": false
    },
    "CacheInvalidateConfig": {
      "properties": {
        "effectingOperations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CacheEffectingOperationConfig"
          },
          "additionalItems": false,
          "description": "Invalidate the cache when a specific operation is done without an error"
        },
        "ttl": {
          "type": "integer",
          "description": "Specified in seconds, the time-to-live (TTL) value limits the lifespan"
        }
      },
      "type": "object",
      "title": "CacheInvalidateConfig",
      "additionalProperties": false
    },
    "CacheEffectingOperationConfig": {
      "required": [
        "operation"
      ],
      "type": "object",
      "title": "CacheEffectingOperationConfig",
      "properties": {
        "operation": {
          "type": "string",
          "description": "Path to the operation that could effect it. In a form: Mutation.something. Note that wildcard is not supported in this field."
        },
        "matchKey": {
          "type": "string",
          "description": "Cache key to invalidate on successful resolver (no error), see `cacheKey` for list of available options in this field."
        }
      },
      "additionalProperties": false
    },
    "EncapsulateTransformObject": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Optional, name to use for grouping under the root types. If not specific, the API name is used."
        },
        "applyTo": {
          "$ref": "#/$defs/EncapsulateTransformApplyTo",
          "description": "Allow you to choose which root operations you would like to apply. By default, it's applied to all root types."
        }
      },
      "type": "object",
      "title": "EncapsulateTransformObject",
      "additionalProperties": false
    },
    "EncapsulateTransformApplyTo": {
      "properties": {
        "query": {
          "type": "boolean"
        },
        "mutation": {
          "type": "boolean"
        },
        "subscription": {
          "type": "boolean"
        }
      },
      "type": "object",
      "title": "EncapsulateTransformApplyTo",
      "additionalProperties": false
    },
    "ExtendTransform": {
      "properties": {
        "typeDefs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "resolvers": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        }
      },
      "type": "object",
      "title": "ExtendTransform",
      "additionalProperties": false
    },
    "FederationTransform": {
      "properties": {
        "types": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FederationTransformType"
          },
          "additionalItems": false
        },
        "version": {
          "type": "string",
          "description": "Version of the federation spec\nDefault: v2.0"
        }
      },
      "type": "object",
      "title": "FederationTransform",
      "additionalProperties": false
    },
    "FederationTransformType": {
      "required": [
        "name"
      ],
      "type": "object",
      "title": "FederationTransformType",
      "properties": {
        "name": {
          "type": "string"
        },
        "config": {
          "$ref": "#/$defs/FederationObjectConfig"
        }
      },
      "additionalProperties": false
    },
    "FederationObjectConfig": {
      "properties": {
        "key": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FederationObjectKeyConfig"
          },
          "additionalItems": false
        },
        "shareable": {
          "type": "boolean"
        },
        "extends": {
          "type": "boolean"
        },
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FederationField"
          },
          "additionalItems": false
        },
        "resolveReference": {
          "description": "Any of: String, ResolveReferenceObject",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/ResolveReferenceObject"
            }
          ]
        }
      },
      "type": "object",
      "title": "FederationObjectConfig",
      "additionalProperties": false
    },
    "FederationObjectKeyConfig": {
      "properties": {
        "fields": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FederationObjectKeyConfig",
      "additionalProperties": false
    },
    "ResolveReferenceObject": {
      "required": [
        "queryFieldName"
      ],
      "type": "object",
      "title": "ResolveReferenceObject",
      "properties": {
        "queryFieldName": {
          "type": "string",
          "description": "Name of root field name that resolves the reference"
        },
        "args": {
          "type": "object",
          "properties": {},
          "description": "You need configure the arguments for that field;\n```yaml\nargs:\n  someArg: \"{root.someKeyValue}\"\n```"
        }
      },
      "additionalProperties": false
    },
    "FederationField": {
      "required": [
        "name",
        "config"
      ],
      "type": "object",
      "title": "FederationField",
      "properties": {
        "name": {
          "type": "string"
        },
        "config": {
          "$ref": "#/$defs/FederationFieldConfig"
        }
      },
      "additionalProperties": false
    },
    "FederationFieldConfig": {
      "properties": {
        "external": {
          "type": "boolean"
        },
        "provides": {
          "$ref": "#/$defs/FederationFieldProvidesConfig"
        },
        "requires": {
          "$ref": "#/$defs/FederationFieldRequiresConfig"
        },
        "tag": {
          "$ref": "#/$defs/FederationFieldTagConfig"
        },
        "inaccessible": {
          "type": "boolean"
        },
        "override": {
          "$ref": "#/$defs/FederationFieldOverrideConfig"
        }
      },
      "type": "object",
      "title": "FederationFieldConfig",
      "additionalProperties": false
    },
    "FederationFieldProvidesConfig": {
      "properties": {
        "fields": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FederationFieldProvidesConfig",
      "additionalProperties": false
    },
    "FederationFieldRequiresConfig": {
      "properties": {
        "fields": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FederationFieldRequiresConfig",
      "additionalProperties": false
    },
    "FederationFieldTagConfig": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FederationFieldTagConfig",
      "additionalProperties": false
    },
    "FederationFieldOverrideConfig": {
      "properties": {
        "from": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "FederationFieldOverrideConfig",
      "additionalProperties": false
    },
    "FilterSchemaTransform": {
      "required": [
        "filters"
      ],
      "type": "object",
      "title": "FilterSchemaTransform",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "bare",
            "wrap"
          ],
          "description": "Specify to apply filter-schema transforms to bare schema or by wrapping original schema (Allowed values: bare, wrap)"
        },
        "filters": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Array of filter rules"
        },
        "filterDeprecatedTypes": {
          "type": "boolean",
          "description": "Filter deprecated types"
        },
        "filterDeprecatedFields": {
          "type": "boolean",
          "description": "Filter deprecated fields"
        }
      },
      "additionalProperties": false
    },
    "HoistFieldTransformConfig": {
      "required": [
        "typeName",
        "pathConfig",
        "newFieldName"
      ],
      "type": "object",
      "title": "HoistFieldTransformConfig",
      "properties": {
        "typeName": {
          "type": "string",
          "description": "Type name that defines where field should be hoisted to"
        },
        "pathConfig": {
          "type": "array",
          "items": {
            "description": "Any of: String, HoistFieldTransformFieldPathConfigObject",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/HoistFieldTransformFieldPathConfigObject"
              }
            ]
          },
          "additionalItems": false,
          "description": "Array of fieldsNames to reach the field to be hoisted (Any of: String, HoistFieldTransformFieldPathConfigObject)"
        },
        "newFieldName": {
          "type": "string",
          "description": "Name the hoisted field should have when hoisted to the type specified in typeName"
        },
        "alias": {
          "type": "string"
        },
        "filterArgsInPath": {
          "type": "boolean",
          "description": "Defines if args in path are filtered (default = false)"
        }
      },
      "additionalProperties": false
    },
    "HoistFieldTransformFieldPathConfigObject": {
      "required": [
        "fieldName",
        "filterArgs"
      ],
      "type": "object",
      "title": "HoistFieldTransformFieldPathConfigObject",
      "properties": {
        "fieldName": {
          "type": "string",
          "description": "Field name"
        },
        "filterArgs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Match fields based on argument, needs to implement `(arg: GraphQLArgument) => boolean`;"
        }
      },
      "additionalProperties": false
    },
    "NamingConventionTransformConfig": {
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "bare",
            "wrap"
          ],
          "description": "Specify to apply naming-convention transforms to bare schema or by wrapping original schema (Allowed values: bare, wrap)"
        },
        "typeNames": {
          "type": "string",
          "enum": [
            "camelCase",
            "capitalCase",
            "constantCase",
            "dotCase",
            "headerCase",
            "noCase",
            "paramCase",
            "pascalCase",
            "pathCase",
            "sentenceCase",
            "snakeCase",
            "upperCase",
            "lowerCase"
          ],
          "description": "Allowed values: camelCase, capitalCase, constantCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase, upperCase, lowerCase"
        },
        "fieldNames": {
          "type": "string",
          "enum": [
            "camelCase",
            "capitalCase",
            "constantCase",
            "dotCase",
            "headerCase",
            "noCase",
            "paramCase",
            "pascalCase",
            "pathCase",
            "sentenceCase",
            "snakeCase",
            "upperCase",
            "lowerCase"
          ],
          "description": "Allowed values: camelCase, capitalCase, constantCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase, upperCase, lowerCase"
        },
        "enumValues": {
          "type": "string",
          "enum": [
            "camelCase",
            "capitalCase",
            "constantCase",
            "dotCase",
            "headerCase",
            "noCase",
            "paramCase",
            "pascalCase",
            "pathCase",
            "sentenceCase",
            "snakeCase",
            "upperCase",
            "lowerCase"
          ],
          "description": "Allowed values: camelCase, capitalCase, constantCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase, upperCase, lowerCase"
        },
        "fieldArgumentNames": {
          "type": "string",
          "enum": [
            "camelCase",
            "capitalCase",
            "constantCase",
            "dotCase",
            "headerCase",
            "noCase",
            "paramCase",
            "pascalCase",
            "pathCase",
            "sentenceCase",
            "snakeCase",
            "upperCase",
            "lowerCase"
          ],
          "description": "Allowed values: camelCase, capitalCase, constantCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase, upperCase, lowerCase"
        }
      },
      "type": "object",
      "title": "NamingConventionTransformConfig",
      "additionalProperties": false
    },
    "PrefixTransformConfig": {
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "bare",
            "wrap"
          ],
          "description": "Specify to apply prefix transform to bare schema or by wrapping original schema (Allowed values: bare, wrap)"
        },
        "value": {
          "type": "string",
          "description": "The prefix to apply to the schema types. By default it's the API name."
        },
        "ignore": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "List of ignored types"
        },
        "includeRootOperations": {
          "type": "boolean",
          "description": "Changes root types and changes the field names (default: false)"
        },
        "includeTypes": {
          "type": "boolean",
          "description": "Changes types (default: true)"
        }
      },
      "type": "object",
      "title": "PrefixTransformConfig",
      "additionalProperties": false
    },
    "PruneTransformConfig": {
      "properties": {
        "skipPruning": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Types to skip pruning"
        },
        "skipEmptyCompositeTypePruning": {
          "type": "boolean",
          "description": "Set to `true` to skip pruning object types or interfaces with no fields"
        },
        "skipUnimplementedInterfacesPruning": {
          "type": "boolean",
          "description": "Set to `true` to skip pruning interfaces that are not implemented by any other types"
        },
        "skipEmptyUnionPruning": {
          "type": "boolean",
          "description": "Set to `true` to skip pruning empty unions"
        },
        "skipUnusedTypesPruning": {
          "type": "boolean",
          "description": "Set to `true` to skip pruning unused types"
        }
      },
      "type": "object",
      "title": "PruneTransformConfig",
      "additionalProperties": false
    },
    "RateLimitTransformConfig": {
      "required": [
        "type",
        "field",
        "max",
        "ttl",
        "identifier"
      ],
      "type": "object",
      "title": "RateLimitTransformConfig",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type name that the following field belongs to"
        },
        "field": {
          "type": "string",
          "description": "The field of the type that the rate limit is applied to"
        },
        "max": {
          "type": "integer",
          "description": "The maximum number of requests that can be made in a given time period"
        },
        "ttl": {
          "type": "integer",
          "description": "The time period in which the rate limit is applied"
        },
        "identifier": {
          "type": "string",
          "description": "The identifier expression that determines the identity of the request (e.g. `{context.req.socket.remoteAddress}`)"
        }
      },
      "additionalProperties": false
    },
    "RenameTransform": {
      "required": [
        "renames"
      ],
      "type": "object",
      "title": "RenameTransform",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "bare",
            "wrap"
          ],
          "description": "Specify to apply rename transforms to bare schema or by wrapping original schema (Allowed values: bare, wrap)"
        },
        "renames": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RenameTransformObject"
          },
          "additionalItems": false,
          "description": "Array of rename rules"
        }
      },
      "additionalProperties": false
    },
    "RenameTransformObject": {
      "required": [
        "from",
        "to"
      ],
      "type": "object",
      "title": "RenameTransformObject",
      "properties": {
        "from": {
          "$ref": "#/$defs/RenameConfig"
        },
        "to": {
          "$ref": "#/$defs/RenameConfig"
        },
        "useRegExpForTypes": {
          "type": "boolean",
          "description": "Use Regular Expression for type names"
        },
        "useRegExpForFields": {
          "type": "boolean",
          "description": "Use Regular Expression for field names"
        },
        "useRegExpForArguments": {
          "type": "boolean",
          "description": "Use Regular Expression for field names"
        },
        "regExpFlags": {
          "type": "string",
          "description": "Flags to use in the Regular Expression"
        },
        "includeDefaults": {
          "type": "boolean",
          "description": "Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false"
        }
      },
      "additionalProperties": false
    },
    "RenameConfig": {
      "properties": {
        "type": {
          "type": "string"
        },
        "field": {
          "type": "string"
        },
        "argument": {
          "type": "string"
        }
      },
      "type": "object",
      "title": "RenameConfig",
      "additionalProperties": false
    },
    "ReplaceFieldTransformConfig": {
      "required": [
        "replacements"
      ],
      "type": "object",
      "title": "ReplaceFieldTransformConfig",
      "properties": {
        "typeDefs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Additional type definition to used to replace field types"
        },
        "replacements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReplaceFieldTransformObject"
          },
          "additionalItems": false,
          "description": "Array of rules to replace fields"
        }
      },
      "additionalProperties": false
    },
    "ReplaceFieldTransformObject": {
      "required": [
        "from",
        "to"
      ],
      "type": "object",
      "title": "ReplaceFieldTransformObject",
      "properties": {
        "from": {
          "$ref": "#/$defs/ReplaceFieldConfig"
        },
        "to": {
          "$ref": "#/$defs/ReplaceFieldConfig"
        },
        "scope": {
          "type": "string",
          "enum": [
            "config",
            "hoistValue"
          ],
          "description": "Allowed values: config, hoistValue"
        },
        "composer": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ]
        },
        "name": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "ReplaceFieldConfig": {
      "required": [
        "type",
        "field"
      ],
      "type": "object",
      "title": "ReplaceFieldConfig",
      "properties": {
        "type": {
          "type": "string"
        },
        "field": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "ResolversCompositionTransform": {
      "required": [
        "compositions"
      ],
      "type": "object",
      "title": "ResolversCompositionTransform",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "bare",
            "wrap"
          ],
          "description": "Specify to apply resolvers-composition transforms to bare schema or by wrapping original schema (Allowed values: bare, wrap)"
        },
        "compositions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResolversCompositionTransformObject"
          },
          "additionalItems": false,
          "description": "Array of resolver/composer to apply"
        }
      },
      "additionalProperties": false
    },
    "ResolversCompositionTransformObject": {
      "required": [
        "resolver",
        "composer"
      ],
      "type": "object",
      "title": "ResolversCompositionTransformObject",
      "properties": {
        "resolver": {
          "type": "string",
          "description": "The GraphQL Resolver path\nExample: Query.users"
        },
        "composer": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "Path to the composer function\nExample: ./src/auth.js#authComposer"
        }
      },
      "additionalProperties": false
    },
    "TransferSchemaTransformConfig": {
      "required": [
        "transfers"
      ],
      "type": "object",
      "title": "TransferSchemaTransformConfig",
      "properties": {
        "transfers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TransferSchemaTransformObject"
          },
          "additionalItems": false,
          "description": "Array of rules to transfer fields or args"
        }
      },
      "additionalProperties": false
    },
    "TransferSchemaTransformObject": {
      "required": [
        "from",
        "to"
      ],
      "type": "object",
      "title": "TransferSchemaTransformObject",
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "action": {
          "type": "string",
          "enum": [
            "move",
            "copy"
          ],
          "description": "Allowed values: move, copy"
        }
      },
      "additionalProperties": false
    },
    "TypeMergingConfig": {
      "properties": {
        "types": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MergedTypeConfig"
          },
          "additionalItems": false
        },
        "queryFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MergedRootFieldConfig"
          },
          "additionalItems": false,
          "description": "Denotes a root field used to query a merged type across services.\nThe marked field's name is analogous\nto the fieldName setting in\n[merged type configuration](https://www.graphql-tools.com/docs/stitch-type-merging#basic-example),\nwhile the field's arguments and return type are used to infer merge configuration.\nDirective arguments tune the merge behavior"
        },
        "additionalConfiguration": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "additionalItems": true
            }
          ],
          "description": "The path to a code file that has additional type merging configuration"
        }
      },
      "type": "object",
      "title": "TypeMergingConfig",
      "additionalProperties": false
    },
    "MergedRootFieldConfig": {
      "required": [
        "queryFieldName"
      ],
      "type": "object",
      "title": "MergedRootFieldConfig",
      "properties": {
        "queryFieldName": {
          "type": "string"
        },
        "keyField": {
          "type": "string",
          "description": "Specifies the name of a field to pick off origin objects as the key value. When omitted, a `@key` directive must be included on the return type's definition to be built into an object key.\n<https://www.graphql-tools.com/docs/stitch-directives-sdl#object-keys>"
        },
        "keyArg": {
          "type": "string",
          "description": "Specifies which field argument receives the merge key. This may be omitted for fields with only one argument where the recipient can be inferred."
        },
        "additionalArgs": {
          "type": "string",
          "description": "Specifies a string of additional keys and values to apply to other arguments,\nformatted as `\\\"\\\"\\\" arg1: \"value\", arg2: \"value\" \\\"\\\"\\\"`."
        },
        "key": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "additionalItems": false,
          "description": "Advanced use only; Allows building a custom key just for the argument from the selectionSet included by the `@key` directive."
        },
        "argsExpr": {
          "type": "string",
          "description": "Advanced use only; This argument specifies a string expression that allows more customization of the input arguments. Rules for evaluation of this argument are as follows:\n  - basic object parsing of the input key: `\"arg1: $key.arg1, arg2: $key.arg2\"`\n  - any expression enclosed by double brackets will be evaluated once for each of the requested keys, and then sent as a list: `\"input: { keys: [[$key]] }\"`\n  - selections from the key can be referenced by using the $ sign and dot notation: `\"upcs: [[$key.upc]]\"`, so that `$key.upc` refers to the `upc` field of the key."
        }
      },
      "additionalProperties": false
    },
    "MergedTypeConfig": {
      "properties": {
        "typeName": {
          "type": "string",
          "description": "Name of the type (Query by default)"
        },
        "key": {
          "$ref": "#/$defs/KeyAnnotation",
          "description": "Specifies a base selection set needed to merge the annotated type across subschemas.\nAnalogous to the `selectionSet` setting specified in [merged type configuration](https://www.graphql-tools.com/docs/stitch-type-merging#basic-example)."
        },
        "canonical": {
          "type": "boolean",
          "description": "Specifies types and fields\nthat provide a [canonical definition](https://www.graphql-tools.com/docs/stitch-type-merging#canonical-definitions) to be built into the gateway schema. Useful for selecting preferred characteristics among types and fields that overlap across subschemas. Root fields marked as canonical specify which subschema the field proxies for new queries entering the graph."
        },
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MergedTypeField"
          },
          "additionalItems": false
        }
      },
      "type": "object",
      "title": "MergedTypeConfig",
      "additionalProperties": false
    },
    "KeyAnnotation": {
      "required": [
        "selectionSet"
      ],
      "type": "object",
      "title": "KeyAnnotation",
      "properties": {
        "selectionSet": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "MergedTypeField": {
      "required": [
        "fieldName"
      ],
      "type": "object",
      "title": "MergedTypeField",
      "properties": {
        "fieldName": {
          "type": "string"
        },
        "computed": {
          "$ref": "#/$defs/ComputedAnnotation",
          "description": "specifies a selection of fields required from other services to compute the value of this field.\nThese additional fields are only selected when the computed field is requested.\nAnalogous to [computed field](https://www.graphql-tools.com/docs/stitch-type-merging#computed-fields) in merged type configuration.\nComputed field dependencies must be sent into the subservice using an [object key](https://www.graphql-tools.com/docs/stitch-directives-sdl#object-keys)."
        }
      },
      "additionalProperties": false
    },
    "ComputedAnnotation": {
      "required": [
        "selectionSet"
      ],
      "type": "object",
      "title": "ComputedAnnotation",
      "properties": {
        "selectionSet": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "TuqlHandler": {
      "properties": {
        "db": {
          "type": "string",
          "description": "Pointer to your SQLite database"
        },
        "infile": {
          "type": "string",
          "description": "Path to the SQL Dump file if you want to build a in-memory database"
        }
      },
      "type": "object",
      "title": "TuqlHandler",
      "additionalProperties": false
    },
    "PrometheusConfig": {
      "properties": {
        "requestCount": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "requestTotalDuration": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "requestSummary": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "parse": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "validate": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "contextBuilding": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "execute": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "errors": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "deprecatedFields": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "skipIntrospection": {
          "type": "boolean"
        },
        "registry": {
          "type": "string"
        },
        "delegation": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "delegationArgs": {
          "type": "boolean"
        },
        "delegationKey": {
          "type": "boolean"
        },
        "subgraphExecute": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "fetchMetrics": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "fetchRequestHeaders": {
          "type": "boolean"
        },
        "fetchResponseHeaders": {
          "type": "boolean"
        },
        "http": {
          "description": "Any of: Boolean, String",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        },
        "httpRequestHeaders": {
          "type": "boolean"
        },
        "httpResponseHeaders": {
          "type": "boolean"
        },
        "endpoint": {
          "description": "The path to the metrics endpoint\ndefault: `/metrics` (Any of: Boolean, String)",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ]
        }
      },
      "type": "object",
      "title": "PrometheusConfig",
      "additionalProperties": false
    }
  },
  "required": [
    "sources"
  ]
}
