Environment
$ python3 --version
Python 3.9.6
jsonschema==3.2.0
schema-enforcer==1.1.0
Expected Behavior
The schema should load and validate data against the validate function with exits of self.add_validation_error() and self.add_validation_pass()
Observed Behavior
The schema appears to be registering but doesn't action anything in the script.
Steps to Reproduce
- Install the dependancies
- Follow this guide - https://blog.networktocode.com/post/schema-enforcer-custom-validators/
- https://github.com/networktocode/schema-enforcer/blob/develop/docs/custom_validators.md
Side note, the example4 folder doesn't seems to exist like in the blog post, does anyone have a working example of custom validators using https://github.com/networktocode/schema-enforcer/blob/develop/docs/custom_validators.md#basevalidation?
Maybe I'm missing something in the .toml file? Any examples?
Environment
Expected Behavior
The schema should load and validate data against the
validatefunction with exits ofself.add_validation_error()andself.add_validation_pass()Observed Behavior
The schema appears to be registering but doesn't action anything in the script.
Steps to Reproduce
Side note, the example4 folder doesn't seems to exist like in the blog post, does anyone have a working example of custom validators using https://github.com/networktocode/schema-enforcer/blob/develop/docs/custom_validators.md#basevalidation?
Maybe I'm missing something in the .toml file? Any examples?