alexa-samples / alexa-smarthome

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

Validation schema is not coherent with documentation (or viceversa) #55

Open Agilulfo opened 6 years ago

Agilulfo commented 6 years ago

https://developer.amazon.com/docs/device-apis/alexa-discovery.html#endpoint-object

for the discovery response, endpoint.cookie is said to be a Map of string/value pairs however schema validate only string/string pairs.

Please update the documentation or the schema. I was tempted to use deeper dictionary or/and other values like boolean/objects/integer

Sharvin26 commented 5 years ago

Hey, I am also facing the problem in the validation Did you solve the issue? Thanks