UNPKG

@alexa/ask-expressions-spec

Version:

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

39 lines (38 loc) 1.28 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://amazonalexa.com/ask/2020/12/ActionDeclaration", "title": "ActionDeclaration", "description": "Represents the declaration of an action.", "type": "object", "additionalProperties": false, "required": ["kind", "name", "returnType"], "properties": { "kind": { "const": "ActionDeclaration", "title": "kind", "description": "The expression's identifier." }, "name": { "description": "The name of the action.", "$ref": "https://amazonalexa.com/ask/2020/12/QualifiedName", "examples": ["org.example.getWeather", "com.amazon.alexa.ask.conversations.expect"] }, "genericArguments": { "$ref": "https://amazonalexa.com/ask/2020/12/GenericArgumentsDeclaration" }, "returnType": { "description": "The return type of the action.", "$ref": "https://amazonalexa.com/ask/2020/12/TypeReference" }, "arguments": { "$ref": "https://amazonalexa.com/ask/2020/12/ArgumentsDeclaration" }, "annotations": { "type": "array", "items": { "$ref": "https://amazonalexa.com/ask/2020/12/Call", "description": "call data structures to annotate this action declaration." } } } }