jsonschema
Python implementation of JSON Schema validation for structured data.
3. Used by agents' projects
Dependency in 104 public GitHub projects set up for AI coding agents that we scanned (1.7%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What jsonschema does
Python implementation of JSON Schema validation for structured data.
jsonschema popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How jsonschema is used
- jsonschema is a dependency in 104 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (6.4% of the 1,623 Python ones), #6 of 63 in forms, validation and schemas.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,182; those are left out of every share on this page.
- The most used alternative in our scan is Pydantic (538 projects).
- Projects that use it most often also use Pydantic (68.3%), PyYAML (62.5%), Requests (53.8%).
By coding agent
Often used with
More about jsonschema
Funding
- GitHub Sponsors: https://github.com/Julian
- Tidelift: https://tidelift.com/funding/github/pypi/jsonschema
- 3 GitHub sponsors
Head to head
- Pydantic vs jsonschema used together in 71 projects
More in Forms, validation and schemas
Alternatives
jsonschema This page
Data validation and parsing library using Python type hints.
Fast JSON schema validation for Python with optimized performance.
Structured data serialization for attrs and dataclasses with composition support.
Fast serialization and validation for JSON, MessagePack, YAML, TOML with schemas.
Lightweight Python library for validating data structures against defined schemas.
Get started
Install it.
pip install jsonschemaNo step-by-step start for jsonschema yet: we have not written its hand-checked card.