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

[2.3.1] Fix $schema identifier in JSON Schema #1029

Open
wants to merge 1 commit into
base: development/v2.3.1
Choose a base branch
from

Conversation

Bo98
Copy link

@Bo98 Bo98 commented Aug 8, 2024

While pre-2019 JSON Schema drafts had a trailing #, the 2019-09 draft does not:

The identifier for Draft 2019-09 is https://json-schema.org/draft/2019-09/schema.

https://json-schema.org/understanding-json-schema/reference/schema

Many validators locally store rules for the different schemas and match them by simple string comparison rather than fetching the remote schema, so the trailing # was causing issues here.

This issue is specific to the 2.3.1 branch - the identifier in 2.3.0 is correct.

Signed-off-by: Bo Anderson <mail@boanderson.me>
@goneall goneall added this to the 2.3.1 milestone Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants