Technical
Schema Markup for AI Search: Which Types Matter
Structured data does a different job for AI engines than for rich results. The five types that matter, with copy-paste code for each.
· Updated · 8 min read
Schema markup, also called structured data, is code you add to a page that tells search engines and AI assistants exactly what the page contains and who wrote it. It will not win you a citation on its own, but it makes quoting you easier and safer, and when an AI is choosing between three websites saying the same thing, the one it can read without guessing has the advantage. Five types do nearly all the useful work. OPSYRA checks which of these you already have on every page, flags what is missing, and generates the code for you to paste in.
Everything else is optional. Here is what each one does for AI engines specifically.
Why the job changed
In normal SEO, structured data bought you a visual upgrade in the results page: star ratings, recipe cards, expandable FAQ boxes. It was a trade. You describe your content precisely, Google gives you more space.
Google has since withdrawn most of those features for most websites. FAQ boxes largely disappeared in 2023, and plenty of teams stripped their FAQ markup out in response. For search features, that was a reasonable call.
For AI search it was the wrong one, because the job changed rather than disappeared. An AI reading your page has to work out where a question ends and its answer begins, who is making the claim, and what company the page is about. Structured data states all three outright instead of making the model guess. Guessing is where you lose to a website that did not require any.
The five that matter
1. Organisation, so AI knows who you are
The most underrated, especially for a brand that is not well known yet.
AI engines have to connect a name to a real company. If "Acme" could be your business, a competitor, or a cartoon brand, the engine cannot confidently credit anything to you. Organisation markup with a fixed identifier and links to your official profiles gives it something to anchor to.
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://example.com/#organization",
"name": "Acme",
"alternateName": ["Acme Inc", "Acme.com"],
"url": "https://example.com/",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
},
"description": "One sentence saying what the company does.",
"foundingDate": "2024",
"knowsAbout": ["Topic one", "Topic two"],
"sameAs": [
"https://www.linkedin.com/company/acme/",
"https://x.com/acme"
]
}
Three details do most of the work here.
The @id is a fixed reference every other piece of markup on your website can point at, so your author, article and product markup all refer to the same company instead of repeating a name.
sameAs lists your official profiles. A claim about who you are, with nothing else backing it up, is just an assertion. This is the most valuable field for a new brand.
alternateName catches the spellings people actually use, which matters if your name gets confused with another company.
If your brand name gets autocorrected to something else in search, this markup plus consistent profiles elsewhere is the on-site half of the fix. The other half happens off your website and takes longer.
2. Article, so AI knows who wrote it
This establishes who made a claim and when, which is what makes it safe to repeat.
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"@id": "https://example.com/blog/post#article",
"headline": "The exact heading of the page",
"description": "The same text as your meta description.",
"url": "https://example.com/blog/post",
"datePublished": "2026-10-01",
"dateModified": "2026-10-01",
"author": {
"@type": "Person",
"name": "Real Person's Name",
"url": "https://example.com/authors/real-person"
},
"publisher": { "@id": "https://example.com/#organization" },
"inLanguage": "en"
}
The author must be a real person with a link to a page about them. Writing "Editorial Team" satisfies a validator and signals close to nothing, because it names nobody and points nowhere.
Keep the modified date honest. Bumping it on every deploy without changing anything is a freshness claim you did not earn, and it makes the field worthless.
3. FAQ, the most quotable format there is
The highest value type for AI extraction, precisely because it removes all guesswork about where an answer starts and stops.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "The question, phrased the way someone would ask it",
"acceptedAnswer": {
"@type": "Answer",
"text": "A complete answer in 40 to 90 words that makes sense on its own."
}
}
]
}
One rule matters above all others: the markup must match what a visitor can actually see on the page. Describing questions nobody can read is spam, and it is one of the few structured data problems that reliably gets acted on.
The safest way to guarantee this is to generate the markup from the page content rather than maintaining it separately. Our own article template reads the FAQ section on the page, turns each question heading into a question and the text below it into the answer, so the two physically cannot drift apart. Hand-maintained copies drift within a couple of edits.
4. Breadcrumbs, so AI knows where the page sits
Cheap, and it tells an engine where a page sits in your website, which helps it judge how relevant the page is to a topic.
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://example.com/blog" },
{ "@type": "ListItem", "position": 3, "name": "This Post", "item": "https://example.com/blog/post" }
]
}
Show a matching breadcrumb trail on the page too. Markup that mirrors something visible is always stronger than markup that only exists in the code.
5. Product or software, so AI knows what you sell
For buying questions, this states what your product is, what category it belongs to and what it costs, facts an engine would otherwise have to dig out of your sales copy.
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Acme",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Web",
"description": "What it does, in one sentence.",
"featureList": ["Feature one", "Feature two"],
"offers": {
"@type": "Offer",
"priceCurrency": "INR",
"price": "1499",
"availability": "https://schema.org/InStock"
}
}
If you publish a price here, keep it current. A stale price is worse than none, because an engine may repeat it to a prospective customer.
Put it all in one block
Scattering separate blocks of markup across a page means nothing refers to anything else, and you end up repeating your company details everywhere. One combined block with cross-references is cleaner and actually expresses the relationships:
{
"@context": "https://schema.org",
"@graph": [
{ "@type": "Organization", "@id": "https://example.com/#organization", "name": "Acme" },
{ "@type": "WebSite", "@id": "https://example.com/#website",
"publisher": { "@id": "https://example.com/#organization" } },
{ "@type": "BlogPosting", "@id": "https://example.com/blog/post#article",
"publisher": { "@id": "https://example.com/#organization" } }
]
}
Now "who published this article" is stated directly rather than left for an engine to work out by matching names.
Five mistakes that waste the effort
- Markup that does not match the visible page. The one that gets penalised. Generate it from your content where you can.
- Markup added by JavaScript. AI crawlers do not run JavaScript, so structured data added after the page loads does not exist for them. It has to be in the HTML that gets served.
- Anonymous authors. "Admin" satisfies a validator and signals nothing.
- Fake modified dates. Freshness you did not earn.
- Unescaped angle brackets in text. A stray closing script tag inside any field ends the block early and silently breaks everything after it.
How to check yours
- Google Rich Results Test shows what Google can read.
- Schema Markup Validator is broader and not limited to Google's supported types.
- View the page source, not developer tools. Developer tools show the page after JavaScript has run. This shows what a crawler receives:
curl -s https://yoursite.com/page | grep -c 'application/ld+json'
Zero means no crawler sees your structured data, whatever your browser shows.
If you would rather not audit this page by page, OPSYRA checks which types are present across your whole website, flags what is missing, and generates the code for the pages that need it.
Frequently asked questions
Does schema markup help with AI Overviews?
It helps indirectly rather than acting as a ranking factor. Structured data gives AI engines clear boundaries for questions, answers, authorship and company identity, which makes a page cheaper and safer to quote. It does not cause a citation, but among similar sources the one that can be read without guesswork has an advantage.
Which schema type is most important for AI search?
Organisation markup is the most important for a brand that is not yet well known, because it anchors your name to a real company through a fixed identifier and links to your official profiles. For individual content pages, FAQ markup does the most work, since it hands the engine ready made question and answer pairs that need no interpretation.
Can I add schema with JavaScript?
Not for AI search. The crawlers used by ChatGPT, Perplexity and Claude do not run JavaScript, so structured data added after the page loads is invisible to them. Googlebot does run JavaScript and may pick it up on a second pass, but the markup should be in the HTML that gets served if you want it to work reliably.
Does FAQ schema still work now that rich results were removed?
The visual feature has largely gone for most websites, but the markup still does a job for AI engines by clearly separating each question from its answer. Removing FAQ markup because the search feature disappeared optimises for something that no longer exists while giving up an advantage that does.
How much schema is too much?
Mark up what is genuinely on the page and stop there. The five types covering your company, articles, FAQs, breadcrumbs and product cover nearly every useful case. Adding types that do not describe real page content adds no benefit and risks a mismatch between your markup and what visitors can see, which is treated as spam.