skillfed

jsonschema

An implementation of JSON Schema validation for Python

jsonschema Permissive license MIT Active 4,968 v4.26.0 released

Install

jsonschema on PyPI

pip

pip install jsonschema

uv

uv add jsonschema

poetry

poetry add jsonschema

Package 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: File Formats :: JSONTopic :: File Formats :: JSON :: JSON Schema

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.
json schema validationvalidate json data pythonjson schema validatordata validation against schemajson schema draft supportschema validation library

Similar packages