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.25.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.25.0.tar.gz
(219.2 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.25.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.25.0.tar.gz
- Upload date:
- Size: 219.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f5e86d942ef7b3f9dd8e6a596046851eaf1ca803359c07301f83ddd91d9ad10 |
|
MD5 | a09be6a571c73f4dbd2917fe153600ae |
|
BLAKE2b-256 | cfebeb7d38a75bd835392c894554e7d9c8fcd3fadcfd294b3bd83c0d36453d0a |
Provenance
File details
Details for the file check_jsonschema-0.25.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.25.0-py3-none-any.whl
- Upload date:
- Size: 214.9 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 | b3100e42b540eb207552c7c237c95b3f1e413616c80132fcba522517e5a51b15 |
|
MD5 | d80dd024629ad2e07de64557ecc46664 |
|
BLAKE2b-256 | 04a6872a0bb694fc0655b2e483bb168ea0bfd2ea71e4c3ed8ae14b685be7f557 |