1. Home
  2. Learn
  3. Structured data for AI
Guide

Structured data for AI: Schema.org JSON-LD explained

Structured data removes guesswork. It tells machines exactly what a page is about, in a vocabulary they share.

By the PugRank teamPublished Updated
In shortSchema.org markup in JSON-LD describes entities such as organisations, products, articles and FAQs. Valid, accurate markup helps search engines and AI agents understand pages without inferring everything from prose.

What structured data is

Structured data is machine-readable markup that describes the content of a page using the Schema.org vocabulary. JSON-LD, placed in a script tag, is the most common format and the easiest to maintain.

Types worth adding first

  • Organization and WebSite on every site
  • Product and Offer on product pages
  • Article on blog posts
  • BreadcrumbList for site hierarchy
  • FAQPage where a page truly contains Q&A, understanding that search engines may limit which rich results they show

A Product example

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Stoneware mug, 350ml",
  "brand": { "@type": "Brand", "name": "Acme" },
  "offers": {
    "@type": "Offer",
    "price": "18.00",
    "priceCurrency": "EUR",
    "availability": "https://schema.org/InStock"
  }
}

Validate, then keep it honest

Validity is deterministic: required properties either exist or they do not. Fit is a judgement: the type you choose should match what the page really is. Markup must reflect visible content, since inaccurate markup erodes trust.

Automating it

PugRank validates structured data with code and gives you the steps to add the types that fit each page. Generating and applying it for you: Coming soon. See AI visibility.

Frequently asked questions

Is JSON-LD better than microdata?

JSON-LD is generally easier to maintain because it sits apart from your HTML.

Does structured data guarantee rich results?

No. It makes you eligible and understandable, but search engines decide what to display.

Do AI agents use structured data?

It gives machines a clean, unambiguous description of your content, which helps any system that reads pages programmatically.

Stop reading audits. Start shipping fixes.

Run a free scan on your own site and see what PugRank would change. No write access needed.