@alexa/ask-expressions-spec
Version:
The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).
41 lines (40 loc) • 1.26 kB
JSON
{
"$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."
}
}
}
}