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 carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.