Schema.org, without the guesswork
./seo schema <url> detects, validates and helps you generate structured data — JSON-LD is the recommended format, and the tool tells you exactly what's missing or wrong.
Detection
- Scan page source for JSON-LD
application/ld+json
- Check Microdata (
itemscope, itemprop)
- Check RDFa (
typeof, property)
- Prefer JSON-LD as the primary format (Google's stated preference)
Run it
./seo schema https://example.com
./seo schema https://example.com --generate # generate valid JSON-LD
It validates against the schema and LocalBusiness types, and flags deprecated types so you don't ship outdated markup.
FAQ
- Is JSON-LD or Microdata better?
- JSON-LD. It's Google's stated preference and scales cleanly.
- Should I still add FAQ schema?
- FAQ rich results were withdrawn for all sites. Use QAPage for genuine Q&A, and keep FAQ structure as semantic content, not a SERP trick.
- HowTo schema?
- Never. It's deprecated since September 2023. seo-audit will flag it.