Prepare for JSON Schema Draft 2020-12 support #203
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Expand our integrated JSON-Schema-Test-Suite suite to include the Draft 2020-12 tests.
Note that this also adds a number of Schema Test Suite exclusions for the Draft 2020-12 tests that our current Draft7-centric implementation does not properly handle. Follow-up work must be done to address those excluded tests and get us up to full Draft 2020-12 compatibility, but this should position us well to get that work done. Consulting how we implemented Draft7 in #122 and #186 will probably be valuable when tackling this work.
NOTE: We'd also like to support 2019-09. That will involve pulling in the 2019-09 JSON-Schema-Test-Suite tests in a pull request similar to this one, then evolving our JSON Schema support to handle this draft correctly. Should we do that before 2020-12 so we're progressively adding schema features in the same order as the schema drafts evolved? Or can we jump straight to 2020-12 since it's the latest and between that and Draft7, we have excellent coverage of the schemas out in the wild?