Newtonsoft.Json.Schema
Newtonsoft.Json.Schema copied to clipboard
Validation hints - interested properties
Is there a way to provide meta data about which parts of the hierarchy an app is interested to the extent that the validation process is influenced?
I.e., if I am not interested in a required property that property would be ignored for the purpose of validation?
I would like to defer code generation churn for changes that do not functionally impact the application.
I have not been able to find mention of such a feature in the documentation. But perhaps there is a way to accomplish this with a custom JsonValidator.
@JamesNK is it possible to create a custom validation rule to ignore required properties?