No support for dependentRequired
Hello,
First, thanks a lot for providing this library! We @ https://transport.data.gouv.fr are happy to use it daily in production.
Opening an issue to note that dependentRequired (conditionally requires that certain properties must be present if a given property is present in an object) is not checked by the current version of this library and we got surprised by this.
It may be because you need to support newer versions of the spec, as discussed in https://github.com/jonasschmidt/ex_json_schema/issues/73.
In the 2019-09 release notes https://json-schema.org/draft/2019-09/release-notes.html#semi-incompatible-changes
dependencies has been split into dependentSchemas and dependentRequired
Hey, the support for dependentRequired was added in the 2019-09 schema draft (see release notes here: https://json-schema.org/draft/2019-09/release-notes.html). You already found the issue about adding support for the 2019-09 and 2020-12 drafts. Unfortunately it's not there yet and could take a bit of time to finish. Sorry I don't have better news 😬