{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://amazonalexa.com/ask/2020/12/EnumDeclaration",
  "title": "EnumDeclaration",
  "description": "Represents an enum type declaration.",
  "type": "object",
  "additionalProperties": false,
  "required": ["kind", "name", "items"],
  "properties": {
    "kind": {
      "const": "EnumDeclaration",
      "title": "kind",
      "description": "The expression's identifier."
    },
    "name": {
      "description": "The name of the enum type.",
      "$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName",
      "examples": ["com.amazon.alexa.ask.conversations.Locale"]
    },
    "items": {
      "description": "The names of items in the enum.",
      "type": "array",
      "items": {
        "$ref": "https://amazonalexa.com/ask/2020/12/EnumItemDeclaration"
      }
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "https://amazonalexa.com/ask/2020/12/Call",
        "description": "call data structures to annotate this enum."
      }
    }
  }
}
