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 Draft 2020-12 changes to items and additionalItems #190

Open
yhuard opened this issue Feb 26, 2024 · 0 comments
Open

Support Draft 2020-12 changes to items and additionalItems #190

yhuard opened this issue Feb 26, 2024 · 0 comments

Comments

@yhuard
Copy link

yhuard commented Feb 26, 2024

Hi!

Thanks for this great lib! I was playing around and noticed that it doesn't fully support JSON Schema Draft 2020-12.

More specifically, do you plan to support the changes introduced in Draft 2020-12 regarding the tuples validation?

The items and additionalItems keywords have been replaced with prefixItems and items where prefixItems has the same functionality as the array-of-schemas for of the old items and the new items keyword has the same functionality as the old additionalItems keyword.

https://json-schema.org/draft/2020-12/release-notes#changes-to-items-and-additionalitems

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

1 participant