see godoc for examples
$schema cycle$schema url#$vocabulary for draft >=2019-19to install: go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
Note that the cli is versioned independently. you can see it in git tags cmd/jv/v0.7.0
Usage: jv [OPTIONS] SCHEMA [INSTANCE...]
Options:
-c, --assert-content Enable content assertions with draft >= 7
-f, --assert-format Enable format assertions with draft >= 2019
--cacert pem-file Use the specified pem-file to verify the peer. The file may contain multiple CA certificates
-d, --draft version Draft version used when '$schema' is missing. Valid values 4, 6, 7, 2019, 2020 (default 2020)
-h, --help Print help information
-k, --insecure Use insecure TLS connection
-o, --output format Output format. Valid values simple, alt, flag, basic, detailed (default "simple")
-q, --quiet Do not print errors
-v, --version Print build information
1 for validation errors, 2 for usage errors---cacert--insecure$ claude mcp add jsonschema \
-- python -m otcore.mcp_server <graph>