Updates

Command Line Tools

June 24, 2026 · Validate structured data from your terminal.

The playground is great for a quick check, but what about the hundreds of product pages your static site generator spits out? Or catching a broken property before it gets merged? The schemamarkup CLI is now stable, so you can validate and convert structured data right from your terminal, scripts, and CI pipelines.

Getting set up takes about a minute. Grab a pre-built binary from the installation section, or if you're on Homebrew, just run:

brew install curiolane/tap/schemamarkup

Then point validate at a file. You'll get the same helpful messages you'd see in the playground, and with --text-excerpts it shows you exactly which line needs attention. In this example, it caught an availability value that a person would understand but search engines won't:

$ 
schemamarkup validate -i public/wireless-headphones.html --text-excerpts
@@@ wireless-headphones.html on line 10
ERROR service/schema-org#UnexpectedPredicateNode

Unexpected value for "availability" property.

* predicateName: availability
* [availability]: https://schema.org/availability

   8 |     <meta property="schema:priceCurrency" content="USD" />
   9 |     <span property="schema:price">79.99</span>
  10 >     <span property="schema:availability">in stock now</span>
                                                ^^^^^^^^^^^^
  11 |   </div>
  12 | </div>

Want to know if a page will qualify for rich results too? Add the --service option for SEO checks, a lot like running Google's Rich Results Test before you deploy:

schemamarkup validate -i public/wireless-headphones.html --service=google-seo-hints

From there, the sky's the limit. Need to turn RDFa or microdata into JSON-LD? Try export. Wiring it into a build? The --json options give you machine-readable output, and the lower-level process command offers even more control. You can even hand it to your AI assistant with the mcp command. Run schemamarkup --help or check out the CLI docs for every command and plenty of examples.