Create JSON-LD structured data wrapped in a <script type="application/ld+json"> tag for schema.org WebSite, Article, or FAQPage types.
Schema types
- WebSite ā name, optional URL and description for site-level rich results.
- Article ā headline, author, publication date, and URL for editorial content.
- FAQPage ā question and answer pairs from
Question|Answerlines (one FAQ per row).
When to use it
Add machine-readable context for search rich results, validate FAQ markup before publish, or teach JSON-LD syntax without hand-escaping JSON in HTML.
Limitations
Output is not validated against Google's live rich-result tester. Only the three listed types are supported ā no Product, Organization, or BreadcrumbList templates. FAQ lines must use the Question|Answer pipe format.
Example
FAQPage with What is JSON-LD?|A script block search engines read produces valid FAQPage mainEntity JSON inside a script tag.