You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 LevelPropertytype: enum with values "High", "Medium" or "Low".
The text was updated successfully, but these errors were encountered:
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 betype: 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
boolean
andnumber
. No one of the other defined types. Perhaps more needs to be used. Example forenum
. In a thing define aLevelProperty
type: enum
with values "High", "Medium" or "Low".The text was updated successfully, but these errors were encountered: