JSON-LD for AI search: the schema that makes you quotable

Which schema types matter for AI answers, how to write them without contradictions, and the validation mistakes that quietly hurt you.

Quonly8 min read

JSON-LD is structured data embedded in a script tag. It gives machines an explicit, unambiguous version of facts that your page states in prose: who publishes it, what the product is, what it costs, and which questions it answers. Search engines have used it for rich results for years. AI retrieval systems use it for entity resolution — deciding whether the page is about the same company they have seen elsewhere.

The goal is not to add every schema type that exists. The goal is to remove ambiguity about the handful of facts that matter for your business.

The types that earn their keep

  • Organization: name, URL, logo, email, and a stable @id. This is your identity anchor across the site.
  • WebSite: the site itself, its language, and its publisher. Useful for disambiguating multiple properties.
  • SoftwareApplication or Product: what you sell, with an AggregateOffer or individual Offer entries.
  • Article or BlogPosting: headline, author, publisher, datePublished, dateModified, and the canonical URL.
  • FAQPage: question-and-answer pairs that already exist visibly on the page.
  • BreadcrumbList: the page's position in the site hierarchy, which helps both crawlers and users.
  • HowTo: ordered steps for a process, when the page genuinely documents one.

Entity consistency beats volume

The most common failure is not a missing type; it is a contradiction. The Organization name says one thing, the footer says another, the About page uses a third variant, and the logo URL changes between pages. A model trying to confirm that these pages belong to the same entity now has to guess.

Pick one canonical name, one URL, one logo file, and one contact address. Put them in JSON-LD on every page, in the footer, in llms.txt, and in your social profiles. Use @id values such as https://example.com/#organization so other nodes can reference the same entity instead of restating it.

Write offers and articles precisely

For products, price and currency must match what a visitor sees. If the page says $149 per month, the Offer should say 149 USD, and the billing period should be clear from the surrounding text or a UnitPriceSpecification. Do not publish a low price in schema and a higher one at checkout — that is the kind of mismatch that erodes trust with both users and machines.

For articles, include datePublished and dateModified as ISO 8601 dates. Set author and publisher to the organization @id if posts are written by the team, or to a Person node with a real profile page if they are bylined. Link mainEntityOfPage to the canonical article URL so the markup cannot be attributed to a different page.

Match markup to visible content

FAQPage markup must describe questions and answers that a human can actually see. Product markup must describe a product that exists on the page. Markup that promises content the page does not contain is a violation of search guidelines and, more practically, it trains retrieval systems to distrust your domain.

The same rule applies to hidden text. Do not put a long list of keywords in JSON-LD and call it optimization. Structured data should be a machine-readable restatement of what is already there.

Validate before and after deploy

Run every template through a structured-data validator and fix errors, not just warnings. Then fetch the live URL and confirm the JSON-LD is present in the initial HTML, not injected only after client-side JavaScript runs. Many crawlers read the first response and never execute scripts.

After deployment, re-check one URL per template. A single bad shared component can silently remove Organization markup from every page, and you will not notice it from a dashboard that only tracks rankings.

Want this done for you?

Quonly runs the technical layer — structured data, llms.txt, AI citation tracking — at the edge, with rollback. Scan your site free first.

Keep reading

All articles