| What it is | JSON Schema validation CLI and pre-commit hooks | JSON Schema validator. Supports drafts 4, 6, 7, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1. | Validate JSON structures against a JSON Schema in PHP |
| Features | - validate JSON or YAML files against a local or remote JSON Schema
- downloads and caches remote schemas
- pre-commit hooks for GitHub Workflows, Azure Pipelines, Bitbucket Pipelines, Buildkite, CircleCI and more
- check-metaschema hook validates schema files against their metaschema
| - JSON Schema drafts 4, 6, 7, 2019-09 and 2020-12
- OpenAPI 3.0 and 3.1 documents, and data by schema name or $ref
- error output with data and schema JSON pointers
- classic, flag, basic, detailed and verbose output formats
- x-error custom messages and I18n translations
- insert default property values during validation
- format validation and custom formats
- custom content encodings and media types
- All 13 features
| - validates JSON against JSON Schema drafts 3, 4, 6, 7 and 2019-09
- per-draft compliance reported by Bowtie
- install with Composer
|