AJV Strict Schema Doctor
Diagnoses and repairs AJV strict-mode JSON Schema compilation failures by identifying error classes and applying localized patches.
AJV Strict Schema Doctor is a specialized utility designed to handle the complexities of AJV's strict mode, particularly for Draft 2020-12 schemas. It provides an automated diagnostic workflow that classifies common errors—such as type-specific keyword issues, unresolved references, and invalid JSON structures—and offers schema-local fixes to maintain high validation standards without disabling strict mode. This tool is essential for developers struggling with CI/CD failures or complex schema migrations who need to ensure their JSON schemas are robust, standards-compliant, and secure.
Key Features
01Localized patching strategy to maintain strict mode enforcement
02Automated diagnostic script for classifying AJV strict-mode failures
03Detailed reporting with actionable triage instructions and fixes
04Detection of issues like strictTypes, strictRequired, and unresolved-ref
053 GitHub stars
06Comprehensive support for Draft 2020-12 and modern JSON Schema specs
Use Cases
01Resolving complex $ref and $id conflicts in multi-file schema repositories
02Migrating legacy JSON schemas to modern AJV strict mode requirements
03Fixing 'schema won't compile' errors in CI/CD pipelines