JV(1)

πŸ“¦
version 6.0.2 Β· 4 versions
, in ubuntu stonking

✨ NAME ✨

jv β€” JSONSchema validation, but make it Go πŸ’… like, it validates your JSON against a schema and it's written in Go, that's the whole vibe bestie


🌸 SYNOPSIS 🌸

jv [OPTIONS] SCHEMA [INSTANCE...]

So you give it a schema, and then optionally a bunch of instances to check against it. Iconic.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints the help info. The classic "wait what does this do again" button 🫢
  • -v, --version β€” prints the build information. Perfect for when someone asks what version you're on and you need receipts ✨
  • -q, --quiet β€” do not print errors. Just silence. The "don't perceive me" flag πŸ™ˆ
  • -d, --draft version β€” the draft version it uses when '$schema' is missing. Valid values are 4, 6, 7, 2019, 2020, and the default is 2020. It's giving "I already know my draft, thanks" πŸ’œ
  • -o, --output format β€” the output format. Valid values are simple, alt, flag, basic, detailed, and the default is "simple". Pick your aesthetic πŸ”₯
  • -f, --assert-format β€” enables format assertions with draft >= 2019. Only kicks in for the newer drafts, so if you're on an old draft, this is just sitting there looking pretty πŸ’…
  • -c, --assert-content β€” enables content assertions with draft >= 7. Same energy, different draft threshold πŸ¦‹
  • -k, --insecure β€” use an insecure TLS connection. Yes bestie it's literally called insecure, the name is not a drill, tread carefully 😭
  • --cacert pem-file β€” use the specified pem-file to verify the peer. The file may contain multiple CA certificates, so it's a little overachiever πŸ’–
  • -m, --map url_prefix=/path/to/dir β€” load a url with the given prefix from the given directory. The syntax is url_prefix=/path/to/dir, so like, no improvising on the format okay ⭐

🌈 Friendly reminder: -k / --insecure means your TLS verification is off. That's the whole point of it, but it's also the whole risk of it. Don't be the main character in a security incident, bestie.

And that's the page fr fr πŸ’– this one came from jv 6.0.2-4, dated July 2026, and it lives its life as a JV(1) user command πŸ‘‘ slay, go validate something 🌸

πŸ“¦ where this page comes from