@alexa/ask-expressions-spec
Version:
The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).
44 lines (43 loc) • 1.33 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://amazonalexa.com/ask/2020/12/InteractionNameDeclaration",
"title": "name",
"description": "Introduces a name for an expression. Can only be used in Interaction block.",
"type": "object",
"additionalProperties": false,
"required": ["kind", "name", "expression"],
"properties": {
"kind": {
"const": "InteractionNameDeclaration",
"title": "kind",
"description": "The expression's identifier."
},
"name": {
"$ref": "https://amazonalexa.com/ask/2020/12/Name"
},
"type": {
"description": "The type of the name. If it's omitted, then the name inherits the type of its expression.",
"$ref": "https://amazonalexa.com/ask/2020/12/TypeReference"
},
"expression": {
"oneOf": [
{
"$ref": "https://amazonalexa.com/ask/2020/12/Call"
},
{
"$ref": "https://amazonalexa.com/ask/2020/12/PropertyReference"
},
{
"$ref": "https://amazonalexa.com/ask/2020/12/NameReference"
}
]
},
"annotations": {
"type": "array",
"items": {
"$ref": "https://amazonalexa.com/ask/2020/12/Call",
"description": "call data structures to annotate this interaction declaration."
}
}
}
}