Description
Currently in the 2.1.0
version of spec, we support only JSON Schema in the version of draft 07. There are some changes (including breaking changes) between draft 07
-> draft 2019-09
-> draft 2020-12
, especially with core keywords:
dependencies
are split todependentSchemas
anddependentRequired
- as I readdependencies
has still backward compatibility- added
deprecated
keyword - similar to ourdeprecated
- added new predefined formats
- added
unevaluatedItems
andunevaluatedProperties
keywords - similar toadditional*
, but they can "see" into subschemas and across references - added local/dynamic anchors
- added
minContains
,maxContains
definitions
->$def
(definitions
has still backward compatibility)- in the
$ref
other keywords are now allowed alongside of it - ... other thing related to the vocabularies and meta schemas
You can read all changes in:
Due to the fact that JSON Schema itself has breaking change and it's treated by us as a base for our Schema Object, so the specification itself will have breaking change when we start supporting the latest drafts.
The issue itself is like question: When will we start supporting this? O maybe someone have an opinion that we shouldn't support this at all in the near future? Or if yes, when? In 3.0.0
or 4.0.0
?
We must also remember about adjusting the JSON Schema for spec to the Draft 2020-12
.