alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
685 stars 336 forks source link

Add validation for Camera PTZ controllers #176

Closed Logikz closed 1 year ago

Logikz commented 3 years ago

There is a validation error for syntactically correct directive responses related to camera RTCSessionControllers 'Alexa.RTCSessionController' is not one of ['Alexa']

Failed validating 'enum' in schema[1]['properties']['event']['properties']['header']['properties']['namespace']: {'enum': ['Alexa'], 'type': 'string'}

On instance['event']['header']['namespace']: 'Alexa.RTCSessionController'

Copied from example { "event": { "header": { "namespace": "Alexa.RTCSessionController", "name": "SessionDisconnected", "messageId": "", "correlationToken": "", "payloadVersion": "3" }, "endpoint": { "scope": { "type": "BearerToken", "token": "" }, "endpointId": "" }, "payload": { "sessionId" : "" } } }

aszk commented 1 year ago

We don't have a plan to add validation for SessionDisconnected at this point.