Data Science

check-jsonschema – command-line JSON Schema validation tool

check-jsonschema is a command-line tool for validating structured data and configuration files against JSON Schema definitions. It helps developers identify incorrect values, missing properties and structural errors before configuration changes are committed or deployed.

The tool is particularly useful for software projects that rely on configuration files for build systems, continuous integration services and development automation. By checking files against established schemas, developers can catch configuration mistakes without having to execute the systems that consume those files.

check-jsonschema builds on the jsonschema validation library and integrates with pre-commit, allowing validation to become part of a project’s normal development workflow.

This is free and open source software.

Key Features

  • Validate JSON and YAML documents against JSON Schema definitions.
  • Load schemas from local files or remote HTTP and HTTPS addresses.
  • Download and cache remote schemas to reduce unnecessary network requests.
  • Provide built-in schemas for common configuration formats, including GitHub Actions workflows, Azure Pipelines and GitLab CI.
  • Validate configuration files used by Renovate, Dependabot, Docker Compose, CircleCI and other development tools.
  • Integrate with pre-commit through dedicated validation hooks.
  • Check JSON Schema documents against their corresponding metaschemas.
  • Support TOML documents and optionally JSON5 through additional parsers.
  • Validate multiple files in a single command and report schema violations.
  • Provide configurable output verbosity and error reporting for diagnosing validation failures.
  • Check workflow-specific requirements using specialised built-in schemas.
  • Integrate with continuous integration pipelines to detect invalid configuration files automatically.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/python-jsonschema/check-jsonschema
Support:
Developer: Stephen Rosen
License: Apache License 2.0

check-jsonschema is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Data Validation
PydanticData validation using Python type hints
panderaFramework for precision data testing
jsonschema
Implementation of JSON Schema for Python
CerberusLightweight and extensible data validation library
schemaLibrary for validating Python data structures
GXValidating, documenting, and profiling data
marshmallowORM/ODM/framework-agnostic library
VoluptuousPython data validation library
SchematicsCombine types into structures, validate , and transform the shapes of data
ColanderSerialization / deserialization / validation library
ValideerLightweight data validation and adaptation Python library
OpenRefineDesktop program for data cleanup and transformation
Soda CoreData quality and data contract verification engine
OpenMetadataUnified metadata platform
Elementary OSS dbt-native data observability command-line tool

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted