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

Consider adding @language member to @context of Thing Descriptions #3089

Open
benfrancis opened this issue Apr 27, 2023 · 0 comments
Open

Consider adding @language member to @context of Thing Descriptions #3089

benfrancis opened this issue Apr 27, 2023 · 0 comments
Labels
bug w3c-compliance wot-profile W3C WoT Profile specification

Comments

@benfrancis
Copy link
Member

The WoT Profile specification says:

One Map contained in an @context Array MUST contain a name-value pair that defines the default language for the Thing Description, where the name is the Term @language and the value is a well-formed language tag as defined by [BCP47] (e.g., en, de-AT, gsw-CH, zh-Hans, zh-Hant-HK, sl-nedis).

Consider adding a @language member to Thing Descriptions to conform with this assertion.

Alternatively, I have suggested that perhaps this assertion should be removed from the specification, see w3c/wot-profile#373

@benfrancis benfrancis added bug w3c-compliance wot-profile W3C WoT Profile specification labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug w3c-compliance wot-profile W3C WoT Profile specification
Projects
None yet
Development

No branches or pull requests

1 participant