License Crates.io docs.rs Build Status codecov

see examples here

Features

CLI

to install: cargo install --example boon boon

``` Usage: boon [OPTIONS] SCHEMA [INSTANCE...]

Options: -h, --help Print help information -q, --quiet Do not print errors -d, --draft Draft used when '$schema' is missing. Valid values 4, 6, 7, 2019, 2020 (default 2020) -o, --output Output format. Valid values simple, alt, flag, basic, detailed (default simple) -f, --assert-format Enable format assertions with draft >= 2019 -c, --assert-content Enable content assertions with draft >= 7 ```

This cli can validate both schema and multiple instances.

exit code is: - 1 if command line arguments are invalid. - 2 if there are errors