@alexa/ask-expressions-spec
Version:
The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).
36 lines (35 loc) • 1.06 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://amazonalexa.com/ask/2020/12/EnumDeclaration",
"title": "EnumDeclaration",
"description": "Represents an enum type declaration.",
"type": "object",
"additionalProperties": false,
"required": ["kind", "name", "items"],
"properties": {
"kind": {
"const": "EnumDeclaration",
"title": "kind",
"description": "The expression's identifier."
},
"name": {
"description": "The name of the enum type.",
"$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName",
"examples": ["com.amazon.alexa.ask.conversations.Locale"]
},
"items": {
"description": "The names of items in the enum.",
"type": "array",
"items": {
"$ref": "https://amazonalexa.com/ask/2020/12/EnumItemDeclaration"
}
},
"annotations": {
"type": "array",
"items": {
"$ref": "https://amazonalexa.com/ask/2020/12/Call",
"description": "call data structures to annotate this enum."
}
}
}
}