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.