Schema markup prompt

A schema markup prompt asks the AI to write JSON-LD structured data for a page, using only facts visible on that page. It returns one linked graph and a list showing where each property comes from, so you can check it.

The prompt

Write JSON-LD for this page in one @graph.
Include Organization (with the same @id on every page),
WebPage, BreadcrumbList and [Service, Product, Article or FAQPage].
Use only facts visible on the page. Leave out anything that isn't.
Return valid JSON, then list each property
and where on the page it comes from.

When to use it

For every page type before launch: home, service, article, product. Rerun it when the visible facts change.

Why it works

Google describes structured data as a standard format for giving information about a page and classifying its content.1 AI tools read it too. Markup that claims more than the page shows is the most common mistake, and the source list makes it easy to catch.

How to adapt it

  • Add LocalBusiness with address and opening hours if people visit you.
  • Ask for the same @id values across pages, so the graph links up.

Mistakes to avoid

  • Pasting markup without validating it. Run it through a schema validator.
  • Review or rating markup for reviews that aren't on the page.

Go deeper

See structured data and the schema graph. The free schema starter builds a first version from a form. This prompt is part of the check stage. It follows the AI website design prompts guide and the six steps in how to use AI to design a website.

Read the prompts guideAll 24 prompts

Sources

  1. "Intro to how structured data markup works," Google Search Central. developers.google.com

Related prompts

FAQ prompt

An FAQ prompt picks the questions buyers ask right before they decide, answers each in two or three plain sentences, and writes matching FAQPage markup. It turns your customer questions into short, quotable answers.

Get the prompt

Answer-first prompt

An answer-first prompt rewrites the top of a page so it answers the page's main question in 40 to 60 words, and turns headings into the questions people type. It makes the page easier for people to scan and for AI tools to quote.

Get the prompt

Title and description prompt

A title and description prompt writes the title tag and meta description for each page in one table, with character counts. Each title leads with the page's question or offer, and each description answers it.

Get the prompt

Page speed prompt

A page speed prompt asks the AI to list every script, font and image over a size limit, say what each does and whether the page needs it, and propose what to remove. AI builders tend to add more than a page needs.

Get the prompt

Want this done for you?

Want your site's structured data built as one graph? Book a call and I'll show you how.

Book a 20-minute call