# check-jsonschema

> JSON Schema validation CLI and pre-commit hooks

Source: https://talira.ai/catalog/check-jsonschema-zskp1vjb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [libraries / validation / json schema](https://talira.ai/categories/libraries/validation/json-schema), [developer tools / linting](https://talira.ai/categories/developer-tools/linting)
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Stephen Rosen](https://talira.ai/orgs/stephen-rosen.md)

check-jsonschema is a command-line tool and set of pre-commit hooks for validating JSON and YAML files against a JSON Schema, built on the Python [jsonschema](https://talira.ai/catalog/jsonschema-python-8054fn4e.md) library. The schema can be a local file or one fetched over HTTP or HTTPS, and remote schemas are downloaded and cached. Ready-made hooks validate common config files against their published schemas, including GitHub Workflows, Azure Pipelines, Bitbucket Pipelines, Buildkite, CircleCI and Renovate, and another checks schema files against their metaschema. It installs with pipx or Homebrew.

## Links

- GitHub: https://github.com/python-jsonschema/check-jsonschema
- Docs: https://check-jsonschema.readthedocs.io/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/check-jsonschema>[^1]

## Problems it solves

- validate my GitHub Actions workflow files before I push
- check JSON and YAML config files against a schema in pre-commit
- catch a broken CI config in a git hook instead of on the CI server

## 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

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 1.00, adoption 0.51, momentum 0.23, community 0.63, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 76 commits in the last 90 days
- latest release 0.40.0 2 days ago
- 355 GitHub stars
- 37 contributors
- accepts sponsorship (Github)
- 489 Homebrew installs in 30 days
- backed by Stephen Rosen

## Related

- Based on [jsonschema (Python)](https://talira.ai/catalog/jsonschema-python-8054fn4e.md)

## Alternatives

- [json_schemer](https://talira.ai/catalog/json-schemer-k1zep5n3.md): JSON Schema validator. Supports drafts 4, 6, 7, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1.
- [JSON Schema for PHP (justinrainbow/json-schema)](https://talira.ai/catalog/json-schema-for-php-justinrainbow-json-schema-2e8v2bqg.md): Validate JSON structures against a JSON Schema in PHP

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 28 Nov 2026)
[^2]: https://github.com/python-jsonschema/check-jsonschema/blob/main/README.md (checked 28 Nov 2026)
[^3]: https://github.com/python-jsonschema/check-jsonschema/blob/main/LICENSE (checked 28 Nov 2026)
