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

Add support for JSON Schema draft 2019-09 and 2020 #2241

Open
davidebriani opened this issue Feb 18, 2021 · 5 comments
Open

Add support for JSON Schema draft 2019-09 and 2020 #2241

davidebriani opened this issue Feb 18, 2021 · 5 comments

Comments

@davidebriani
Copy link

JSON Schema draft 2019-09 has been out for a while and it's probably going to be quite common, given that OpenAPI 3.1 is also supporting it.
However support for this draft only comes with Ajv 7 and react-jsonschema-form is still stuck with Ajv 6.
Would you consider upgrading the package or maybe leave it as peer dependency?
Validation is a core part of this project and it makes sense to let users be able to stay up-to-date with current standards.

@heath-freenome
Copy link
Member

@davidebriani rjsf-v5 will be adding support for ajv8. We can consider bumping the schema version support to the latest at that point.

@heath-freenome heath-freenome changed the title Update to Ajv 7 and add support for JSON Schema draft 2019-09 Add support for JSON Schema draft 2019-09 and 2020 Jan 20, 2023
@heath-freenome
Copy link
Member

We are on Ajv8, but we still don't properly support some of the newer concepts in the latest drafts

@timruffles
Copy link

@heath-freenome do you have a link to something capturing the concepts/features not supported from 2019/2020?

@heath-freenome
Copy link
Member

@timruffles alas, we do not at the moment. It is something that we definitely need to write up. And given that I (and others) are maintaining this project with the 2-4 hours a week of time our regular jobs and life allow us, it may take a while to generate. Sorry.

@timruffles
Copy link

All good, thanks for maintaining this!

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

No branches or pull requests

4 participants