jsonschema is an implementation of JSON Schema for Python (supporting 2.7+ including Python 3).
JSON Schema is a powerful tool for validating the structure of JSON data. JSON stands for “JavaScript Object Notation”, a simple data interchange format. It began as a notation for the World Wide Web. Since JavaScript exists in most web browsers, and JSON is based on JavaScript, it’s very easy to support there. However, it has proven useful enough and simple enough that it is now used in many other contexts that don’t involve web surfing.
jsonschema can also be used from a terminal.
This is free and open source software.
Key Features
- Fast and simple to use.
- Full support for Draft 7, Draft 6, Draft 4 and Draft 3.
- Lazy validation that can iteratively report all validation errors.
- Programmatic querying of which properties or items failed validation.
- Support for ECMA 262 dialect regular expressions throughout schemas, as recommended by the specification.
Website: python-jsonschema.readthedocs.io
Support: GitHub Code Repository
Developer: Julian Berman
License: MIT License
jsonschema is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Data Validation | |
|---|---|
| Pydantic | Data validation using Python type hints |
| pandera | Framework for precision data testing |
| jsonschema | Implementation of JSON Schema for Python |
| Cerberus | Lightweight and extensible data validation library |
| schema | Library for validating Python data structures |
| GX | Validating, documenting, and profiling data |
| marshmallow | ORM/ODM/framework-agnostic library |
| Voluptuous | Python data validation library |
| Schematics | Combine types into structures, validate , and transform the shapes of data |
| Colander | Serialization / deserialization / validation library |
| Valideer | Lightweight data validation and adaptation Python library |
| OpenRefine | Desktop program for data cleanup and transformation |
| Soda Core | Data quality and data contract verification engine |
| OpenMetadata | Unified metadata platform |
| Elementary OSS | dbt-native data observability command-line tool |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.