RicoSuter / NJsonSchema

JSON Schema reader, generator and validator for .NET
http://NJsonSchema.org
MIT License
1.38k stars 532 forks source link

Unable to use "dependentRequired" or "dependentSchemas" with NJsonSchema version 9.14.1 #1615

Open christiansita opened 1 year ago

christiansita commented 1 year ago

Hi, I am trying to make of use of conditionals dependentRequiredor dependentSchemas, as specified in https://json-schema.org/understanding-json-schema/reference/conditionals.html, for Json schema validation, but it is not working. I even tried to upgrade NJsonSchema to the latest version 10.9.0, but to no avail. I also tried using dependencies, though deprecated, but NJsonSchema didn't pick up the conditional. Can I get a confirmation whether NJsonSchema is able to support the latest JsonSchema draft version 2020-12?