# python-jsonschema/jsonschema

An implementation of the JSON Schema specification for Python

Repository: https://github.com/python-jsonschema/jsonschema
Canonical: https://ross.abutalabs.com/products/jsonschema
Homepage: https://python-jsonschema.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: json-schema, json, validation, schema, jsonschema
Last push: 2026-08-24T18:37:54+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 53, longevity 100
- inputs: {"age_days": 5360, "days_push": 9, "days_rel": 238, "gap_med": 41.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4977, forks 652 (observed 2026-08-28T04:09:04.099501+00:00)

## What it is
A Python library implementing the JSON Schema specification for validating JSON data against schemas. It supports all major JSON Schema drafts from Draft 3 through Draft 2020-12.

## Use cases
- validate  payloads against a schema
- check api request bodies conform to a spec
- validate config files with  schema
- ensure  documents match expected structure
- validate data loaded from  files in python

## When to choose
- you need standards-compliant JSON Schema validation in Python
- you need support for multiple JSON Schema drafts including 2020-12
- you want detailed validation error reporting

## When to avoid
- you need validation of non-JSON data formats
- you need a language-agnostic validator outside Python
- you need extremely high-throughput validation with minimal overhead

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, apis
- platform: python, cli
- tags: -schema, validation, data-validation, data-engineering

## Member repositories
- python-jsonschema/jsonschema (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.099501+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:44.050592+00:00, confidence not recorded.
  - readme: https://github.com/python-jsonschema/jsonschema (fetched 2026-08-28T04:09:04.099501+00:00, sha b5b9df8298ae)
  - registry_pypi: https://pypi.org/pypi/jsonschema/json (fetched 2026-08-29T08:59:26.889556+00:00, sha 73e0bf09710b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
