{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://amazonalexa.com/ask/2020/12/InteractionDeclaration",
  "title": "InteractionDeclaration",
  "description": "Represents an interaction expression that allows developers to provide feedback to the model on a particular instance of a conversation.",
  "type": "object",
  "additionalProperties": false,
  "required": ["kind", "expressions"],
  "properties": {
    "kind": {
      "const": "InteractionDeclaration",
      "title": "kind",
      "description": "The expression's identifier."
    },
    "expressions": {
      "description": "Block of expressions for interaction.",
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://amazonalexa.com/ask/2020/12/Call"
          },
          {
            "$ref": "https://amazonalexa.com/ask/2020/12/InteractionNameDeclaration"
          },
          {
            "$ref": "https://amazonalexa.com/ask/2020/12/Correction"
          }
        ]
      }
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "https://amazonalexa.com/ask/2020/12/Call",
        "description": "call data structures to annotate this interaction declaration."
      }
    }
  }
}
