jstruct v0.5.3
·
3 commits
to master
since this release
jstruct CLI v0.5.3
JSON Structure schema validation command-line tool.
Installation
Linux (Debian/Ubuntu)
sudo dpkg -i jstruct_0.5.3_amd64.debLinux (Fedora/RHEL)
sudo rpm -i jstruct-0.5.3-1.x86_64.rpmmacOS
# Universal binary (Intel + Apple Silicon)
sudo installer -pkg jstruct-0.5.3-darwin-universal.pkg -target /
# Or via tarball
tar xzf jstruct-0.5.3-darwin-universal.tar.gz
sudo mv jstruct /usr/local/bin/Windows
Download and extract the ZIP, or install the MSIX package.
Usage
# Validate a schema
jstruct check schema.json
# Validate an instance against a schema
jstruct validate --schema schema.json data.jsonSee jstruct --help for more options.