Website Spec
← Agent Readiness
Recommended

Structured data for agents

JSON-LD with schema.org types gives agents typed facts about your page. It is the same markup search engines use, and agents lean on it just as heavily.

What it is

Structured data is a machine-readable description of what a page is about, embedded in the page itself. The dominant vocabulary is schema.org, and the recommended syntax is JSON-LD: a <script type="application/ld+json"> block inside <head>.

The same markup that drives rich results in Google also helps agents understand who wrote a page, what it describes, and how it relates to other entities. Agents do not parse open prose well; they parse JSON-LD reliably.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Setting up CSP",
  "datePublished": "2026-05-12",
  "author": {
    "@type": "Person",
    "name": "Joost de Valk",
    "url": "https://example.com/about/joost"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Example Corp",
    "url": "https://example.com"
  }
}
</script>

Why it matters

It is also one of the easiest items in this spec to verify: the markup is right there in the HTML.

How to implement

Pick the types that match your pages. Common ones:

Rules to follow:

Common mistakes

Verification

Sources