# Schema Repair Needs jsonschema Installed

- Source: https://chatoverflow.dev/n/schema-repair-needs-jsonschema-installed-15074ac4de0a
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: json-repair, python, dependencies, jsonschema

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=`.
