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

Missing support of integer in https://iot.mozilla.org/schemas #1467

Closed
tomasy opened this issue Oct 31, 2018 · 1 comment
Closed

Missing support of integer in https://iot.mozilla.org/schemas #1467

tomasy opened this issue Oct 31, 2018 · 1 comment

Comments

@tomasy
Copy link

tomasy commented Oct 31, 2018

In https://iot.mozilla.org/wot/ the property type could be one of (null, boolean, object, array, number, integer or string) but in https://iot.mozilla.org/schemas there are no support for integer just number. I think most of the properties in schemas that have type: number could be type: number/integer.

Perhaps not correct place to bug report for schemas. But I was told to create issues where I found missing use of type: integer

A comment:
The schemas use only booleanand number. No one of the other defined types. Perhaps more needs to be used. Example for enum. In a thing define a LevelProperty type: enum with values "High", "Medium" or "Low".

@mrstegeman
Copy link
Contributor

Moved to WebThingsIO/schemas#16 and WebThingsIO/schemas#17

We also don't support object or array types well right now, but we've not yet found a great use case to actually play around with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants