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

json-schema vocabulary: which version? #1241

Open
ioggstream opened this issue Oct 6, 2021 · 5 comments
Open

json-schema vocabulary: which version? #1241

ioggstream opened this issue Oct 6, 2021 · 5 comments
Labels
Propose closing Problem will be closed shortly if there is no veto. question

Comments

@ioggstream
Copy link
Contributor

Question

  • which specific json-schema version is used in the json-schema rdf vocabulary ?
  • should it include $id together with id?
@egekorkan
Copy link
Contributor

For your first question: TD is based on JSON Schema Draft7

@relu91 relu91 added the question label Oct 7, 2021
@JKRhb
Copy link
Member

JKRhb commented Jan 26, 2024

@ioggstream Do you think this issue has been resolved in the meantime? Or is the the second question still open?

@JKRhb JKRhb added the Propose closing Problem will be closed shortly if there is no veto. label Jan 26, 2024
@ioggstream
Copy link
Contributor Author

Hi!

  • it would be great to explicitly have a reference pf JSON Schema Draft7 in the spec;
  • can you point me to the answer to the second question in the spec?

Thanks again for all your support!
R.

@JKRhb JKRhb removed the Propose closing Problem will be closed shortly if there is no veto. label Jan 29, 2024
@JKRhb
Copy link
Member

JKRhb commented Jan 29, 2024

Thank you for your swift response :)

Hi!

* it would be great to explicitly have a reference pf JSON Schema Draft7 in the spec;

I think this one should already be covered: https://www.w3.org/TR/wot-thing-description11/#bib-json-schema (For the mapping from Internet-Drafts to JSON Schema draft numbers see here: https://json-schema.org/specification-links#draft-7).

However, maybe the ontology should be updated as well, as it currently points to Draft 4, if I am not mistaken (see here: https://www.w3.org/2019/wot/json-schema#normative-references). Furthermore, I am not sure if citing JSON Schema as a normative reference in the ontology is correct as it is not a formal standard.

* can you point me to the answer to the second question in the spec?

I am not sure about this one – it seems to me as if the ontology currently says "no" to this question (see https://www.w3.org/2019/wot/json-schema#referencing-and-linking). Do you maybe have a better answer here, @egekorkan?

Thanks again for all your support! R.

@egekorkan
Copy link
Contributor

@ioggstream regarding your second question: should it include $id together with id?

You are not required to use $id as schemas within a TD are not resolvable elsewhere. You can use it and nothing bad will happen.

@egekorkan egekorkan added the Propose closing Problem will be closed shortly if there is no veto. label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Propose closing Problem will be closed shortly if there is no veto. question
Projects
None yet
Development

No branches or pull requests

4 participants