How to Use Structured Data for AI Search

Which JSON-LD types to ship for each page type, with valid code for Organization, Article, BreadcrumbList, Product, LocalBusiness and FAQPage, how to validate them and what Google, Bing, OpenAI and Perplexity document about schema.

Most advice on structured data for AI search says the right schema gets a page cited in ChatGPT, Perplexity or Google's AI Overviews. None of those products documents that, so a lot of sites end up adding FAQ, HowTo and Dataset markup to every page and waiting for a lift nobody promised.

Our advice is to treat schema as an accurate label for each page. That means shipping the few JSON-LD types that match the page, validating them and keeping them true to what readers see. Google says AI Overviews and AI Mode need no special schema, and Bing says markup may support clearer grounding without any guarantee.

This is the short version, by page type:

  • Homepage or About page: Organization, or its most specific subtype
  • Posts and guides: Article or BlogPosting, plus BreadcrumbList
  • Product pages: Product with an Offer
  • Location pages: the closest LocalBusiness subtype
  • Pages with a visible FAQ: FAQPage is optional, because Google stopped showing FAQ rich results on May 7, 2026

Google has written the most about this, and the answer is short. Its AI features guidance and its guide to optimizing for generative AI search say this about markup and eligibility:

  • AI Overviews and AI Mode have no extra requirements. A page has to be indexed and eligible to show in Search with a snippet.
  • No special schema.org markup, AI text files or other machine-readable files are needed to appear in these features.
  • Google lists "overfocusing on structured data" among the things site owners can ignore for generative AI search.
  • Structured data should match the visible text on the page. That is the one schema best practice in Google's AI features guidance.
  • Google Search ignores llms.txt files, so they neither help nor hurt a site there.
  • A site also has to be included in Search generative AI features through a control in Search Console.
  • Local businesses and stores get a separate pointer: Google Business Profile and Merchant Center feeds can help them show up in AI responses.

Google still recommends structured data as part of normal SEO, because it makes pages eligible for rich results. Its AI features find pages through the same core ranking and quality systems as Search. So schema work for AI search in Google is the same job as schema work for Search, done properly.

Gaurav Tiwari's guide to schema markup and AI Overviews goes deeper on how AI Overviews choose supporting links and which controls change eligibility.

What ChatGPT, Perplexity and Copilot Document

Outside Google, only Microsoft says anything public about structured data. OpenAI and Perplexity document their crawlers and how to let them in, and nothing about markup.

AssistantWhat it says about structured dataWhat it asks site owners to do
Google AI Overviews and AI ModeNo special schema needed; markup should match the visible textStay indexed and snippet-eligible; limit use with nosnippet, data-nosnippet, max-snippet or noindex
Bing and CopilotStructured data "may support clearer grounding" with no guarantee; misleading markup may be ignoredKeep URLs discoverable, tell Bing when URLs change and avoid NOCACHE and NOARCHIVE on pages meant for Copilot
ChatGPT searchNothing publishedAllow OAI-SearchBot and OpenAI's published IP ranges; OpenAI says placement isn't guaranteed
PerplexityNothing publishedAllow PerplexityBot; Perplexity-User fetches pages for user questions and generally ignores robots.txt

Bing's line is the closest thing to a yes from any of these providers, and it is careful. Markup may help Copilot ground its answers, as long as it describes what readers see.

What Is Still Unknown

For ChatGPT search and Perplexity, the basic questions have no public answer:

  • whether their crawlers read JSON-LD at all when they fetch a page
  • whether any assistant weighs one schema type above another
  • whether their crawlers run JavaScript, which matters when a script injects the schema
  • whether FAQPage, HowTo or Dataset markup changes how often a page gets cited

Percentages quoted online for schema lifting AI citations don't trace back to any of these companies. Until one of them publishes something, it is wise to treat those numbers as marketing.

We'd put JSON-LD in the server-rendered HTML. Google can read schema added with JavaScript, but OpenAI and Perplexity don't say whether their crawlers can. Server output removes that question at no cost.

Which Schema Types to Ship

The types follow what the page is, and most pages need 2 or 3 at most. Each one below still has a documented use in Google Search, except FAQPage.

PageJSON-LD typesWhat Google does with it
Homepage or About pageOrganization or a subtype such as OnlineStoreLogo and details in results and knowledge panels; tells your organization apart from similar names
Post or guideArticle, BlogPosting or NewsArticleBetter title, image and date information in results
Any page with breadcrumb linksBreadcrumbListBreadcrumb trail in desktop results
Product pageProduct with offers, review or aggregateRatingProduct snippets with price and rating details
Location pageThe closest LocalBusiness subtypeBusiness details such as address, hours and phone
Page with a visible FAQFAQPageNothing in Search since May 7, 2026

HowTo and Dataset dropped out of this list. HowTo isn't among Google's current Search features, and Google says Dataset markup is used only by Dataset Search.

Other supported types, such as Event, Video and Recipe, belong on pages that really are events, videos or recipes. Our overview of types of schema markup covers them, and the event schema guide goes deeper on one.

The examples below use example.com addresses and made-up details. They pass the Schema Markup Validator as written, and every value needs replacing with your own before use.

Organization

Organization markup tells Google which name, logo and profiles belong to your company. Google lists no required properties and recommends the homepage or a single About page, so the markup doesn't need to be on every page.

Google also recommends the most specific subtype that fits, such as OnlineStore for an ecommerce site. The name should match the site name you use in Search, and sameAs should list only profiles your organization runs.

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.example.com/#organization",
  "name": "Example Studio",
  "url": "https://www.example.com/",
  "logo": "https://www.example.com/images/logo.png",
  "description": "Example Studio builds and maintains WordPress sites for small businesses.",
  "email": "hello@example.com",
  "sameAs": [
    "https://www.linkedin.com/company/example-studio",
    "https://github.com/example-studio"
  ]
}

Article

Article markup goes on posts and guides, using Article, BlogPosting or NewsArticle. Google lists no required properties here either, and these recommended ones carry the useful information:

  • headline: the title, kept concise because long titles can be cut off
  • image: images relevant to the article, not a logo
  • datePublished and dateModified: ISO 8601 with a timezone, or Google assumes Googlebot's timezone
  • author: a Person or Organization with name and url, one entry per author
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How to Choose a WordPress Host for a Small Shop",
  "image": [
    "https://www.example.com/images/wp-host-1x1.jpg",
    "https://www.example.com/images/wp-host-16x9.jpg"
  ],
  "datePublished": "2026-03-10T09:00:00-05:00",
  "dateModified": "2026-10-02T14:30:00-05:00",
  "author": [
    {
      "@type": "Person",
      "name": "Jane Doe",
      "url": "https://www.example.com/team/jane-doe/"
    }
  ],
  "publisher": {
    "@type": "Organization",
    "@id": "https://www.example.com/#organization",
    "name": "Example Studio",
    "url": "https://www.example.com/"
  }
}

The dateModified value should change when the content changes and match any updated date shown on the page. A date that moves on every save, with no real edit behind it, describes the page wrongly.

BreadcrumbList describes where a page sits in the site. Google requires at least 2 ListItem entries, each with a position, a name and an item URL, and the last item can skip item.

Google shows breadcrumbs only in desktop results. It recommends a trail that follows how a visitor reaches the page, which isn't always the URL structure.

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Guides",
      "item": "https://www.example.com/guides/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Hosting",
      "item": "https://www.example.com/guides/hosting/"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "How to Choose a WordPress Host for a Small Shop"
    }
  ]
}

Product

Product markup belongs on a page about one product. For product snippets, Google requires a name plus at least one of review, aggregateRating or offers, and an Offer needs a price.

Google recommends priceCurrency and availability on the offer as well. A store that sells directly should also look at merchant listing markup, which our product schema guide covers field by field.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Example Ceramic Pour-Over Set",
  "image": "https://www.example.com/images/pour-over-set.jpg",
  "description": "A 2-cup ceramic dripper with a matching carafe.",
  "sku": "PO-SET-02",
  "brand": {
    "@type": "Brand",
    "name": "Example Goods"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/shop/pour-over-set/",
    "price": "48.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

Product is the one type Google warns about generating with JavaScript. Dynamically generated Product markup can make Shopping crawls less frequent and less reliable, which hurts when prices and stock change often.

LocalBusiness

LocalBusiness markup goes on the page for one physical location. Google requires a name and an address, and recommends these on top:

  • telephone with the country and area code
  • url for that location's own page
  • geo with latitude and longitude to at least 5 decimal places
  • openingHoursSpecification for regular hours
  • priceRange, such as $$ or a numeric range
{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Example Bakery Downtown",
  "url": "https://www.example.com/locations/downtown/",
  "image": "https://www.example.com/images/downtown-storefront.jpg",
  "telephone": "+1-555-010-0199",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Main Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 39.80172,
    "longitude": -89.64371
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "07:00:00",
      "closes": "18:00:00"
    }
  ]
}

It is wise to keep the address and hours identical to the Google Business Profile for the same location. Our local business schema guide covers multi-location chains and medical, professional and service examples.

FAQPage

Google stopped showing FAQ rich results on May 7, 2026. Its changelog records the FAQ documentation coming down in June, and Google said Search Console API support would end in August 2026.

FAQPage is still a valid schema.org type. Our advice is to leave an accurate FAQPage block in place on a page with a visible FAQ, since no search engine has said it hurts. Adding new FAQ markup for AI citations has no documented payoff.

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you deliver on weekends?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. We deliver on Saturdays between 9 a.m. and 2 p.m. within the city limits."
      }
    }
  ]
}

The question and answer text must appear on the page exactly as readers see it. Our FAQ schema guide covers the older FAQ rules and the mistakes that break the markup.

Where the JSON-LD Goes

JSON-LD sits in a <script type="application/ld+json"> tag, and Google reads it in either the head or the body. A few placement rules save most of the cleanup later:

  • Google treats JSON-LD, Microdata and RDFa as equally valid. It recommends JSON-LD because it stays separate from the visible HTML and is easier to maintain.
  • One page can carry several types, either in separate script tags or in one @graph array.
  • An @id lets one item point to another, such as an article pointing to the organization that published it.
  • A theme and a plugin can both print an Article for the same post. We'd keep one source per type and switch the other off.

This is what a post's markup looks like with @graph, with the article pointing at its publisher by @id:

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://www.example.com/#organization",
      "name": "Example Studio",
      "url": "https://www.example.com/",
      "logo": "https://www.example.com/images/logo.png"
    },
    {
      "@type": "BlogPosting",
      "@id": "https://www.example.com/guides/hosting/choose-a-host/#article",
      "headline": "How to Choose a WordPress Host for a Small Shop",
      "datePublished": "2026-03-10T09:00:00-05:00",
      "dateModified": "2026-10-02T14:30:00-05:00",
      "author": {
        "@type": "Person",
        "name": "Jane Doe",
        "url": "https://www.example.com/team/jane-doe/"
      },
      "publisher": {
        "@id": "https://www.example.com/#organization"
      }
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Guides",
          "item": "https://www.example.com/guides/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Hosting",
          "item": "https://www.example.com/guides/hosting/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "How to Choose a WordPress Host for a Small Shop"
        }
      ]
    }
  ]
}

On WordPress, an SEO plugin usually prints this graph for you, and the work is checking what it outputs. Our WordPress schema markup guide compares the plugin options and shows the functions.php route for custom types.

How to Validate Structured Data

Two free tools check different things, and it is wise to run both on every new template:

  • Rich Results Test: checks whether markup qualifies for Google's rich result types and previews some of them. It reads JSON-LD, Microdata and RDFa from a URL or pasted code, and it reports only the types Google supports.
  • Schema Markup Validator: checks syntax and compliance with the schema.org vocabulary for any type, including types Google doesn't use. It says nothing about whether Google will show a rich result.

This is the order we'd follow for a new template:

  1. Paste the code into the Rich Results Test before it ships and fix every critical error.
  2. Run the same code through the Schema Markup Validator to catch wrong property names and types outside Google's list.
  3. After the template goes live, inspect one URL with the URL Inspection tool in Search Console to see what Google rendered.
  4. Watch the rich result status reports in Search Console, because templates and caching can break markup after launch.

A trailing comma or a curly quote pasted from a word processor is enough to make a whole block unreadable. It pays to edit JSON-LD in a plain-text or code editor.

Common Structured Data Mistakes

Markup can parse cleanly and still describe the page wrongly. These are the mistakes Google's structured data policies and its type guides warn about most directly:

  • Markup for content readers can't see. Google forbids it, and Bing says misleading markup may be ignored. A Google manual action removes rich result eligibility, though Google says web ranking isn't affected.
  • The same Article printed twice. A theme and a plugin both output it, sometimes with different dates or authors.
  • Extra details in author.name. Google wants the name only, with the job title and publisher in their own properties.
  • Several authors in one name field. Each author needs a separate entry.
  • Dates without a timezone. Google then falls back to Googlebot's timezone, which can shift the date by a day.
  • Ratings on your own business. Google recommends review and aggregateRating on LocalBusiness only for sites that collect reviews about other businesses.
  • sameAs links to the wrong profiles. A profile that belongs to another company, or no longer loads, undoes the reason for adding the property.

How to Measure the Effect

Google documents a plain before-and-after test in its structured data introduction. It suits stable pages with several months of Search Console history:

  1. Pick pages without structured data that get steady traffic and aren't seasonal.
  2. Add the markup and confirm with the URL Inspection tool that Google found it.
  3. Compare each page in the Performance report over the next few months.

For Google's AI features, the Generative AI performance report in Search Console shows how pages perform in generative AI features on Search and Discover. Bing's guidelines suggest watching impressions, indexing status and citation eligibility, since Copilot can show a page without sending a click.

For ChatGPT and Perplexity, the signal a site owner can see is referral visits in analytics. Neither company documents using schema, so a change in those visits can't be credited to markup with any confidence.

FAQs on Structured Data for AI Search

Do I need an llms.txt file for AI search?

Google Search doesn't use llms.txt files, and Google says they neither help nor hurt a site's visibility there. OpenAI, Perplexity and Microsoft don't mention the file in their crawler or webmaster documentation.

Is HowTo schema still worth adding?

HowTo markup has no Google Search feature behind it now, and OpenAI, Perplexity and Microsoft don't document using it. Clear numbered steps on the page are what readers use, with or without the markup.

Can I add JSON-LD with JavaScript or Google Tag Manager?

Google documents both methods and can read the result when the scripts aren't blocked. Product markup is the exception it warns about, and OpenAI and Perplexity don't say whether their crawlers run JavaScript, so server-rendered JSON-LD is the safer default.

Does a structured data manual action hurt rankings?

Google says a structured data manual action makes the page lose rich result eligibility and its markup gets ignored. The page can still appear in Google Search, and Google says web ranking isn't affected.

Which links belong in sameAs?

Google describes sameAs as a page on another website with more information about your organization, such as a social or review profile. We'd list only profiles you control and check that each one still loads.

Final Remarks

If you're unsure where to begin, we'd start with 2 templates: the Organization block on the homepage and the article template. Together they cover most pages on a content site, and both take minutes to validate.

After that, our advice is to add Product or LocalBusiness markup only where those pages exist and to leave new FAQ and HowTo markup out. For the wider work of getting cited, our guide to AI search optimization picks up where markup stops.

If you'd rather have our team set it up, our schema and structured data service implements and validates the markup across your templates.