alexa-samples / alexa-smarthome

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

Schema updates #112

Closed jsetton closed 3 years ago

jsetton commented 5 years ago

Schema updates based on latest API reference documentation.

Changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jsetton commented 5 years ago

@DZhang87 It has been a while since I submitted this PR. Any chance that it could get merged at some point? This will definitely help the community.

sleeping-barber commented 4 years ago

Hi, we encountered problems using the schema provided within the master branch. It seems to be related that the current schema is not support semantic at all. Please merge this request due to it fixes this problem. Thanks to @jsetton for fixing!

NorthernMan54 commented 4 years ago

@jsetton Even though this has not been merged the community appreciates this PR. Tks

fabltd commented 3 years ago

Is there a schema for the mode controller?

jsetton commented 3 years ago

I am going to close this request. The latest update #160 to the schema includes the majority of the changes I covered here including some minor fixes that were done to the API since then.

Some of the properties could use stricter enumeration list, based on the API reference documentation, such as the supported inputs for InputController or the supported text string locales for interfaces using resources configuration. But otherwise, the latest schema is working well based on my validation testing.