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

"type"/"items" and "discriminator"/"*Of" adjacency requirements #19

Open
handrews opened this issue May 22, 2023 · 0 comments
Open

"type"/"items" and "discriminator"/"*Of" adjacency requirements #19

handrews opened this issue May 22, 2023 · 0 comments

Comments

@handrews
Copy link
Member

In 3.0, "type": "array" requires an adjacent "items", and in all of 3.x, "discriminator" requires an adjacent "*Of".

This is probably easiest to support with a metaschema patch since in 3.0 the schema dialect can't be changed. "discriminator" can also double-check in the keyword implementation.

h/t @MikeRalphson for calling attention to the array type/items requirement.

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

1 participant