OpenDataServices / json-data-ferret

https://json-data-ferret.readthedocs.io/en/latest/
MIT License
1 stars 0 forks source link

When validating JSON with JSON Schema, use the correct validator #19

Open odscjames opened 4 years ago

odscjames commented 4 years ago

See TODO in https://github.com/OpenDataServices/json-data-ferret/blob/master/jsondataferret/models.py#L70 Record.validate_with_json_schema

validator_for() looks handy https://github.com/Julian/jsonschema/blob/master/jsonschema/validators.py#L937 looks handy