UNPKG

@alexa/ask-expressions-spec

Version:

The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).

53 lines (45 loc) 1.56 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://amazonalexa.com/ask/2020/12/Module", "title": "Module", "description": "The schema for the Alexa Skills Kit (ASK) module document.", "type": "object", "additionalProperties": false, "required": ["schema", "expressions"], "properties": { "schema": { "title": "schema", "description": "The schema for the module file.", "type": "string", "format": "uri", "default": "https://amazonalexa.com/ask/2020/12/Module", "examples": ["https://amazonalexa.com/ask/2020/12/Module"] }, "exports": { "title": "exports", "description": "The declared names that are visible outside this module.", "type": "array", "items": { "$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName" } }, "expressions": { "type": "array", "items": { "oneOf": [ { "$ref": "https://amazonalexa.com/ask/2020/12/ActionDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/DialogDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/InteractionDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/EnumDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/QualifiedNameDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/TypeDeclaration" }, { "$ref": "https://amazonalexa.com/ask/2020/12/Call" } ] } } } }