-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
For better or worse the schemas defined in definitions.json are currently used by the WebThings Gateway application to validate parts of Thing Descriptions and to generate TypeScript types used to represent them.
There are certain changes needed to these schemas in order to validate W3C compliant Thing Descriptions. Notably:
- Add data wrapper for event data schema Add
datawrapper for event data schema gateway#2810 - Change mediaType to type for links in API Change
mediaTypetotypeforlinksin API gateway#2808 - Change @context of Thing Descriptions to an array Change
@contextof Thing Descriptions gateway#2809
Ideally we would also remove or vendor-prefix non-standard members of the Thing Description
- Remove name member of property affordances in Thing Descriptions Remove name member of property affordances in Thing Descriptions gateway#2855
- Remove value member of property affordances in Thing Descriptions Remove value member of property affordances in Thing Descriptions gateway#2854
- Add prefix to proprietary members of Thing Descriptions Remove or add prefix to proprietary members of Thing Descriptions gateway#2832
Before releasing these changes we'll need to evaluate the impact on any existing add-ons which may use these terms directly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels