jsonschema
An implementation of JSON Schema validation for Python
Install
jsonschema on PyPI
pip
pip install jsonschemauv
uv add jsonschemapoetry
poetry add jsonschemaPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — attrs, jsonschema-specifications, referencing, rpds-py |
| Maintenance | actively maintained — 218 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: jsonschema-4.26.0-py3-none-any.whl
Keywords: data validation, json, json schema, jsonschema, validation
About jsonschema
from the package's own PyPI description — quoted content, verbatim
========== jsonschema ==========
|PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo|
.. |PyPI| image:: https://img.shields.io/pypi/v/jsonschema.svg :alt: PyPI version :target: https://pypi.org/project/jsonschema/
.. |Pythons| image:: https://img.shields.io/pypi/pyversions/jsonschema.svg :alt: Supported Python versions :target: https://pypi.org/project/jsonschema/
.. |CI| image:: https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg :alt: Build status :target: https://github.com/python-jsonschema/jsonschema/actions?query=workflow%3ACI
.. |ReadTheDocs| image:: https://readthedocs.org/projects/python-jsonschema/badge/?version=stable&style=flat :alt: ReadTheDocs status :target: https://python-jsonschema.readthedocs.io/en/stable/
.. |Precommit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/jsonschema/main.svg :alt: pre-commit.ci status :target: https://results.pre-commit.ci/latest/github/python-jsonschema/jsonschema/main
.. |Zenodo| image:: https://zenodo.org/badge/3072629.svg :alt: Zenodo DOI :target: https://zenodo.org/badge/latestdoi/3072629
jsonschema is an implementation of the `JSON...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
jsonschema validates Python data structures against JSON Schema specifications, supporting Draft 3 through Draft 2020-12 with lazy validation and detailed error reporting.
Low friction: pure-wheel distribution with four lightweight runtime dependencies (attrs, jsonschema-specifications, referencing, rpds-py). Actively maintained with recent release and 4968 GitHub stars.
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and proprietary projects.
Usage
pip install jsonschema
from jsonschema import validate
schema = {"type": "object", "properties": {"name": {"type": "string"}}}
validate(instance={"name": "test"}, schema=schema)
Requires Python 3.10 or later.
Verdict: Production-ready, widely-used validator with active maintenance, no known vulnerabilities, and permissive MIT licensing. Low install friction and broad JSON Schema standard support make it a reliable choice for data validation workflows.
Needs verification
- Performance characteristics and memory footprint relative to alternative validators under large-scale validation workloads.
- Whether optional format validation extras (format, format-nongpl) introduce GPL or other restrictive licensing obligations.
Similar packages
permissive · top 100 on PyPI
fastjsonschemapermissive · top 1,000 on PyPI
jsonschema-specificationspermissive · top 100 on PyPI
pydantic-extra-typespermissive · top 1,000 on PyPI
validatorspermissive · top 1,000 on PyPI
numbapermissive · top 1,000 on PyPI
rpds-pypermissive · top 100 on PyPI
genai-pricespermissive · top 1,000 on PyPI
mpmathpermissive · top 1,000 on PyPI
cyclonedx-python-libpermissive · top 1,000 on PyPI