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

Strengthen "$schema" + "$vocabulary" requirements #1301

Open
handrews opened this issue Sep 19, 2022 · 3 comments
Open

Strengthen "$schema" + "$vocabulary" requirements #1301

handrews opened this issue Sep 19, 2022 · 3 comments

Comments

@handrews
Copy link
Contributor

There is currently no normative language requiring "$schema" to be respected. Particularly for supporting optional vocabularies without requiring custom code (see #1300), there needs to be a mandatory requirement to inspect the meta-schema for $vocabulary. Guidance would be needed for the case when the meta-schema is not available. Probably also guidance that schema publishers are expected to make their meta-schemas as available as their schemas whenever they use custom meta-schemas. We probably also need wording around when the meta-schema is not in $schema but is provided as a media type parameter.

@handrews
Copy link
Contributor Author

This issue doesn't mean that we have to keep $schema and $vocabulary exactly as they are, just that whatever we end up with in the next release needs normative language that guarantees predictable behavior.

@nilaygit-10721
Copy link

can you assign me this issue?

@gregsdennis
Copy link
Member

gregsdennis commented Oct 31, 2024

Thanks for highlighting this issue. I need to recategorize it. Looks like it's already categorized properly.

Vocabs have been extracted into a formal proposal now. We have a lot of design work before we can pull the feature back into the spec. There's not much to do as far as writing at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants
@handrews @gregsdennis @nilaygit-10721 and others