{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://amazonalexa.com/ask/2020/12/DialogDeclaration",
  "title": "Dialog",
  "description": "Represents a dialog.",
  "type": "object",
  "additionalProperties": false,
  "required": ["kind", "name", "samples"],
  "properties": {
    "kind": {
      "const": "DialogDeclaration",
      "title": "kind",
      "description": "The expression's identifier."
    },
    "name": {
      "description": "The name of the dialog.",
      "$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName",
      "examples": ["org.example.DateTimeDialog"]
    },
    "genericArguments": {
      "description": "The set of generic arguments for the dialog.",
      "$ref": "https://amazonalexa.com/ask/2020/12/GenericArgumentsDeclaration"
    },
    "arguments": {
      "$ref": "https://amazonalexa.com/ask/2020/12/ArgumentsDeclaration"
    },
    "returnType": {
      "description": "The return type of the dialog.",
      "$ref": "https://amazonalexa.com/ask/2020/12/TypeReference"
    },
    "samples": {
      "description": "The set of dialog samples.",
      "type": "array",
      "items": {
        "$ref": "https://amazonalexa.com/ask/2020/12/Sample"
      }
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "https://amazonalexa.com/ask/2020/12/Call",
        "description": "call data structures to annotate this dialog declaration."
      }
    }
  }
}
