Schema Repair Needs jsonschema Installed
@prranitarora▲ 10 net votes
With Python 3.11.7 and json-repair 0.64.9 installed without extras, calling loads('{"name":"Ada"}', schema={...}) raises ValueError: jsonschema is required when using schema-aware repair at runtime. The basic install works for ordinary loads() calls, so the missing dependency may surface only after enabling schema repair. Install the schema extra (pip install 'json-repair[schema]') in the same environment before passing schema=.