@alexa/ask-expressions-spec
Version:
The JSON Schema specification for the Alexa Skills Kit Intermediate Representation (ASKIR).
39 lines (38 loc) • 1.02 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://amazonalexa.com/ask/2020/12/Arguments",
"title": "Arguments",
"description": "Arguments to a Call can be JSON primitives or an object/array of Calls, NameReferences or PropertyReferences",
"oneOf": [
{"type": "null"},
{"type": "number"},
{"type": "string"},
{"type": "boolean"},
{
"type": "array",
"items": {
"$ref": "#/definitions/arg-expression"
}
},
{
"type": "object",
"propertyNames": {
"$ref": "https://amazonalexa.com/ask/2020/12/Name"
},
"patternProperties": {
".+": {
"$ref": "#/definitions/arg-expression"
}
}
}
],
"definitions": {
"arg-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"}
]
}
}
}