JSON-LD for AI Search: Core Schemas Engines Consume

JSON-LD for AI Search: Core Schemas and How to Ship Them

Google generally recommends JSON-LD if a site's setup allows it, though for Google all three formats are equally fine when valid and properly implemented per the feature's documentation. The core five schemas, five pitfalls, and @id with sameAs for entity work.

JSON-LD is the structured-data format Google generally recommends if a site's setup allows it — it lives outside the visible DOM and is the easiest to implement and maintain at scale — although Google says all three supported formats are equally fine when the markup is valid and properly implemented per the feature's documentation, and that its AI features need no special schema.org structured data (as of Oct 2026). Other answer engines' documentation was not reviewed for this piece; for them, a working hypothesis, not a documented rule, is that a self-contained JSON-LD block is the easiest format to extract. A site that ships a foundational set (WebSite, Organization, Article, Person and BreadcrumbList), adds Product or SoftwareApplication where it sells something and FAQPage only where Q&A is visible, and uses @id plus sameAs for entity disambiguation gives engines that read structured data an explicit description of the page and the brand. On the same hypothesis, where an engine does read schema, missing markup leaves more to inference.

Why JSON-LD is the recommended format

Three formats can express schema.org markup: Microdata (inline attributes on HTML tags), RDFa (a more expressive inline format), and JSON-LD (a separate JSON block embedded in a script element in the HTML head or body). Google Search supports all three unless a feature's documentation says otherwise (as of Oct 2026). Google recommends one of them as the easiest to implement and maintain, while treating all three as equally fine when the markup is valid and properly implemented per the feature's documentation.

Google's structured data introduction puts it this way: "In general, Google recommends using JSON-LD for structured data if your site's setup allows it, as it's the easiest solution for website owners to implement and maintain at scale." The same section adds that all three formats are equally fine for Google as long as the markup is valid and properly implemented per the feature's documentation. The rationale Google gives is operational. JSON-LD lives in a <script type="application/ld+json"> block that does not interleave with the rendered content. Microdata and RDFa wrap visible HTML and require engines to walk the DOM, resolve attribute scopes, and reconcile partial markup with surrounding text. JSON-LD in the served HTML parses as a single JSON document without walking the surrounding markup; JSON-LD injected by JavaScript, which Google says it can read, appears only after rendering.

For Google Search, the reason Google gives is ease of implementation and maintenance for site owners, and Google treats all three formats as equally fine when the markup is valid and properly implemented per the feature's documentation (as of Oct 2026). Other answer engines' documentation was not reviewed for this piece; for them, a working hypothesis, not a documented rule, is that format matters at index scale. A retrieval pipeline that fetches a page can extract a JSON-LD block that is present in the served HTML in one parse step, without rendering the page or running JavaScript. Microdata pages require either a full HTML render or careful attribute-by-attribute parsing. The friction cost is small per page and larger at index scale, which is why such a pipeline may prefer JSON-LD when both are present.

The practical guidance is simple. New schema work should ship as JSON-LD. Existing Microdata or RDFa can remain — Google Search still supports both unless a feature's documentation says otherwise — but no team should write new Microdata. If you inherit a site with Microdata, the migration path is gradual: ship JSON-LD versions of the same entities and remove the Microdata once you have validated parity in Google's Rich Results Test.

Which schemas to ship for answer engines

Google publishes the list of structured data features it supports in Search and says its AI features need no special schema.org structured data (as of Oct 2026); other answer engines' documentation was not reviewed for this piece. Which types those engines read is a working hypothesis, not a documented rule. The five types below describe the main entities of content and commercial pages.

Article and its subtypes — NewsArticle, BlogPosting, TechArticle — are the universal baseline for any content page. They expose the page's datePublished, dateModified, author, and mainEntityOfPage to engines that read structured data; a working hypothesis, not a documented rule, is that some engines use those fields to resolve freshness, attribution, and canonical URL. For Google, a page needs no special structured data to appear in its AI features, and Google's Article documentation lists no required properties (as of Oct 2026). The companion article on Schema.org Article covers Article property-by-property.

Person grounds the author entity. A working hypothesis, not a documented rule, is that answer engines that build internal author graphs use Person schema with sameAs chains to disambiguate writers who share names. On that hypothesis, a page with a Person block that names the author and links to LinkedIn, ORCID, and X gives an engine more to go on than a page with a bare text byline.

Organization grounds the publisher entity. Google says organization structured data on a homepage can help Google better understand an organization's administrative details and disambiguate it in search results. Beyond that, a working hypothesis, not a documented rule, is that a site that ships Organization in its layout head with a full sameAs chain to LinkedIn, Crunchbase, Wikipedia, and social profiles gives engines a single canonical brand reference to align against the page-by-page Article schema, and that the Organization block is where brand mention resolution starts.

Product, or a type that fits the offering better — SoftwareApplication for SaaS, Service for service businesses, LocalBusiness for physical sites — describes what the brand sells. A working hypothesis, not a documented rule, is that answer engines surfacing commercial answers use Product schema as one source of price, availability, and rating; for its AI features, Google also lists checking that Merchant Center and Business Profile information is up to date among its best practices. Google says a page needs no special structured data to appear in its AI features (as of Oct 2026), so missing SoftwareApplication schema does not by itself make a SaaS product page ineligible for them; for other engines, the same hypothesis is that SoftwareApplication markup helps product pages surface in comparison answers.

FAQPage is the conditional one. Google limited FAQ rich results to well-known, authoritative government and health websites in August 2023, and it stopped showing the FAQ rich result in Google Search for all sites starting May 7, 2026. A working hypothesis, not a documented rule, is that some answer engines still use FAQPage markup for their own Q&A extraction. The rule is simple — ship FAQPage only when the page genuinely has visible Q&A blocks. Schema that contradicts visible content is the worst kind of schema. The companion article on FAQ schema for AEO covers the post-2023 implementation pattern.

The "core five" foundational set

Every content site should ship five schemas as the baseline. Implementing them well is more valuable than implementing fifteen schemas poorly.

SchemaWhere it livesProperties to include
WebSiteLayout head, site-widename, url
OrganizationLayout head, site-widename, url, logo, sameAs (full chain)
Article (or subtype)Per content pageheadline, image, datePublished, dateModified, author, publisher, mainEntityOfPage
PersonAuthor byline, per articlename, url, sameAs (for example LinkedIn, ORCID, X)
BreadcrumbListNavigational pagesitemListElement (position, name, item URL)

The first two ship once in the site layout. The Article and Person blocks ship per article. BreadcrumbList ships per page where the navigational hierarchy is meaningful. The property column is this article's implementation baseline, not a list of requirements: Google's Article and Organization documentation lists no required properties (as of Oct 2026). The WebSite row no longer includes the potentialAction search markup, because the sitelinks search box it targeted is gone — Google's documentation updates recorded in November 2024 that the feature is no longer available in Google Search results.

A working Article + Person pair looks like this:

json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "@id": "https://example.com/insights/ai-search-visibility-2026#article",
  "mainEntityOfPage": "https://example.com/insights/ai-search-visibility-2026",
  "headline": "AI Search Visibility Strategy 2026",
  "datePublished": "2026-05-14T00:00:00Z",
  "dateModified": "2026-05-14T00:00:00Z",
  "author": {
    "@type": "Person",
    "@id": "https://example.com/team/jamie-han#person",
    "name": "Jamie Han",
    "url": "https://example.com/team/jamie-han",
    "sameAs": [
      "https://www.linkedin.com/in/jamie-han-example/",
      "https://orcid.org/0000-0002-1825-0097",
      "https://x.com/jamie_han_writes"
    ]
  },
  "publisher": {
    "@type": "Organization",
    "@id": "https://example.com/#organization"
  },
  "image": "https://example.com/insights/ai-search-visibility-2026/thumbnail.png"
}

Notice three details. First, every entity gets an @id — the Article, the Person, and the Organization. Second, the Organization is referenced by @id rather than redefined inline; the actual Organization block lives in the site layout. Third, mainEntityOfPage is the canonical URL of the page itself, separate from the entity @id. Separately, the ORCID URL in the example is one of ORCID's published sample iDs, and it resolves to a real public ORCID record under a different name — use the author's own iD in production.

Sites with SaaS products add a SoftwareApplication block on the product page. E-commerce sites add Product. Service businesses add Service or LocalBusiness. The principle is the same — one canonical block per entity, referenced by @id from anywhere else that needs it.

Validating and testing

Two validators cover the schema-implementation workflow. Each catches a different class of error.

Schema Markup Validator is the syntactic check. When schema.org announced the tool (then in beta) in May 2021, it described it as dedicated to checking that JSON-LD, RDFa and Microdata are used in widely understood ways and to warning when schema.org types and properties are used in unusual combinations, and said it does not try to check content against the information needs of specific services, tools or products, but will help you understand whether your data expresses what you hope it expresses. Run it during template development and on every template change.

Google Rich Results Test is the eligibility check. It shows which of Google's rich result types it found on a specific URL — such as article, product and breadcrumb results — along with any errors or warnings for that structured data. Run it after deployment on representative URLs.

Bing Webmaster Tools is worth checking as well; confirm in its help pages what structured-data checks it offers. A working hypothesis, not a documented rule, is that Bing's view of your schema also matters for AI search visibility: OpenAI's Help Center says ChatGPT search sometimes partners with other search providers and points to Microsoft's and Shopify's privacy policies for how they may process queries, but it does not name Bing's index or say how providers are weighted (as of Oct 2026). Where validators disagree, treat the divergence as a signal to investigate, not as proof that one validator is wrong.

For custom retrieval pipelines or answer engines that do not expose a public validator, manual parse testing is the fallback. Fetch a page server-side, extract the JSON-LD block with a JSON-LD library, and walk the entity graph. An extraction failure in your test is a strong sign the markup is broken.

Re-validate after every content type schema change. A change that passes locally but breaks an existing rich result eligibility is a regression in classic search, and the Rich Results Test can catch it on representative URLs.

Five JSON-LD pitfalls

Five JSON-LD pitfalls are worth checking for.

Orphan schemas are the first. An Article references an author Person by @id, but no Person block exists anywhere on the page or the site. The Article appears to claim attribution, but the entity behind the attribution is unreachable. A working hypothesis, not a documented rule, is that engines either ignore the author claim or treat the whole Article schema with reduced confidence. The fix is to ensure every @id reference resolves to an actual block, either on the same page or in the site layout.

Inconsistent IDs are the second. The same author has @id https://example.com/team/han on one article and https://example.com/authors/jamie-han#person on another. In JSON-LD, two different @id values identify two different nodes; a working hypothesis, not a documented rule, is that an engine building an internal author graph treats them as two different people. The fix is a canonical @id per entity, documented internally, and never varied across pages.

Schema contradicting visible content is the third. The Article schema declares datePublished: 2026-05-14 while the visible byline says "Published March 2025." A Person block names "Jamie Han" while the page byline says "By Jay Han." Google's guidelines say marked-up content must match the page — if the JSON-LD markup describes a performer, the HTML body must describe that same performer — and a structured data issue can result in a manual action, which removes the page's eligibility for rich results without affecting how it ranks in Google web search. How other engines treat the mismatch is a working hypothesis, not a documented rule. The fix is to source schema values from the same canonical store as the visible content — usually the CMS — rather than handwriting JSON-LD that drifts from the content.

Stale schema after content updates is the fourth. A content team rewrites an article, updates the visible date, and forgets to update the dateModified in the schema. The schema stays at the old value while the visible content moves on. The fix is to automate dateModified population at the CMS layer so it cannot drift.

Hidden DOM tricks are the fifth. A page ships FAQPage schema for Q&A that are not visible on the page — a pattern that once targeted the FAQ rich result, which Google stopped showing for all sites starting May 7, 2026. Google's guidelines say not to mark up content that is not visible to readers of the page, and a structured data issue can result in a manual action — so either make the Q&A visible or remove the schema. The same rule applies to product reviews, ratings, and any other markup that claims a fact the user cannot verify on the page.

Using @id and sameAs for entity disambiguation

The two properties that turn schema from a per-page exercise into a knowledge graph are @id and sameAs.

@id is a stable URI that uniquely identifies an entity, used consistently across every page that references the entity. Conventionally it is the canonical URL of the entity's profile page with a fragment identifier — https://example.com/team/jamie-han#person, https://example.com/#organization, https://example.com/insights/ai-search-visibility-2026#article. The fragment is convention, not requirement; what matters is consistency. A site that uses @id consistently makes its entity references resolvable; a site that does not is publishing schema in a vacuum.

sameAs links the entity to its identity on other platforms. For a Person, sameAs can point to LinkedIn, ORCID for academic and research writers, X for public commentary, GitHub for technical writers, and Wikipedia where the author has a Wikipedia article. For an Organization, sameAs points to LinkedIn company page, Crunchbase, Wikipedia, Wikidata, and the major social profiles. The chain is the entity's identity outside your domain.

Google says it can make general use of the sameAs property; how answer engines use sameAs chains to disambiguate entities is a working hypothesis, not a documented rule. On that hypothesis, two organizations named "Acme" with no sameAs chain are hard for a retriever to tell apart, and the engine has to guess which one the user meant. Two organizations named "Acme" where each has a complete sameAs chain to its respective LinkedIn and Wikidata entries are clearly different entities, and the engine has less to guess.

Schema.org names a Wikidata entry among its examples for sameAs. A working hypothesis, not a documented rule, is that a Wikidata link is among the most useful single sameAs anchors for an Organization.

The same working hypothesis, not a documented rule, extends to the whole graph: without sameAs, schema describes a local entity that engines have little to ground outside your domain, and with sameAs, the entity can be matched to the identity sources engines use to resolve identity questions.

Foundational JSON-LD set for every page

The implementation pattern that works at scale is to build schema as templates once and reuse them everywhere, not to handwrite JSON-LD per page.

The layout head ships WebSite and Organization site-wide. These two blocks appear on every page; the Article and Person blocks reference the Organization by @id rather than redefining it. The layout-level pattern looks like this:

The per-article template ships Article plus Person, both referencing the site-wide Organization by @id. Per-product templates ship Product or SoftwareApplication. Per-page-with-Q&A templates ship FAQPage conditionally. Each template lives in version control next to the page template, not in a CMS field where it can drift.

Two implementation rules close the pattern. First, inline JSON-LD using <script type="application/ld+json"> — not external JSON files referenced by URL. Google documents JSON-LD embedded in a <script> tag or injected into the page (as of Oct 2026); a working hypothesis, not a documented rule, is that an external file adds a fetch step that some retrievers skip. Second, build the JSON-LD with CMS-sourced values rather than handwritten strings. A dateModified populated by the CMS at render time cannot drift from the visible content. A handwritten one will.

A site that ships the core five from templates with @id discipline and sameAs chains has the structural layer covered. The remaining work — Article property granularity, Person markup depth, knowledge graph anchoring — is the operational detail covered by the related articles on this topic.

Diagnostic checklist for the next planning cycle

  • Audit your site for Microdata or RDFa schemas and plan JSON-LD parity replacements
  • Validate one representative URL with both Schema Markup Validator and Google Rich Results Test
  • Confirm your Organization block has a sameAs chain that includes Wikidata
  • Walk through the five pitfalls against your current schema — orphan refs, inconsistent IDs, contradicting content, stale dates, hidden DOM
  • Pick one page where Article + Person schema is missing and include the core five pattern as a foundational deliverable
Project Inquiry