@alexa/ask-expressions-spec
Version:
The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).
44 lines (43 loc) • 1.32 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://amazonalexa.com/ask/2020/12/QualifiedNameDeclaration",
"title": "name",
"description": "Introduces a namespaced-qualified name for an expression.",
"type": "object",
"additionalProperties": false,
"required": ["kind", "name", "expression"],
"properties": {
"kind": {
"const": "QualifiedNameDeclaration",
"title": "kind",
"description": "The expression's identifier."
},
"name": {
"$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName"
},
"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/NameReference"
},
{
"$ref": "https://amazonalexa.com/ask/2020/12/PropertyReference"
}
]
},
"annotations": {
"type": "array",
"items": {
"$ref": "https://amazonalexa.com/ask/2020/12/Call",
"description": "call data structures to annotate this qualified name declaration."
}
}
}
}