Closed peristeri closed 9 months ago
See the FAQ, you haven't enabled format validation.
Sorry for the false alarm, but I just saw at the end of the documentation to include format_checker=Draft202012Validator.FORMAT_CHECKER)
. I wandering what is the motivation to have the format checker as an opt-in feature to validation?
That's the required behavior by the JSON Schema specification essentially. The FAQ goes into more detail.
When using jsonschema==4.19.2, I want to validate uuid string in json instance but returns a valid results for invalid instances
Here's a minimal example:
I expect the validation of the invalid json instances to raise ValidationError