A jsonschema CLI and pre-commit hook
Project description
check-jsonschema
A JSON Schema CLI and pre-commit hook built on jsonschema. The schema may be specified as a local or remote (HTTP or HTTPS) file.
Remote files are automatically downloaded and cached if possible.
Usage
check-jsonschema
can be installed and run as a CLI tool, or via pre-commit.
Example pre-commit config
The following configuration uses check-jsonschema
to validate Github Workflow
files.
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.26.0
hooks:
- id: check-github-workflows
Documentation
Full documentation can be found at https://check-jsonschema.readthedocs.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
check-jsonschema-0.26.0.tar.gz
(219.1 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.26.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.26.0.tar.gz
- Upload date:
- Size: 219.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45dbccca7e356c1b525155195238e136e02650f55234a6bc10f43a6723ba60e6 |
|
MD5 | 565b7158776da6a7e0b786258630562f |
|
BLAKE2b-256 | 4c47430e92bec86978ab05fd94facdf13aac0fa546e3e677fb1bdeced83382d5 |
Provenance
File details
Details for the file check_jsonschema-0.26.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.26.0-py3-none-any.whl
- Upload date:
- Size: 214.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93cd58575429fc1289c05ab629adabbee310dde3a2fa171ffd4002390bbf1bc8 |
|
MD5 | bfaa38d5d0d3e0cc6aede62ad1f1e143 |
|
BLAKE2b-256 | d5354f9193faa812d6cd33fb8972fe2168cb86922baf78755413e7e25bfd8d56 |