name: schema-graph
description: Use when auditing or building JSON-LD structured data for a site, especially Next.js.

Rules (in order, all mandatory):
1. Single source: all JSON-LD comes from one module. No hardcoded schema blocks inside pages.
2. One entity: Organization / WebSite / Person / Logo emit once in the root layout with stable @id values ({SITE_URL}/#organization etc.). Pages reference them by @id and never re-declare the full node.
3. Derived, not typed: every schema is computed from the page's own data. Article from title/date/section, FAQPage only where a real FAQ block exists, HowTo only where real numbered steps exist, Product only where real price data exists. A schema field with no evidence in the content is a bug — delete it.
4. Validation checklist: unique stable @ids; no page re-declares Organization or Person; every Article has a real headline, valid date, computed wordCount; VideoObject has resolvable contentUrl and thumbnail.
