Amazon AppSync · Schema

Type

A GraphQL type definition

Amazon AppSyncGraphQLAPI ManagementServerless

Properties

Name Type Description
name string The type name
description string Type description
arn string The type ARN
definition string The type definition in SDL or JSON format
format string The schema format
View JSON Schema on GitHub

JSON Schema

appsync-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/amazon-appsync/json-schema/appsync-type-schema.json",
  "title": "Type",
  "description": "A GraphQL type definition",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The type name"
    },
    "description": {
      "type": "string",
      "description": "Type description"
    },
    "arn": {
      "type": "string",
      "description": "The type ARN"
    },
    "definition": {
      "type": "string",
      "description": "The type definition in SDL or JSON format"
    },
    "format": {
      "type": "string",
      "description": "The schema format"
    }
  }
}