Skip to content

Doorbell schema validation errors #126

@kakopappa

Description

@kakopappa

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions