Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doorbell schema validation errors #126

Open
kakopappa opened this issue Jul 14, 2019 · 0 comments
Open

Doorbell schema validation errors #126

kakopappa opened this issue Jul 14, 2019 · 0 comments
Assignees

Comments

@kakopappa
Copy link

Hello,

Doorbell JSON schema validation seems to be wrong. (or maybe i am doing something wrong)

  1. Copied the https://raw.githubusercontent.com/alexa/alexa-smarthome/master/validation_schemas/alexa_smart_home_message_schema.json to
    to https://www.jsonschemavalidator.net/ and select 06

  2. Copy the example request from https://developer.amazon.com/docs/device-apis/alexa-doorbelleventsource.html

{ "context": { }, "event": { "header": { "messageId": "9eac4fa2-9de0-4e75-ac38-9dde79abb1bd", "namespace" : "Alexa.DoorbellEventSource", "name": "DoorbellPress", "payloadVersion": "3" }, "endpoint": { "scope": { "type": "BearerToken", "token": "access-token-from-Amazon" }, "endpointId": "appliance-001" }, "payload" : { "cause": { "type": "PHYSICAL_INTERACTION" }, "timestamp": "2018-06-09T23:23:23.23Z" } } }

Validation produces this

image

@aszk aszk self-assigned this Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants