← All types
Apps & SurfacesIn Input object

CreateExternalSchemaInput

Input for creating an external schema

Fields

name

String!Required

Schema name (required)

Optional description

Schema format (required)

Possible values (3)
OPENAPI_3

OpenAPI 3.x specification

SWAGGER_2

Swagger 2.0 specification

JSON_SCHEMA

JSON Schema

Raw schema content (JSON or YAML)

Referenced by (1)
Exact type SDL
"""Input for creating an external schema"""
input CreateExternalSchemaInput {
  """Schema name (required)"""
  name: String!
  """Optional description"""
  description: String
  """Schema format (required)"""
  format: ExternalSchemaFormat!
  """Raw schema content (JSON or YAML)"""
  sourceText: String!
}