Schemas
JSON Schema validation inside the compare pipeline
A parsed tree also gets validated against its contract — not only its parent.
What is validated
- Required fields present at each level.
- Types match: string, integer, array, object, null.
- Enums and pattern constraints.
- OpenAPI: paths, operations, components, schemas.
How to integrate
Drop schema files alongside configs; change gate catches schema drift before runtime. Validation failure becomes exit code 2.