# Schema markup for AI search: which JSON-LD actually matters

> Three schema types done well beat forty: what Organization, Product/Offer and FAQPage JSON-LD do for AI engines, with Next.js examples and what to skip.

EchoRanked Team · Published 2026-06-11 · Updated 2026-09-30

**Short answer:** Three JSON-LD types matter most for AI search: `Organization` (who you are), `Product` with `Offer` (price, currency and availability as data) and `FAQPage` (question-and-answer pairs). Schema won't make a model cite you, and Google says AI features need no special markup. What it does is remove ambiguity about your facts, which is what gets brands misquoted.

**Key takeaways**

- `Organization`, `Product` with `Offer`, and `FAQPage` cover almost all the value; most other types are optional.
- Structured data has to match the visible page, or it costs you trust instead of earning it.
- Since August 2023, Google shows FAQ rich results only for well-known government and health sites, so FAQPage won't win most sites a snippet.
- Render JSON-LD on the server, because crawlers that don't run JavaScript miss schema injected on the client.
- Validate every page before shipping, since broken markup undermines the exact facts you want trusted.

This guide covers what each type buys you, copy-paste [Next.js](https://nextjs.org/docs) App Router examples, and what to skip.

## Why does JSON-LD help AI engines at all?

JSON-LD is a small block of machine-readable facts that states the authoritative version of who you are and what you sell. AI engines don't read a page the way a browser shows it; they extract facts from it. If your company is "Acme" in the header, "Acme Inc." in the footer and "ACME Software LLC" on the about page, a model has to guess which is canonical, and wrong guesses become wrong answers about your product. JSON-LD uses the [schema.org](https://schema.org/) vocabulary inside a `<script type="application/ld+json">` tag, separate from your visible markup.

Be precise about what it does. [Google's AI optimization guide (2026)](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide) says structured data isn't required for generative AI search and there's no special schema.org markup to add, while recommending it as part of normal SEO. Treat JSON-LD as disambiguation, not a ranking trick. Two rules from [Google's structured data documentation](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data) apply to every engine:

- **The structured data must match the visible content.** Marking up a price you don't show, or an FAQ that isn't on the page, gets you distrusted, and on Google it can bring a manual action.
- **Use the most specific type that fits**, and fill the properties that carry real information. An `Organization` with only a name is barely worth the bytes.

## Which three schema types matter for AI search?

### Organization: anchor your identity

`Organization` ties your brand to one canonical entity, with `sameAs` links to your official profiles. Add it once, site-wide (in your root layout), with a stable `@id` so other schema can reference it. The `sameAs` URLs below are placeholders; replace them with your real profile URLs.

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://echoranked.com/#organization",
  "name": "EchoRanked",
  "url": "https://echoranked.com",
  "logo": "https://echoranked.com/logo.png",
  "description": "AI visibility tracking across ChatGPT, Perplexity, Gemini and other AI engines, reported with confidence bands.",
  "sameAs": [
    "https://example.com/your-x-profile",
    "https://example.com/your-linkedin-company-page"
  ]
}
```

### Product + Offer: make the price machine-readable

`Product` with an `Offer` is the highest-leverage type for anyone who sells something, because it states the price as data. It's also the direct fix for the "agent can't parse the price" failure in [can an AI agent buy from your website](/blog/can-ai-agents-buy-from-your-site). The `Offer` carries what an agent needs to transact: `price`, `priceCurrency` and `availability`.

```json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "EchoRanked Pro",
  "description": "Daily AI visibility scans across four engines of your choice, plus the content agent.",
  "brand": { "@id": "https://echoranked.com/#organization" },
  "offers": {
    "@type": "Offer",
    "price": "99.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "url": "https://echoranked.com/pricing"
  }
}
```

Match the visible price exactly and keep `availability` honest. Stale `InStock` markup on a sold-out item erodes trust fast.

### FAQPage: map onto how people ask assistants

`FAQPage` turns visible Q&A content into clean question-and-answer pairs that match how people phrase questions to assistants. Use it only for genuine FAQ content shown on the page; don't wrap a whole article in it.

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Does EchoRanked publish content automatically?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "No. EchoRanked drafts content and can open a pull request, but a person merges it. Nothing goes live on its own."
      }
    }
  ]
}
```

Set expectations about Google. In [August 2023, Google limited FAQ rich results](https://developers.google.com/search/blog/2023/08/howto-faq-changes) to well-known, authoritative government and health websites, so most sites won't get an expandable FAQ snippet from this markup. It is still a clean, unambiguous statement of your Q&A for any system that reads it. Every post on this blog that has an FAQ section emits it as FAQPage JSON-LD.

## How do you render JSON-LD in the Next.js App Router?

The cleanest App Router pattern is a small server component that serializes an object into a script tag. Build the object on the server, stringify it, and inject it with `dangerouslySetInnerHTML`. That's safe because *you* control the data, but never interpolate untrusted user input into it.

```tsx
// components/json-ld.tsx — a reusable server component
export function JsonLd({ data }: { data: Record<string, unknown> }) {
  return (
    <script
      type="application/ld+json"
      // JSON.stringify escapes the data; this is the documented Next.js pattern.
      dangerouslySetInnerHTML={{ __html: JSON.stringify(data) }}
    />
  );
}
```

Use it in a layout (for `Organization`, site-wide) or a page (for `Product` or `FAQPage`):

```tsx
// app/pricing/page.tsx
import { JsonLd } from "@/components/json-ld";

const productLd = {
  "@context": "https://schema.org",
  "@type": "Product",
  name: "EchoRanked Pro",
  brand: { "@id": "https://echoranked.com/#organization" },
  offers: {
    "@type": "Offer",
    price: "99.00",
    priceCurrency: "USD",
    availability: "https://schema.org/InStock",
    url: "https://echoranked.com/pricing",
  },
};

export default function PricingPage() {
  return (
    <>
      <JsonLd data={productLd} />
          </>
  );
}
```

A few practical notes:

- **Render it server-side.** Most AI crawlers don't run JavaScript, so schema injected on the client may never be seen; [how to check if ChatGPT can read your website](/blog/can-chatgpt-read-your-website) shows how to test that. Server components emit it in the initial HTML.
- **One entity, one `@id`.** Reference your `Organization` by `@id` from `Product.brand` and elsewhere so engines connect the dots instead of inferring separate entities.
- **Validate it.** Run every page through [Google's Rich Results Test](https://search.google.com/test/rich-results) and the [Schema Markup Validator](https://validator.schema.org/) before shipping. Broken markup signals carelessness on the facts you most want trusted.

## Which schema types can you safely skip?

Most of schema.org's hundreds of types add little for AI answers, so skip anything you can't keep accurate:

- **`WebSite`, `WebPage`, `BreadcrumbList`:** fine to have, low marginal value for AI answers. Don't agonise over them.
- **`Speakable`, `SiteNavigationElement`, niche e-commerce extensions:** situational. Ignore them unless you have a specific reason.
- **Anything you can't keep accurate.** Markup that drifts from the visible page is a liability. Three well-maintained types beat twenty stale ones.

| Type | Value for AI answers | Keep it if… |
|------|----------------------|-------------|
| `Organization` | High | Always, site-wide |
| `Product` + `Offer` | High | You sell anything with a price |
| `FAQPage` | Medium | The page shows real Q&A |
| `WebSite` / `BreadcrumbList` | Low | It's already generated for you |
| `Speakable` and niche types | Situational | You have a specific use |

## How does JSON-LD fit with llms.txt?

JSON-LD and llms.txt answer the two questions an engine has about you: what your authoritative facts are (JSON-LD) and which pages to read (llms.txt). The curated-map half is covered in [what llms.txt is and whether it works](/blog/what-is-llms-txt). Both are part of being readable, which comes before being cited; our [guide to AI visibility](/blog/ai-visibility) covers the rest.

[EchoRanked](/) checks JSON-LD and llms.txt in its readiness scan, and articles it ships through GitHub carry FAQPage JSON-LD for their FAQ section. It then re-measures with [confidence bands](/blog/ai-visibility-score-noise), so you can tell whether a change moved anything. The [methodology page](/methodology) explains how.

## Frequently asked questions

### Does schema markup help you get cited by ChatGPT or AI Overviews?

Not directly. Google's AI optimization guide says structured data isn't required for its generative AI features, and no AI provider documents schema as a citation signal. What JSON-LD does is remove ambiguity: it states your company name, prices and answers in a form machines parse reliably. When an engine does surface you, that lowers the chance it gets your facts wrong, which makes it worth doing even though it isn't a ranking lever.

### Which schema types matter most for AI search?

Three: `Organization` for your canonical identity, `Product` with `Offer` for machine-readable price, currency and availability, and `FAQPage` for question-and-answer pairs that match how people query assistants. Done well and kept consistent with the visible page, these cover almost all the value. Most other schema.org types are optional, and any markup you cannot keep accurate is better left out entirely.

### Will FAQPage schema still get me rich results in Google?

Probably not. Since August 2023, Google shows FAQ rich results only for well-known, authoritative government and health websites, so most businesses will not get an expandable FAQ snippet from FAQPage markup. The markup is still valid schema.org and still gives any system a clean, unambiguous version of your questions and answers. Add it where you have real, visible Q&A, not in the hope of a snippet.

### Does JSON-LD need to be server-rendered in a Next.js app?

Yes, if you want crawlers that don't run JavaScript to see it. Render it from a small server component that serializes your data into a `<script type="application/ld+json">` tag, placed in a layout for site-wide `Organization` or in a page for `Product` and `FAQPage`. App Router server components put it in the initial HTML. Check each page with Google's Rich Results Test before shipping.
