CITELOG › CHECKS › JSON-LD

Does the page have valid JSON-LD?

Structured data tells engines what a page is, who wrote it and when. Citelog checks that the page has JSON-LD that parses, has a type, and matches what the page shows.

At a glance

Check Valid JSON-LD
ID in --json output json_ld
Why it matters Structured data tells engines what the page is, who wrote it and when.
Weight 2 of 17 points in the 0-100 score (a warning earns 50% of them)

What does Citelog check?

Result When
Pass Valid JSON-LD with a @type that fits the page.
Fail A JSON-LD block isn't valid JSON (engines skip blocks they can't parse).
Fail The JSON-LD has no @type.
Fail FAQPage schema lists a question that isn't on the page.
Fail An article page (300+ words, or an <article> element) has no JSON-LD.
Warn The page has an FAQ section but no FAQPage schema.
Warn An article page has JSON-LD, but no Article item.
Warn A home page or other page has no JSON-LD (add Organization, WebSite or WebPage).

What should I add?

  • Articles and guides: Article (or BlogPosting, TechArticle) with headline, author, datePublished and dateModified.
  • The home page: Organization or WebSite, saying who runs the site.
  • An FAQ: FAQPage listing exactly the questions shown on the page, no more.
  • Products and tools: Product or SoftwareApplication.
article json-ld
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How long does a passport renewal take?",
  "author": { "@type": "Person", "name": "Jane Doe" },
  "datePublished": "2026-11-02",
  "dateModified": "2026-11-26"
}

Put it in <script type="application/ld+json"> in the HTML the server sends.

How do I fix it?

  • Next.js: render the script tag in the page component with JSON.stringify(data), escaping < as <.
  • Astro: <script type="application/ld+json" set:html={JSON.stringify(data)} />.
  • WordPress: Yoast and Rank Math output Article and Organization schema; check FAQ blocks add FAQPage only for questions on the page.

How do I test it?

terminal
npx citelog check https://yoursite.com/your-page

Sources