check-jsonschema
A jsonschema CLI and pre-commit hook
Decision gist · record as of 2026-08-14
Yes. Active maintenance, permissive license, low install friction, no known vulnerabilities, and a focused, well-scoped tool. Install it if you need to validate JSON or YAML against schemas in a CLI or pre-commit context—it does exactly that without bloat.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure-Python wheel.
- Active maintenance—released 5 days ago with a last commit on 2026-08-10.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive). No restrictions on commercial use, modification, or redistribution; suitable for most projects.
last release 2026-08-09 (5 days) · last repo commit 2026-08-10 · 336 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,885,676 downloads/mo, #2,461 on PyPI
Alternatives
Verify before relying
pip install check-jsonschema
check-jsonschema --schemafile schema.json instance.json- Whether remote schema caching behavior persists across invocations and how cache invalidation is handled.
- Performance characteristics when validating large files or many files in sequence.
What it is and what it does
check-jsonschema is a JSON Schema validator that runs as a standalone CLI tool or integrates into pre-commit workflows. It reads JSON or YAML files and validates them against a schema you specify—either a local file or a remote URL (HTTP/HTTPS). Remote schemas are cached automatically to avoid repeated downloads. The tool is built on the jsonschema library and provides a straightforward command-line interface with options like --verbose for detailed output.
It's designed for developers who want to enforce schema compliance in their repositories—common use cases include validating GitHub Actions workflow files, configuration files, or any JSON/YAML document that should conform to a known structure. You can run it manually from the command line or wire it into pre-commit to catch schema violations before commits are made.
Use it for
- Validate GitHub Actions workflow YAML files in CI/CD pipelines before they run.
- Enforce schema compliance on configuration files (e.g., package.json, pyproject.toml) in pre-commit hooks.
- Batch-validate JSON API responses or data exports against a known schema.
- Catch malformed JSON/YAML in documentation or example files during development.
- Integrate schema validation into build or linting workflows without writing custom code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, permissive license, low install friction, no known vulnerabilities, and a focused, well-scoped tool. Install it if you need to validate JSON or YAML against schemas in a CLI or pre-commit context—it does exactly that without bloat.
Install
check-jsonschema on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance—released 5 days ago with a last commit on 2026-08-10. Depends on six common, well-maintained packages (jsonschema, click, requests, ruamel.yaml, tomli, regress), all of which have minimal transitive load.
Requires Python 3.10 or later.
License in practice
Licensed under Apache Software License (permissive). No restrictions on commercial use, modification, or redistribution; suitable for most projects.
Quickstart
pip install check-jsonschema
check-jsonschema --schemafile schema.json instance.json
Verify before relying
- Whether remote schema caching behavior persists across invocations and how cache invalidation is handled.
- Performance characteristics when validating large files or many files in sequence.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagestomliruamel.yamljsonschemaregressrequestsclick |
| Maintenance | Actively maintained 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,885,676 / month, #2,461 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3 |
Evidence: check_jsonschema-0.38.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pre-commit json validator”
- check-jsonschemaA command-line tool and pre-commit hook that validates JSON and YAML…
- validate-pyprojectValidates pyproject.toml files against JSON Schema definitions to…
- openapi-spec-validatorValidates OpenAPI specifications (versions 2.0, 3.0, 3.1, and 3.2)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also fastjsonschema · jsonschema · jsonschema-gentypes · kubernetes-validate · cfgv · pre-commit-hooks · eido · pycsvschema · jsonschema-rs · jschon