{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Alexa Smart Home Message Schema", "description": "A JSON message sent from a skill to Alexa, either proactively or as a response to a directive", "definitions": { "common": { "model.StatePropertyBase.TimeOfSample": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:.\\d{1,3}|)Z$", "type": "string" }, "model.StatePropertyBase.UncertaintyInMilliseconds": { "minimum": 0, "type": "number" }, "model.Context": { "type": "object", "additionalProperties": false, "properties": { "properties": { "$ref": "#/definitions/state.properties" } } }, "model.PayloadVersion": { "type": "string", "enum": [ "3" ] }, "model.MessageId": { "type": "string", "minLength": 1, "maxLength": 127, "pattern": "^[a-zA-Z0-9\\-]*$" }, "model.CorrelationToken": { "type": "string", "minLength": 1 }, "model.Scope": { "type": "object", "required": [ "type", "token" ], "properties": { "type": { "enum": [ "BearerToken" ] }, "token": { "type": "string", "minLength": 1 } } }, "model.EndpointId": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-=#;:?@&]*$", "minLength": 1, "maxLength": 256 }, "model.Endpoint": { "type": "object", "required": [ "endpointId" ], "properties": { "scope": { "$ref": "#/definitions/common/model.Scope" }, "endpointId": { "$ref": "#/definitions/common/model.EndpointId" } } } }, "state.properties": { "type": "array", "uniqueItems": true, "additionalItems": false, "items": { "anyOf": [ { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ColorController" ] }, "name": { "enum": [ "color" ] }, "instance": { "type": "string" }, "value": { "required": [ "brightness", "hue", "saturation" ], "type": "object", "properties": { "hue": { "maximum": 360, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "number", "format": "double" }, "saturation": { "maximum": 1, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "number", "format": "double" }, "brightness": { "maximum": 1, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "number", "format": "double" } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.PowerController" ] }, "name": { "enum": [ "powerState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "ON", "OFF", "on", "off" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ThermostatController" ] }, "name": { "enum": [ "lowerSetpoint" ] }, "instance": { "type": "string" }, "value": { "required": [ "scale" ], "type": "object", "properties": { "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": -100, "exclusiveMinimum": false, "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ThermostatController" ] }, "name": { "enum": [ "targetSetpoint" ] }, "instance": { "type": "string" }, "value": { "required": [ "scale" ], "type": "object", "properties": { "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": -100, "exclusiveMinimum": false, "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ThermostatController" ] }, "name": { "enum": [ "thermostatMode" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "AUTO", "COOL", "HEAT", "ECO", "OFF" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ThermostatController" ] }, "name": { "enum": [ "upperSetpoint" ] }, "instance": { "type": "string" }, "value": { "required": [ "scale" ], "type": "object", "properties": { "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": -100, "exclusiveMinimum": false, "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ChannelController" ] }, "name": { "enum": [ "channel" ] }, "instance": { "type": "string" }, "value": { "allOf": [ { "type": "object", "properties": { "number": { "type": "string" }, "callSign": { "type": "string" }, "affiliateCallSign": { "type": "string" }, "uri": { "type": "string" } }, "additionalProperties": false }, { "type": "object", "anyOf": [ { "required": [ "number" ] }, { "required": [ "callSign" ] }, { "required": [ "affiliateCallSign" ] }, { "required": [ "uri" ] } ] } ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.BrightnessController" ] }, "name": { "enum": [ "brightness" ] }, "instance": { "type": "string" }, "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "integer", "format": "int32" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ColorTemperatureController" ] }, "name": { "enum": [ "colorTemperatureInKelvin" ] }, "instance": { "type": "string" }, "value": { "maximum": 10000, "minimum": 1000, "type": "integer", "format": "int32" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EndpointHealth" ] }, "name": { "enum": [ "connectivity" ] }, "instance": { "type": "string" }, "value": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "OK", "UNREACHABLE" ] } } }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.LockController" ] }, "name": { "enum": [ "lockState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "LOCKED", "UNLOCKED", "JAMMED" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.PercentageController" ] }, "name": { "enum": [ "percentage" ] }, "instance": { "type": "string" }, "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "integer", "format": "int32" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.PowerLevelController" ] }, "name": { "enum": [ "powerLevel" ] }, "instance": { "type": "string" }, "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "integer", "format": "int32" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.TemperatureSensor" ] }, "name": { "enum": [ "temperature" ] }, "instance": { "type": "string" }, "value": { "required": [ "scale" ], "type": "object", "properties": { "value": { "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ContactSensor" ] }, "name": { "enum": [ "detectionState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.MotionSensor" ] }, "name": { "enum": [ "detectionState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Speaker" ] }, "name": { "enum": [ "muted" ] }, "instance": { "type": "string" }, "value": { "type": "boolean" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Speaker" ] }, "name": { "enum": [ "volume" ] }, "instance": { "type": "string" }, "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "integer", "format": "int32" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "animalPresenceDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "babyCryDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "detectionModes" ] }, "instance": { "type": "string" }, "value": { "type": "object", "additionalProperties": { "type": "object", "properties": { "enablementMode": { "type": "string", "enum": [ "DISABLED", "ENABLED" ] }, "cloudVerificationMode": { "type": "string" } }, "additionalProperties": false } }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "dogBarkDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "enablementMode" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "DISABLED", "ENABLED" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "glassBreakDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "humanPresenceDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "smokeSirenDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EventDetectionSensor" ] }, "name": { "enum": [ "vehiclePresenceDetectionState" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "DETECTED", "NOT_DETECTED" ] }, "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "media": { "required": [ "id", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALEXA.MEDIAMETADATA", "DATAMART" ] }, "id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EqualizerController" ] }, "name": { "enum": [ "bands" ] }, "instance": { "type": "string" }, "value": { "uniqueItems": true, "type": "array", "items": { "oneOf": [ { "required": [ "name", "value" ], "type": "object", "properties": { "name": { "type": "string", "enum": [ "BASS", "MIDRANGE", "TREBLE" ] }, "value": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, { "required": [ "level", "name" ], "type": "object", "properties": { "name": { "type": "string", "enum": [ "BASS", "MIDRANGE", "TREBLE" ] }, "level": { "type": "integer", "format": "int32" } }, "additionalProperties": false } ] } }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.EqualizerController" ] }, "name": { "enum": [ "mode" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "MOVIE", "MUSIC", "NIGHT", "SPORT", "TV" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.InputController" ] }, "name": { "enum": [ "input" ] }, "instance": { "type": "string" }, "value": { "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value", "instance" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ModeController" ] }, "name": { "enum": [ "mode" ] }, "instance": { "type": "string" }, "value": { "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value", "instance" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.RangeController" ] }, "name": { "enum": [ "rangeValue" ] }, "instance": { "type": "string" }, "value": { "type": "number", "additionalProperties": false, "format": "double" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value", "instance" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.ToggleController" ] }, "name": { "enum": [ "toggleState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "ON", "OFF" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "enum": [ "armState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "ARMED_AWAY", "ARMED_STAY", "ARMED_NIGHT", "DISARMED" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "enum": [ "burglaryAlarm" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "ALARM", "OK" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "enum": [ "carbonMonoxideAlarm" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "ALARM", "OK" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "enum": [ "fireAlarm" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "ALARM", "OK" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "enum": [ "waterAlarm" ] }, "instance": { "type": "string" }, "value": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string", "enum": [ "ALARM", "OK" ] } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.RecordController" ] }, "name": { "enum": [ "RecordingState" ] }, "instance": { "type": "string" }, "value": { "type": "string", "enum": [ "RECORDING", "NOT_RECORDING" ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Launcher" ] }, "name": { "enum": [ "target" ] }, "instance": { "type": "string" }, "value": { "required": [ "identifier", "name" ], "type": "object", "properties": { "experience": { "anyOf": [ { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "DEFAULT", "VOICE_OPTIMIZED" ] } } } ] }, "name": { "type": "string" }, "identifier": { "type": "string" } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.AutomationManagement" ] }, "name": { "enum": [ "automationStatuses" ] }, "instance": { "type": "string" }, "value": { "type": "array", "items": { "required": [ "capability", "status" ], "type": "object", "properties": { "status": { "type": "string", "enum": [ "AUTOMATED", "NOT_AUTOMATED" ] }, "capability": { "type": "string" }, "instance": { "type": "string" } } } }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.InventoryLevelSensor" ] }, "name": { "enum": [ "level" ] }, "instance": { "type": "string" }, "value": { "type": "object", "oneOf": [ { "required": [ "@type", "value", "unit" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Volume" ] }, "value": { "type": "number", "minimum": 0 }, "unit": { "type": "string", "enum": [ "LITER", "MILLILITER", "METRIC_CUP", "METRIC_TEASPOON", "UK_TABLESPOON", "AU_TABLESPOON", "CUBIC_CENTIMETER", "CUBIC_METER", "UK_GALLON", "UK_QUART", "UK_PINT", "UK_CUP", "UK_GILL", "UK_FLUID_OUNCE", "UK_FLUID_DRAM", "CUBIC_INCH", "CUBIC_FOOT", "CUBIC_YARD", "US_FLUID_GALLON", "US_FLUID_QUART", "US_FLUID_PINT", "US_FLUID_CUP", "US_FLUID_OUNCE", "US_GILL", "US_TABLESPOON", "US_TEASPOON", "US_DRAM", "US_DRY_GALLON", "US_DRY_QUART", "US_DRY_PINT" ] } }, "additionalProperties": false }, { "required": [ "@type", "value", "unit" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Weight" ] }, "value": { "type": "number", "minimum": 0 }, "unit": { "type": "string", "enum": [ "KILOGRAM", "GRAM", "MILLIGRAM", "MICROGRAM", "METRIC_POUND", "POUND", "OUNCE", "DRAM" ] } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Percentage" ] }, "value": { "type": "number", "minimum": 0, "maximum": 100 } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Count" ] }, "value": { "type": "integer", "minimum": 0 } }, "additionalProperties": false } ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking.TimeController" ] }, "name": { "enum": [ "requestedCookTime" ] }, "instance": { "type": "string" }, "value": { "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking.TimeController" ] }, "name": { "enum": [ "cookingPowerLevel" ] }, "instance": { "type": "string" }, "value": { "oneOf": [ { "type": "object", "properties": { "@type": { "type": "string", "enum": [ "EnumeratedPowerLevel" ] }, "value": { "type": "string", "enum": [ "LOW", "MEDIUM", "HIGH" ] } }, "additionalProperties": false }, { "type": "object", "properties": { "@type": { "type": "string", "enum": [ "IntegralPowerLevel" ] }, "value": { "type": "number" } }, "additionalProperties": false } ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking" ] }, "name": { "enum": [ "cookingTimeInterval" ] }, "instance": { "type": "string" }, "value": { "type": "object", "properties": { "start": { "type": "string" }, "end": { "type": "string" }, "duration": { "type": "string" } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking" ] }, "name": { "enum": [ "cookingMode" ] }, "instance": { "type": "string" }, "value": { "oneOf": [ { "type": "object", "required": [ "value" ], "properties": { "value": { "type": "string", "enum": [ "AIR_FRY", "BAKE", "BLANCH", "BREW", "BOIL", "BROIL", "BROWN", "CAN", "CONVECTION_BAKE", "CONVECTION_BROIL", "CONVECTION_ROAST", "CONVECTION_STEAM", "CURE", "CUSTOM", "DEFROST", "DEHYDRATE", "FERMENT", "FRY", "GRILL", "INCUBATE", "MELT", "OFF", "PRESET", "PRESSURE", "PROOF", "REHEAT", "ROAST", "SAUTE", "SEAR", "SIMMER", "SLOW_COOK", "SMOKE", "SOFTEN", "SOUS_VIDE", "STEAM", "STERILIZE", "STEW", "STIR_FRY", "TIMECOOK", "TOAST", "WARM" ] }, "customName": { "type": "string", "minLength": 1 } }, "additionalProperties": false }, { "type": "string", "enum": [ "AIR_FRY", "BAKE", "BLANCH", "BREW", "BOIL", "BROIL", "BROWN", "CAN", "CONVECTION_BAKE", "CONVECTION_BROIL", "CONVECTION_ROAST", "CONVECTION_STEAM", "CURE", "CUSTOM", "DEFROST", "DEHYDRATE", "FERMENT", "FRY", "GRILL", "INCUBATE", "MELT", "OFF", "PRESET", "PRESSURE", "PROOF", "REHEAT", "ROAST", "SAUTE", "SEAR", "SIMMER", "SLOW_COOK", "SMOKE", "SOFTEN", "SOUS_VIDE", "STEAM", "STERILIZE", "STEW", "STIR_FRY", "TIMECOOK", "TOAST", "WARM" ] } ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking" ] }, "name": { "enum": [ "foodItem" ] }, "instance": { "type": "string" }, "value": { "type": "object", "required": [ "foodName" ], "properties": { "foodName": { "type": "string" }, "foodCategory": { "type": "string", "enum": [ "BEEF", "BEVERAGE", "CHICKEN", "FISH", "MEAT", "PIZZA", "POPCORN", "PORK", "POTATO", "SHRIMP", "SOUP", "STEAK", "TURKEY", "VEGETABLE", "WATER" ] }, "foodQuantity": { "type": "object", "discriminator": { "propertyName": "@type" } }, "foodState": { "type": "string", "enum": [ "BRINED", "CANNED", "CHILLED", "COLD_SMOKED", "DEFROSTED", "DRIED", "EMULSIFIED", "FREEZE_DRIED", "FRESH", "FROZEN", "MELTED", "REFRIGERATED", "ROOM_TEMPERATURE", "SMOKED", "WHIPPED" ] }, "foodThickness": { "type": "object", "properties": { "value": { "type": "number" }, "unit": { "type": "string", "enum": [ "METER", "KILOMETER", "CENTIMETER", "MILLIMETER", "INCH", "SPAN", "FOOT", "YARD", "MILE" ] } } } }, "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.TimeHoldController" ] }, "name": { "enum": [ "holdStartTime" ] }, "instance": { "type": "string" }, "value": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.TimeHoldController" ] }, "name": { "enum": [ "holdEndTime" ] }, "instance": { "type": "string" }, "value": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Networking.AccessController" ] }, "name": { "enum": [ "networkAccess" ] }, "instance": { "type": "string" }, "value": { "enum": [ "ALLOWED", "BLOCKED" ], "type": "string" }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking.PresetController" ] }, "name": { "enum": [ "presetName" ] }, "instance": { "type": "string" }, "value": { "type": "string", "additionalProperties": false }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false }, { "required": [ "name", "namespace", "timeOfSample", "uncertaintyInMilliseconds", "value" ], "type": "object", "properties": { "namespace": { "enum": [ "Alexa.Cooking.PresetController" ] }, "name": { "enum": [ "requestedFoodDoneness" ] }, "instance": { "type": "string" }, "value": { "oneOf": [ { "type": "object", "properties": { "value": { "type": "string", "enum": [ "AL_DENTE", "CREAMY", "CRISPY", "DRY", "FIRM", "FLAKY", "HARD", "JUICY", "MEDIUM", "MEDIUM_RARE", "MEDIUM_WELL", "MOIST", "OPAQUE", "OVERCOOKED", "RARE", "RUNNY", "SMOOTH", "SOFT", "SPRINGY", "SUCCULENT", "TENDER", "UNDERCOOKED", "VELVETY", "WELL_DONE" ] } }, "additionalProperties": false }, { "type": "string", "enum": [ "AL_DENTE", "CREAMY", "CRISPY", "DRY", "FIRM", "FLAKY", "HARD", "JUICY", "MEDIUM", "MEDIUM_RARE", "MEDIUM_WELL", "MOIST", "OPAQUE", "OVERCOOKED", "RARE", "RUNNY", "SMOOTH", "SOFT", "SPRINGY", "SUCCULENT", "TENDER", "UNDERCOOKED", "VELVETY", "WELL_DONE" ] } ] }, "timeOfSample": { "$ref": "#/definitions/common/model.StatePropertyBase.TimeOfSample" }, "uncertaintyInMilliseconds": { "$ref": "#/definitions/common/model.StatePropertyBase.UncertaintyInMilliseconds" } }, "additionalProperties": false } ] } }, "endpoint.capabilities": { "type": "array", "minItems": 1, "uniqueItems": true, "additionalItems": false, "items": { "anyOf": [ { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ] }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "color" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ColorController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "powerState" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.PowerController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.SceneController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "supportsDeactivation": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "lowerSetpoint", "targetSetpoint", "thermostatMode", "upperSetpoint" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ThermostatController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "configuration": { "type": "object", "properties": { "supportsScheduling": { "type": "boolean" }, "supportedModes": { "type": "array", "items": { "type": "string", "enum": [ "AUTO", "COOL", "HEAT", "ECO", "OFF" ] } } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "channel" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ChannelController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "brightness" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.BrightnessController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "colorTemperatureInKelvin" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ColorTemperatureController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.CustomIntent" ] }, "version": { "type": "string", "enum": [ "3" ] }, "configuration": { "required": [ "supportedIntents" ], "type": "object", "properties": { "supportedIntents": { "type": "array", "items": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" } } } } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.DoorbellEventSource" ] }, "version": { "type": "string", "enum": [ "3" ] }, "proactivelyReported": { "type": "boolean" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "connectivity" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.EndpointHealth" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "lockState" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.LockController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "percentage" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.PercentageController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "powerLevel" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.PowerLevelController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "temperature" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.TemperatureSensor" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.RTCSessionController" ] }, "version": { "type": "string", "enum": [ "3" ] }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "type": "object", "properties": { "isFullDuplexAudioSupported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "isEndToEndEncryptionEnabled": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "detectionState" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ContactSensor" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "detectionState" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] } ] } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.MotionSensor" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "muted", "volume" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.Speaker" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "animalPresenceDetectionState", "babyCryDetectionState", "detectionModes", "dogBarkDetectionState", "enablementMode", "glassBreakDetectionState", "humanPresenceDetectionState", "smokeSirenDetectionState", "vehiclePresenceDetectionState" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.EventDetectionSensor" ] }, "version": { "type": "string", "enum": [ "3" ] }, "configuration": { "type": "object", "properties": { "detectionMethods": { "type": "array", "items": { "type": "string", "enum": [ "AUDIO", "VIDEO" ] } }, "detectionModes": { "type": "object", "properties": { "glassBreak": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "smokeSiren": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "humanPresence": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "babyCry": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "dogBark": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "animalPresence": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "vehiclePresence": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "entityDetection": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false }, "carbonMonoxideSiren": { "type": "object", "properties": { "supportsEnablementMode": { "type": "boolean" }, "supportsCloudVerificationMode": { "type": "boolean" }, "featureAvailability": { "type": "string", "enum": [ "ENABLED", "DISABLED", "SUBSCRIPTION_REQUIRED" ], "default": "ENABLED" }, "supportsNotDetected": { "type": "boolean" } }, "additionalProperties": false } }, "additionalProperties": false } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.Networking.ConnectedDevice" ] }, "version": { "type": "string", "enum": [ "3" ] }, "configuration": { "required": [ "staticDeviceInformation" ], "type": "object", "properties": { "firstConnectionTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "staticDeviceInformation": { "required": [ "deviceName", "macAddress" ], "type": "object", "properties": { "macAddress": { "pattern": "^([0-9a-fA-F]{2}(-|:)){7}[0-9a-fA-F]{2}$|^([0-9a-fA-F]{2}(-|:)){5}[0-9a-fA-F]{2}$", "type": "string" }, "dhcp4Fingerprint": { "pattern": "^([0-9]+,)*[0-9]+$", "type": "string" }, "dhcp6Fingerprint": { "pattern": "^([0-9]+,)*[0-9]+$", "type": "string" }, "hostname": { "type": "string" }, "operatingSystem": { "type": "string" }, "deviceName": { "type": "string" }, "brand": { "type": "string" }, "model": { "type": "string" } } } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.Networking.HomeNetworkController" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "bands", "mode" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.EqualizerController" ] }, "version": { "type": "string", "enum": [ "3" ] }, "configurations": { "type": "object", "properties": { "bands": { "required": [ "supported" ], "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" } }, "additionalProperties": false } }, "range": { "type": "object", "properties": { "minimum": { "type": "integer", "format": "int32", "default": 0 }, "maximum": { "type": "integer", "format": "int32", "default": 0 } }, "additionalProperties": false } }, "additionalProperties": false }, "modes": { "required": [ "supported" ], "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "input" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.InputController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "inputs": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "friendlyNames": { "type": "array", "items": { "type": "string" } } } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "mode" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "required": [ "instance" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ModeController" ] }, "version": { "type": "string", "enum": [ "3" ] }, "instance": { "type": "string" }, "capabilityResources": { "properties": { "friendlyNames": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "asset" ] }, "value": { "required": [ "assetId" ], "type": "object", "properties": { "assetId": { "type": "string" } } } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "text" ] }, "value": { "required": [ "locale", "text" ], "type": "object", "properties": { "text": { "type": "string" }, "locale": { "type": "string" } } } }, "additionalProperties": false } ] } } }, "additionalProperties": false }, "configuration": { "required": [ "ordered", "supportedModes" ], "type": "object", "properties": { "ordered": { "type": "boolean" }, "supportedModes": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "modeResources": { "properties": { "friendlyNames": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "asset" ] }, "value": { "required": [ "assetId" ], "type": "object", "properties": { "assetId": { "type": "string" } } } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "text" ] }, "value": { "required": [ "locale", "text" ], "type": "object", "properties": { "text": { "type": "string" }, "locale": { "type": "string" } } } }, "additionalProperties": false } ] } } }, "additionalProperties": false } } } } }, "additionalProperties": false }, "semantics": { "type": "object", "properties": { "actionMappings": { "type": "array", "items": { "required": [ "@type", "actions", "directive" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "ActionsToDirective" ] }, "actions": { "type": "array", "items": { "type": "string" } }, "directive": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" }, "payload": { "type": "object" } }, "additionalProperties": false } }, "additionalProperties": false } }, "stateMappings": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToValue" ] }, "states": { "type": "array", "items": { "type": "string" } }, "value": {} }, "additionalProperties": false }, { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToRange" ] }, "states": { "type": "array", "items": { "type": "string" } }, "range": { "type": "object" } }, "additionalProperties": false } ] } } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "rangeValue" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "required": [ "capabilityResources", "configuration", "instance" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.RangeController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "instance": { "type": "string" }, "capabilityResources": { "properties": { "friendlyNames": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "asset" ] }, "value": { "required": [ "assetId" ], "type": "object", "properties": { "assetId": { "type": "string" } } } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "text" ] }, "value": { "required": [ "locale", "text" ], "type": "object", "properties": { "text": { "type": "string" }, "locale": { "type": "string" } } } }, "additionalProperties": false } ] } } }, "additionalProperties": false }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "rangeValue" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "nonControllable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "additionalProperties": false }, "configuration": { "required": [ "supportedRange" ], "type": "object", "properties": { "supportedRange": { "required": [ "maximumValue", "minimumValue", "precision" ], "type": "object", "properties": { "minimumValue": { "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "maximumValue": { "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "precision": { "oneOf": [ { "type": "number" }, { "type": "string" } ] } }, "additionalProperties": false }, "presets": { "type": "array", "items": { "required": [ "presetResources", "rangeValue" ], "type": "object", "properties": { "rangeValue": { "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "presetResources": { "properties": { "friendlyNames": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "asset" ] }, "value": { "type": "object", "properties": { "assetId": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, { "required": [ "@type", "value" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "text" ] }, "value": { "type": "object", "properties": { "text": { "type": "string" }, "locale": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } ] } } } } }, "additionalProperties": false } }, "unitOfMeasure": { "type": "string" } }, "additionalProperties": false }, "semantics": { "type": "object", "properties": { "actionMappings": { "type": "array", "items": { "required": [ "@type", "actions", "directive" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "ActionsToDirective" ] }, "actions": { "type": "array", "items": { "type": "string" } }, "directive": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" }, "payload": { "type": "object" } }, "additionalProperties": false } }, "additionalProperties": false } }, "stateMappings": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToValue" ] }, "states": { "type": "array", "items": { "type": "string" } }, "value": {} }, "additionalProperties": false }, { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToRange" ] }, "states": { "type": "array", "items": { "type": "string" } }, "range": { "type": "object" } }, "additionalProperties": false } ] } } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "toggleState" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "required": [ "instance" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.ToggleController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "instance": { "type": "string" }, "semantics": { "type": "object", "properties": { "actionMappings": { "type": "array", "items": { "required": [ "@type", "actions", "directive" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "ActionsToDirective" ] }, "actions": { "type": "array", "items": { "type": "string" } }, "directive": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" }, "payload": { "type": "object" } }, "additionalProperties": false } }, "additionalProperties": false } }, "stateMappings": { "type": "array", "items": { "oneOf": [ { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToValue" ] }, "states": { "type": "array", "items": { "type": "string" } }, "value": {} }, "additionalProperties": false }, { "required": [ "@type", "states" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "StatesToRange" ] }, "states": { "type": "array", "items": { "type": "string" } }, "range": { "type": "object" } }, "additionalProperties": false } ] } } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "supported": { "oneOf": [ { "type": "object", "nullable": true }, { "type": "array", "nullable": true, "items": { "type": "object" } } ], "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "armState", "burglaryAlarm", "carbonMonoxideAlarm", "fireAlarm", "waterAlarm" ] } } } }, "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.SecurityPanelController" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "3" ] }, { "type": "integer", "format": "int32", "enum": [ 3 ] } ] }, "configuration": { "type": "object", "properties": { "supportedCredentialTypes": { "type": "array", "items": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "FOUR_DIGIT_PIN" ] } }, "additionalProperties": false } }, "supportedAuthorizationTypes": { "type": "array", "items": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "FOUR_DIGIT_PIN" ] } }, "additionalProperties": false } }, "supportedArmStates": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "ARMED_AWAY", "ARMED_STAY", "DISARMED", "ARMED_NIGHT" ] } }, "additionalProperties": false } }, "supportsArmInstant": { "type": "boolean" } }, "additionalProperties": false } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.StepSpeaker" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "properties": { "type": "object", "properties": { "proactivelyReported": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] }, "retrievable": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false", "True", "False", "TRUE", "FALSE" ] }, { "type": "integer", "format": "int32", "enum": [ 0, 1 ] } ] } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.PlaybackController" ] }, "version": { "type": "string", "enum": [ "3" ] }, "supportedOperations": { "uniqueItems": true, "type": "array", "items": { "type": "string", "enum": [ "Play", "Pause", "Stop", "StartOver", "Previous", "Next", "Rewind", "FastForward", "Resume", "Skip" ] } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.WakeOnLANController" ] }, "version": { "type": "string", "enum": [ "3" ] }, "configuration": { "required": [ "MACAddresses" ], "type": "object", "properties": { "MACAddresses": { "type": "array", "items": { "type": "string" } } } } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "RecordingState" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.RecordController" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.RemoteVideoPlayer" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object" } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.SeekController" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "target" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true }, "directiveConfigurations": { "type": "array", "nullable": true, "items": { "type": "object", "properties": { "directives": { "type": "array", "items": { "type": "string" } }, "requestedAuthenticationConfidenceLevel": { "type": "object", "properties": { "level": { "type": "integer", "format": "int32" }, "customPolicy": { "type": "object", "properties": { "policyName": { "type": "string" } }, "nullable": true } }, "nullable": true } } } } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.Launcher" ] }, "version": { "type": "string", "enum": [ "3" ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "properties": { "type": "object", "properties": { "supported": { "type": "array", "nullable": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "automationStatuses" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" } }, "nullable": true } } }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AlexaInterface" ] }, "interface": { "type": "string", "enum": [ "Alexa.AutomationManagement" ] }, "version": { "oneOf": [ { "type": "string", "enum": [ "1.0" ] }, { "type": "integer", "format": "int32" } ] } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version", "instance", "capabilityResources", "configuration" ], "type": "object", "properties": { "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "level" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "required": [ "measurement", "replenishment" ], "type": "object", "properties": { "measurement": { "type": "object", "oneOf": [ { "required": [ "@type", "unit" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Volume" ] }, "unit": { "type": "string", "enum": [ "LITER", "MILLILITER", "METRIC_CUP", "METRIC_TEASPOON", "UK_TABLESPOON", "AU_TABLESPOON", "CUBIC_CENTIMETER", "CUBIC_METER", "UK_GALLON", "UK_QUART", "UK_PINT", "UK_CUP", "UK_GILL", "UK_FLUID_OUNCE", "UK_FLUID_DRAM", "CUBIC_INCH", "CUBIC_FOOT", "CUBIC_YARD", "US_FLUID_GALLON", "US_FLUID_QUART", "US_FLUID_PINT", "US_FLUID_CUP", "US_FLUID_OUNCE", "US_GILL", "US_TABLESPOON", "US_TEASPOON", "US_DRAM", "US_DRY_GALLON", "US_DRY_QUART", "US_DRY_PINT" ] } }, "additionalProperties": false }, { "required": [ "@type", "unit" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Weight" ] }, "unit": { "type": "string", "enum": [ "KILOGRAM", "GRAM", "MILLIGRAM", "MICROGRAM", "METRIC_POUND", "POUND", "OUNCE", "DRAM" ] } }, "additionalProperties": false }, { "required": [ "@type" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Percentage" ] } }, "additionalProperties": false }, { "required": [ "@type" ], "type": "object", "properties": { "@type": { "type": "string", "enum": [ "Count" ] } }, "additionalProperties": false } ] }, "replenishment": { "type": "object", "properties": { "@type": { "type": "string", "enum": [ "DashReplenishmentId" ] }, "value": { "type": "string" } } } } } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.InventoryLevelSensor" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "requestedCookTime", "cookingPowerLevel" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "type": "object" } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.Cooking.TimeController" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "interface": { "type": "string" }, "version": { "type": "string" }, "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.MediaMetadata" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "cookingTimeInterval", "cookingMode", "foodItem" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "type": "object" } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.Cooking" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "type": "object", "required": [ "type", "interface", "version", "cameraStreamConfigurations" ], "properties": { "instance": { "type": "string" }, "interface": { "type": "string" }, "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "version": { "type": "string" }, "cameraStreamConfigurations": { "uniqueItems": true, "items": { "type": "object", "required": [ "protocols", "resolutions", "authorizationTypes", "videoCodecs", "audioCodecs" ], "properties": { "authorizationTypes": { "uniqueItems": true, "items": { "enum": [ "BASIC", "DIGEST", "NONE" ] }, "type": "array" }, "resolutions": { "uniqueItems": true, "items": { "type": "object", "required": [ "width", "height" ], "additionalProperties": false, "properties": { "width": { "minimum": 1, "type": "integer", "format": "int32" }, "height": { "minimum": 1, "type": "integer", "format": "int32" } } }, "type": "array" }, "videoCodecs": { "uniqueItems": true, "items": { "enum": [ "H264", "MPEG2", "MJPEG", "JPG" ] }, "type": "array" }, "audioCodecs": { "uniqueItems": true, "items": { "enum": [ "G711", "AAC", "NONE" ] }, "type": "array" }, "protocols": { "uniqueItems": true, "items": { "enum": [ "RTSP", "WEBRTC" ] }, "type": "array" } } }, "type": "array" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "items": { "type": "object", "properties": { "value": { "type": "object" } } }, "type": "array" } } } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.CameraStreamController" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "holdStartTime", "holdEndTime" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "type": "object" } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.TimeHoldController" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "interface": { "type": "string" }, "version": { "type": "string" }, "type": { "pattern": "^[ a-zA-Z0-9_\\-=#;:?@&]+$", "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "items": { "type": "object", "properties": { "value": { "type": "object" } } }, "type": "array" } } }, "configuration": { "type": "object" }, "properties": { "type": "object", "properties": { "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "supported": { "uniqueItems": true, "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "networkAccess" ] } } }, "type": "array" }, "proactivelyReported": { "type": "boolean" }, "nonControllable": { "writeOnly": true, "type": "boolean" } } } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.Networking.AccessController" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] }, { "type": "object", "allOf": [ { "required": [ "interface", "type", "version" ], "type": "object", "properties": { "type": { "type": "string" }, "interface": { "type": "string" }, "version": { "type": "string" }, "instance": { "type": "string" }, "capabilityResources": { "required": [ "friendlyNames" ], "type": "object", "properties": { "friendlyNames": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "object" } } } } } }, "properties": { "type": "object", "properties": { "supported": { "uniqueItems": true, "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "enum": [ "presetName", "requestedFoodDoneness" ] } } } }, "proactivelyReported": { "type": "boolean" }, "retrievable": { "type": "boolean" }, "readOnly": { "type": "boolean" }, "nonControllable": { "type": "boolean", "writeOnly": true } } }, "configuration": { "type": "object" } } }, { "type": "object", "properties": { "interface": { "enum": [ "Alexa.Cooking.PresetController" ], "type": "string" }, "version": { "enum": [ "3" ], "type": "string" }, "type": { "enum": [ "AlexaInterface" ], "type": "string" } } } ] } ] } } }, "oneOf": [ { "oneOf": [ { "description": "A Response message for Alexa", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa" ] }, "name": { "type": "string", "enum": [ "Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object" } } } } }, { "description": "A Response message for Alexa.SceneController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.SceneController" ] }, "name": { "type": "string", "enum": [ "ActivationStarted" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "allOf": [ { "required": [ "cause", "timestamp" ], "type": "object", "properties": { "cause": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "APP_INTERACTION", "PHYSICAL_INTERACTION", "PERIODIC_POLL", "RULE_TRIGGER", "VOICE_INTERACTION", "INVALID_CREDENTIALS", "SUBSCRIPTION_EXPIRED", "ALEXA_INTERACTION" ] } }, "additionalProperties": false }, "timestamp": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:.\\d{1,3}|)Z$", "type": "string" } }, "additionalProperties": false } ] } } } } }, { "description": "A Response message for Alexa.SceneController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.SceneController" ] }, "name": { "type": "string", "enum": [ "DeactivationStarted" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "allOf": [ { "required": [ "cause", "timestamp" ], "type": "object", "properties": { "cause": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "APP_INTERACTION", "PHYSICAL_INTERACTION", "PERIODIC_POLL", "RULE_TRIGGER", "VOICE_INTERACTION", "INVALID_CREDENTIALS", "SUBSCRIPTION_EXPIRED", "ALEXA_INTERACTION" ] } }, "additionalProperties": false }, "timestamp": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:.\\d{1,3}|)Z$", "type": "string" } }, "additionalProperties": false } ] } } } } }, { "description": "A Response message for Alexa.RTCSessionController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.RTCSessionController" ] }, "name": { "type": "string", "enum": [ "AnswerGeneratedForSession" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "answer" ], "type": "object", "properties": { "answer": { "required": [ "format", "value" ], "type": "object", "properties": { "value": { "type": "string" }, "format": { "pattern": "^[Ss][Dd][Pp]$", "type": "string" } } } }, "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.RTCSessionController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.RTCSessionController" ] }, "name": { "type": "string", "enum": [ "SessionConnected" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "sessionId" ], "type": "object", "properties": { "sessionId": { "type": "string" } }, "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.RTCSessionController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.RTCSessionController" ] }, "name": { "type": "string", "enum": [ "SessionDisconnected" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "sessionId" ], "type": "object", "properties": { "sessionId": { "type": "string" } }, "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.SecurityPanelController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "type": "string", "enum": [ "Arm.Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "properties": { "exitDelayInSeconds": { "maximum": 255, "minimum": 0, "type": "integer", "format": "int32" }, "bypassedEndpoints": { "type": "array", "items": { "required": [ "friendlyName" ], "type": "object", "properties": { "friendlyName": { "type": "string" }, "endpointId": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.WakeOnLANController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.WakeOnLANController" ] }, "name": { "type": "string", "enum": [ "WakeUp" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.SeekController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.SeekController" ] }, "name": { "type": "string", "enum": [ "StateReport" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "properties" ], "type": "object", "properties": { "properties": { "minItems": 1, "type": "array", "items": { "required": [ "name", "value" ], "type": "object", "properties": { "name": { "type": "string", "enum": [ "positionMilliseconds" ] }, "value": { "maximum": 86400000, "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, "type": "integer", "format": "int32" } }, "additionalProperties": false } } }, "additionalProperties": false } } } } }, { "description": "A Response message for Alexa.MediaMetadata", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.MediaMetadata" ] }, "name": { "type": "string", "enum": [ "GetMediaMetadata.Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "additionalProperties": false, "required": [ "scope", "media" ], "type": "object", "properties": { "scope": { "type": "object", "required": [ "type", "token" ], "properties": { "type": { "enum": [ "BearerToken" ] }, "token": { "type": "string", "minLength": 1 } }, "additionalProperties": false }, "media": { "minItems": 1, "items": { "type": "object", "required": [ "id", "cause", "recording" ], "properties": { "id": { "type": "string", "pattern": "[A-Za-z0-9\\_]+", "minLength": 1, "maxLength": 256 }, "cause": { "enum": [ "MOTION_DETECTED", "AUDIO_DETECTED", "PERSON_DETECTED", "APP_INTERACTION", "VOICE_INTERACTION", "RULE_TRIGGER" ] }, "recording": { "type": "object", "required": [ "startTime", "endTime", "uri" ], "properties": { "name": { "type": "string", "minLength": 1 }, "startTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "endTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "videoCodec": { "enum": [ "H264" ] }, "audioCodec": { "enum": [ "G711", "AAC", "NONE" ] }, "uri": { "type": "object", "required": [ "value", "expireTime" ], "properties": { "value": { "type": "string", "format": "uri" }, "expireTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" } }, "additionalProperties": false }, "thumbnailUri": { "type": "object", "required": [ "value", "expireTime" ], "properties": { "value": { "type": "string", "format": "uri" }, "expireTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "additionalProperties": false }, "type": "array" }, "errors": { "minItems": 1, "items": { "type": "object", "properties": { "status": { "enum": [ "DELETED", "NOT_FOUND", "SUBSCRIPTION_ERROR", "INTERNAL_ERROR" ] }, "mediaId": { "type": "string", "minLength": 1 } }, "additionalProperties": false }, "type": "array" } } } } } } }, { "description": "A Response message for Alexa.Authorization", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.Authorization" ] }, "name": { "type": "string", "enum": [ "AcceptGrant.Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "additionalProperties": false, "properties": {}, "maxProperties": 0 } } } } }, { "description": "A Response message for Alexa.CameraStreamController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.CameraStreamController" ] }, "name": { "type": "string", "enum": [ "Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "additionalProperties": false, "required": [ "cameraStreams", "imageUri" ], "type": "object", "properties": { "cameraStreams": { "minItems": 1, "items": { "required": [ "audioCodec", "authorizationType", "protocol", "resolution", "uri", "videoCodec" ], "additionalProperties": false, "type": "object", "properties": { "videoCodec": { "enum": [ "H264", "MPEG2", "MJPEG", "JPG" ] }, "protocol": { "enum": [ "RTSP", "WEBRTC" ] }, "authorizationType": { "enum": [ "BASIC", "DIGEST", "NONE" ] }, "idleTimeoutSeconds": { "minimum": 1, "type": "integer", "format": "int32" }, "uri": { "minLength": 1, "type": "string", "format": "uri" }, "expirationTime": { "type": "string", "format": "date-time" }, "resolution": { "type": "object", "required": [ "width", "height" ], "additionalProperties": false, "properties": { "width": { "minimum": 1, "type": "integer", "format": "int32" }, "height": { "minimum": 1, "type": "integer", "format": "int32" } } }, "audioCodec": { "enum": [ "G711", "AAC", "NONE" ] } } }, "type": "array", "maxItems": 2147483647 }, "imageUri": { "minLength": 1, "type": "string", "format": "uri", "maxLength": 2147483647 } } } } } } } ] }, { "description": "A State Report message for Alexa", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa" ] }, "name": { "type": "string", "enum": [ "StateReport" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "additionalProperties": false } } } } }, { "oneOf": [ { "description": "An ErrorResponse message for Alexa", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa" ] }, "name": { "type": "string", "enum": [ "ErrorResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "oneOf": [ { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ALREADY_IN_OPERATION" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "BRIDGE_UNREACHABLE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "CLOUD_CONTROL_DISABLED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ENDPOINT_BUSY" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ENDPOINT_LOW_POWER" ] }, "message": { "type": "string" }, "percentageState": { "type": "number", "format": "double" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "ENDPOINT_UNREACHABLE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "EXPIRED_AUTHORIZATION_CREDENTIAL" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "FIRMWARE_OUT_OF_DATE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "HARDWARE_MALFUNCTION" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "INSUFFICIENT_PERMISSIONS" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "INTERNAL_ERROR" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "INVALID_AUTHORIZATION_CREDENTIAL" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "INVALID_DIRECTIVE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "INVALID_VALUE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NO_SUCH_ENDPOINT" ] }, "message": { "type": "string" } } }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NOT_CALIBRATED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "currentDeviceMode", "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NOT_SUPPORTED_IN_CURRENT_MODE" ] }, "message": { "type": "string" }, "currentDeviceMode": { "type": "string", "enum": [ "COLOR", "ASLEEP", "NOT_PROVISIONED", "OTHER" ] } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NOT_IN_OPERATION" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "POWER_LEVEL_NOT_SUPPORTED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "RATE_LIMIT_EXCEEDED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "VALUE_OUT_OF_RANGE" ] }, "message": { "type": "string" }, "validRange": { "type": "object", "properties": { "minimumValue": { "type": "number", "format": "double" }, "maximumValue": { "type": "number", "format": "double" } } } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEMPERATURE_VALUE_OUT_OF_RANGE" ] }, "message": { "type": "string" }, "validRange": { "type": "object", "properties": { "minimumValue": { "required": [ "scale" ], "type": "object", "properties": { "value": { "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false }, "maximumValue": { "required": [ "scale" ], "type": "object", "properties": { "value": { "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false } } } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOO_MANY_FAILED_ATTEMPTS" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "PARTNER_OUTAGE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "HDMI_CEC_NOT_PRESENT" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "message", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "HDMI_CEC_DISABLED_ON_DEVICE" ] }, "message": { "type": "string" } }, "additionalProperties": false } ] } } } } }, { "description": "An ErrorResponse message for Alexa.ThermostatController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.ThermostatController" ] }, "name": { "type": "string", "enum": [ "ErrorResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "oneOf": [ { "required": [ "minimumTemperatureDelta", "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "REQUESTED_SETPOINTS_TOO_CLOSE" ] }, "message": { "type": "string" }, "minimumTemperatureDelta": { "required": [ "scale" ], "type": "object", "properties": { "value": { "maximum": 100, "exclusiveMaximum": false, "minimum": -100, "exclusiveMinimum": false, "type": "number", "format": "double" }, "scale": { "type": "string", "enum": [ "FAHRENHEIT", "CELSIUS", "KELVIN" ] } }, "additionalProperties": false } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "THERMOSTAT_IS_OFF", "UNSUPPORTED_THERMOSTAT_MODE", "DUAL_SETPOINTS_UNSUPPORTED", "TRIPLE_SETPOINTS_UNSUPPORTED", "UNWILLING_TO_SET_SCHEDULE", "UNWILLING_TO_SET_VALUE" ] }, "message": { "type": "string" } }, "additionalProperties": false } ] } } } } }, { "description": "An ErrorResponse message for Alexa.SecurityPanelController", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.SecurityPanelController" ] }, "name": { "type": "string", "enum": [ "ErrorResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "type": "object", "oneOf": [ { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "AUTHORIZATION_REQUIRED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "BYPASS_NEEDED" ] }, "message": { "type": "string" }, "endpointsNeedingBypass": { "type": "array", "items": { "required": [ "friendlyName" ], "type": "object", "properties": { "friendlyName": { "type": "string" }, "endpointId": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NOT_READY" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UNAUTHORIZED" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UNCLEARED_ALARM" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UNCLEARED_TROUBLE" ] }, "message": { "type": "string" } }, "additionalProperties": false }, { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "NO_ACTIVE_MONITORABLE_DEVICES" ] }, "message": { "type": "string" } }, "additionalProperties": false } ] } } } } }, { "description": "An ErrorResponse message for Alexa.Cooking", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.Cooking" ] }, "name": { "type": "string", "enum": [ "ErrorResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "oneOf": [ { "additionalProperties": false, "required": [ "type", "message" ], "type": "object", "properties": { "message": { "type": "string" }, "type": { "enum": [ "CHILD_LOCK", "DOOR_CLOSED_TOO_LONG", "DOOR_OPEN", "PREHEAT_REQUIRED", "PROBE_REQUIRED", "REMOTE_START_NOT_SUPPORTED", "REMOVE_PROBE", "REMOTE_START_DISABLED" ], "type": "string" } } }, { "additionalProperties": false, "required": [ "type", "message", "maxCookTime" ], "type": "object", "properties": { "message": { "type": "string" }, "type": { "enum": [ "COOK_DURATION_TOO_LONG" ], "type": "string" }, "maxCookTime": { "type": "string" } } } ], "type": "object" } } } } }, { "description": "An ErrorResponse message for Alexa.Authorization", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.Authorization" ] }, "name": { "type": "string", "enum": [ "ErrorResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "additionalProperties": false, "required": [ "message", "type" ], "type": "object", "properties": { "message": { "type": "string" }, "type": { "enum": [ "ACCEPT_GRANT_FAILED" ], "type": "string" } } } } } } } ] }, { "description": "A ChangeReport message for Alexa", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "$ref": "#/definitions/common/model.Context" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa" ] }, "name": { "type": "string", "enum": [ "ChangeReport" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "change" ], "type": "object", "properties": { "change": { "required": [ "cause", "properties" ], "type": "object", "properties": { "cause": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "APP_INTERACTION", "PHYSICAL_INTERACTION", "PERIODIC_POLL", "RULE_TRIGGER", "VOICE_INTERACTION", "INVALID_CREDENTIALS", "SUBSCRIPTION_EXPIRED", "ALEXA_INTERACTION" ] } }, "additionalProperties": false }, "properties": { "$ref": "#/definitions/state.properties" } }, "additionalProperties": false } }, "additionalProperties": false } } } } }, { "description": "A DeferredResponse message for Alexa", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa" ] }, "name": { "type": "string", "enum": [ "DeferredResponse" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "payload": { "type": "object", "properties": { "estimatedDeferralInSeconds": { "type": "integer", "format": "int32" } } } } } } }, { "oneOf": [ { "description": "An proactive event message for Alexa.DoorbellEventSource", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "type": "object" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.DoorbellEventSource" ] }, "name": { "type": "string", "enum": [ "DoorbellPress" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "cause", "timestamp" ], "type": "object", "properties": { "cause": { "required": [ "type" ], "type": "object", "properties": { "type": { "type": "string", "enum": [ "APP_INTERACTION", "PHYSICAL_INTERACTION", "PERIODIC_POLL", "RULE_TRIGGER", "VOICE_INTERACTION" ] } }, "additionalProperties": false }, "timestamp": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" } }, "additionalProperties": false } } } } }, { "description": "An proactive event message for Alexa.AutomationManagement", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "type": "object" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.AutomationManagement" ] }, "name": { "type": "string", "enum": [ "GetAlexaAutomationStatus" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "required": [ "capabilities" ], "type": "object", "properties": { "capabilities": { "type": "array", "items": { "required": [ "capability" ], "type": "object", "properties": { "capability": { "type": "string" }, "instance": { "type": "string" } } } } } } } } } }, { "description": "An proactive event message for Alexa.MediaMetadata", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "type": "object" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.MediaMetadata" ] }, "name": { "type": "string", "enum": [ "MediaCreatedOrUpdated" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "additionalProperties": false, "required": [ "media" ], "type": "object", "properties": { "media": { "type": "object", "required": [ "id", "cause", "recording" ], "properties": { "id": { "type": "string", "pattern": "[A-Za-z0-9\\_]+", "minLength": 1, "maxLength": 256 }, "cause": { "enum": [ "MOTION_DETECTED", "AUDIO_DETECTED", "PERSON_DETECTED", "APP_INTERACTION", "VOICE_INTERACTION", "RULE_TRIGGER" ] }, "recording": { "type": "object", "required": [ "startTime", "endTime", "uri" ], "properties": { "name": { "type": "string", "minLength": 1 }, "startTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "endTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" }, "videoCodec": { "enum": [ "H264" ] }, "audioCodec": { "enum": [ "G711", "AAC", "NONE" ] }, "uri": { "type": "object", "required": [ "value", "expireTime" ], "properties": { "value": { "type": "string", "format": "uri" }, "expireTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" } }, "additionalProperties": false }, "thumbnailUri": { "type": "object", "required": [ "value", "expireTime" ], "properties": { "value": { "type": "string", "format": "uri" }, "expireTime": { "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\dZ$", "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "additionalProperties": false } } } } } } }, { "description": "An proactive event message for Alexa.MediaMetadata", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "context": { "type": "object" }, "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.MediaMetadata" ] }, "name": { "type": "string", "enum": [ "MediaDeleted" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "endpoint": { "$ref": "#/definitions/common/model.Endpoint" }, "payload": { "additionalProperties": false, "required": [ "scope", "mediaIds" ], "type": "object", "properties": { "scope": { "type": "object", "required": [ "type", "token" ], "properties": { "type": { "enum": [ "BearerToken" ] }, "token": { "type": "string", "minLength": 1 } }, "additionalProperties": false }, "mediaIds": { "minItems": 1, "items": { "type": "string", "pattern": "[A-Za-z0-9\\_]+", "minLength": 1, "maxLength": 256 }, "type": "array" } } } } } } } ] }, { "description": "A Discover.Response message for Alexa.Discovery", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.Discovery" ] }, "name": { "type": "string", "enum": [ "Discover.Response" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "payload": { "type": "object", "required": [ "endpoints" ], "additionalProperties": false, "properties": { "endpoints": { "type": "array", "uniqueItems": true, "maxItems": 300, "items": { "type": "object", "required": [ "endpointId", "manufacturerName", "friendlyName", "description", "displayCategories", "capabilities" ], "properties": { "endpointId": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-=#;:?@&]*$", "minLength": 1, "maxLength": 256 }, "manufacturerName": { "type": "string", "minLength": 1, "maxLength": 128 }, "friendlyName": { "type": "string", "minLength": 1, "maxLength": 128 }, "description": { "type": "string", "minLength": 1, "maxLength": 128 }, "displayCategories": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": [ "ACTIVITY_TRIGGER", "CAMERA", "COMPUTER", "CONTACT_SENSOR", "DOOR", "DOORBELL", "EXTERIOR_BLIND", "FAN", "GAME_CONSOLE", "GARAGE_DOOR", "INTERIOR_BLIND", "LAPTOP", "LIGHT", "MICROWAVE", "MOBILE_PHONE", "MOTION_SENSOR", "MUSIC_SYSTEM", "NETWORK_HARDWARE", "OTHER", "OVEN", "PHONE", "SCENE_TRIGGER", "SCREEN", "SECURITY_PANEL", "SMARTLOCK", "SMARTPLUG", "SPEAKER", "STREAMING_DEVICE", "SWITCH", "TABLET", "TEMPERATURE_SENSOR", "THERMOSTAT", "TV", "WEARABLE" ] } }, "cookie": { "type": "object", "additionalProperties": { "type": "string" } }, "capabilities": { "$ref": "#/definitions/endpoint.capabilities" }, "connections": { "type": "array", "items": { "type": "object", "required": [ "type" ], "properties": { "type": { "minItems": 1, "maxItems": 1, "enum": [ "TCP_IP", "ZIGBEE", "ZWAVE", "UNKNOWN" ] }, "macAddress": { "type:": "string" }, "homeId": { "type:": "string" }, "nodeId": { "type:": "string" }, "value": { "type:": "string" } }, "additionalProperties": false } }, "additionalAttributes": { "type": "object", "properties": { "manufacturer": { "type": "string", "maxLength": 256 }, "model": { "type:": "string", "maxLength": 256 }, "serialNumber": { "type:": "string", "maxLength": 256 }, "firmwareVersion": { "type:": "string", "maxLength": 256 }, "softwareVersion": { "type:": "string", "maxLength": 256 }, "customIdentifier": { "type:": "string", "maxLength": 256 } }, "additionalProperties": false } } } } } } } } } }, { "description": "An AddOrUpdateReport message for Alexa.Discovery", "type": "object", "required": [ "event" ], "additionalProperties": false, "properties": { "event": { "type": "object", "required": [ "header", "payload" ], "additionalProperties": false, "properties": { "header": { "type": "object", "required": [ "namespace", "name", "payloadVersion", "messageId" ], "additionalProperties": false, "properties": { "namespace": { "type": "string", "enum": [ "Alexa.Discovery" ] }, "name": { "type": "string", "enum": [ "AddOrUpdateReport" ] }, "payloadVersion": { "$ref": "#/definitions/common/model.PayloadVersion" }, "messageId": { "$ref": "#/definitions/common/model.MessageId" }, "correlationToken": { "$ref": "#/definitions/common/model.CorrelationToken" } } }, "payload": { "type": "object", "required": [ "endpoints", "scope" ], "additionalProperties": false, "properties": { "endpoints": { "type": "array", "uniqueItems": true, "maxItems": 300, "items": { "type": "object", "required": [ "endpointId", "manufacturerName", "friendlyName", "description", "displayCategories", "capabilities" ], "properties": { "endpointId": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-=#;:?@&]*$", "minLength": 1, "maxLength": 256 }, "manufacturerName": { "type": "string", "minLength": 1, "maxLength": 128 }, "friendlyName": { "type": "string", "minLength": 1, "maxLength": 128 }, "description": { "type": "string", "minLength": 1, "maxLength": 128 }, "displayCategories": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": [ "ACTIVITY_TRIGGER", "CAMERA", "COMPUTER", "CONTACT_SENSOR", "DOOR", "DOORBELL", "EXTERIOR_BLIND", "FAN", "GAME_CONSOLE", "GARAGE_DOOR", "INTERIOR_BLIND", "LAPTOP", "LIGHT", "MICROWAVE", "MOBILE_PHONE", "MOTION_SENSOR", "MUSIC_SYSTEM", "NETWORK_HARDWARE", "OTHER", "OVEN", "PHONE", "SCENE_TRIGGER", "SCREEN", "SECURITY_PANEL", "SMARTLOCK", "SMARTPLUG", "SPEAKER", "STREAMING_DEVICE", "SWITCH", "TABLET", "TEMPERATURE_SENSOR", "THERMOSTAT", "TV", "WEARABLE" ] } }, "cookie": { "type": "object", "additionalProperties": { "type": "string" } }, "capabilities": { "$ref": "#/definitions/endpoint.capabilities" }, "connections": { "type": "array", "items": { "type": "object", "required": [ "type" ], "properties": { "type": { "minItems": 1, "maxItems": 1, "enum": [ "TCP_IP", "ZIGBEE", "ZWAVE", "UNKNOWN" ] }, "macAddress": { "type:": "string" }, "homeId": { "type:": "string" }, "nodeId": { "type:": "string" }, "value": { "type:": "string" } }, "additionalProperties": false } }, "additionalAttributes": { "type": "object", "properties": { "manufacturer": { "type": "string", "maxLength": 256 }, "model": { "type:": "string", "maxLength": 256 }, "serialNumber": { "type:": "string", "maxLength": 256 }, "firmwareVersion": { "type:": "string", "maxLength": 256 }, "softwareVersion": { "type:": "string", "maxLength": 256 }, "customIdentifier": { "type:": "string", "maxLength": 256 } }, "additionalProperties": false } } } }, "scope": { "type": "object", "required": [ "type", "token" ], "properties": { "type": { "enum": [ "BearerToken" ] }, "token": { "type": "string", "minLength": 1 } } } } } } } } } ] }