Skip to content

jstruct v0.7.0

Choose a tag to compare

@github-actions github-actions released this 08 Jun 15:28
· 11 commits to master since this release
d0f0f64

jstruct CLI v0.7.0

JSON Structure schema validation command-line tool.

Installation

Linux (Debian/Ubuntu)

sudo dpkg -i jstruct_0.7.0_amd64.deb

Linux (Fedora/RHEL)

sudo rpm -i jstruct-0.7.0-1.x86_64.rpm

macOS

# Universal binary (Intel + Apple Silicon)
sudo installer -pkg jstruct-0.7.0-darwin-universal.pkg -target /

# Or via tarball
tar xzf jstruct-0.7.0-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.json

See jstruct --help for more options.