-
Notifications
You must be signed in to change notification settings - Fork 8
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
Complete or remove JSON Schema of the Core Profile #120
Comments
I think there will be and has to more restrictions that the schema of the TD. For example, checking for |
I completely agree with @egekorkan that we need a JSON Schema for automatic validation. |
arch call on 25.11.: |
tentatively assigning to @egekorkan and @FadySalama and hoping to get their help. |
I agree that the contraints should be agreed on first since there is discussion on nearly every detail. After that, we can write a script that takes the TD schema creates another schema that has more constraints |
Defer to Profile 1.1. |
Note that the Core Profile now no longer exists. JSON schemas could be created for each published profile, but that may have limited value because profiles can not be completely described by a JSON schema. I would suggest closing this issue. |
I would still see the value of having a JSON Schema for each profile, especially considering that they will be a subset of TD later on. However, a set of linting rules like with Spectral might fit better since a JSON Schema will always do a strict validation (which is too assertive in some cases) |
There's currently an incomplete section of the specification called JSON Schema of the Core Profile.
This section either needs to be completed, or removed, before publication.
Note that if the WoT Core Data Model section is reduced or removed as I have proposed in #10 then this section may be of limited value and the JSON schema provided by the WoT Thing Description specification would be sufficient.
The text was updated successfully, but these errors were encountered: