-
Notifications
You must be signed in to change notification settings - Fork 3
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
Validation of TDs #16
Comments
You can enable JSON-schema validation for the TD upload: |
Great, thanks! I missed that. FYI: playground has some even more sophisticated validation, @egekorkan knows more. |
Happy to discuss which additional validations might make sense. |
With the new charter, there are some linting discussions happening but there are still mandatory validations. One example of each:
|
If I understand your comment, it means that the JSON Schema versioned here is not correct anymore and must be updated regarding the new JSON Schema specification from the W3C WG ? |
No I did not mean that. However, the schema here is older than the 1.1 Schema at https://github.com/w3c/wot-thing-description/blob/main/validation/td-json-schema-validation.json. I am not sure if this is intentional though. |
During the F2F the aspect was discussed that uploading TDs should guarantee accuracy.
Question: How much validation is done at the moment? JSON-LD processing?
Does it make sense to do a validation check via JSON schema and/or playground libraries?
Doing so guarantees that we have accurate TDs only in the directory.
The text was updated successfully, but these errors were encountered: