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

Make changes to device schema for W3C compliance - partial fix for #20 #21

Merged
merged 4 commits into from
Jan 13, 2022

Conversation

benfrancis
Copy link
Member

No description provided.

Copy link
Contributor

@relu91 relu91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok! Just two minor comments below

messages/definitions.json Outdated Show resolved Hide resolved
"description": "An array of JSON-LD contexts used by the device"
}
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change we can support these two context types: @context : "URL" and @context : ["url", "url"]

What about:

@context : [ "url", { myprefix : "url"}] 

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I think so.

Copy link
Member Author

@benfrancis benfrancis Sep 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How's this? (pushed another commit)

@benfrancis benfrancis marked this pull request as ready for review September 30, 2021 17:05
@benfrancis benfrancis marked this pull request as draft September 30, 2021 17:07
@benfrancis benfrancis removed the request for review from tim-hellhake September 30, 2021 17:08
@benfrancis benfrancis marked this pull request as ready for review September 30, 2021 17:30
@benfrancis benfrancis changed the title Make changes to device schema for W3C compliance - fixes #20 Make changes to device schema for W3C compliance - partial fix for #20 Sep 30, 2021
@benfrancis benfrancis merged commit d885b01 into WebThingsIO:master Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants