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

Support http://json-schema.org/draft-06/schema# or newer #32

Open
tsuga opened this issue Sep 25, 2024 · 2 comments
Open

Support http://json-schema.org/draft-06/schema# or newer #32

tsuga opened this issue Sep 25, 2024 · 2 comments

Comments

@tsuga
Copy link

tsuga commented Sep 25, 2024

Currently, this library seems to be built on draft-04.

# API to set which schema validator draft to use
def set_json_validator_version(v=jsonschema.Draft4Validator):
''' Currently, our subtype checking supports json schema draft 4 only,
so VALIDATOR should not changed.
We prodive the method for future support of other json schema versions. '''
this.VALIDATOR = v

It would be great if it supports newer draft versions.

@cortadocodes
Copy link

cortadocodes commented Dec 4, 2024

Bumping this - it would be great to support the latest JSON metaschema (2020-12)

@shinnar
Copy link
Member

shinnar commented Dec 5, 2024

This would be a great improvement, but I am not sure when/if the maintainers will have time to work on it.
If anyone is interested in submitting a PR for this, we would be happy to work with them and review/shepherd it.

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

No branches or pull requests

3 participants