AEO · answers
Structured data: schema and JSON-LD for search and AI
The essentials
- Structured data describes the page in a format machines read without guessing: what business it is, what it sells, where it is.
- JSON-LD is the format Google recommends: a separate
<script>block that leaves the visible HTML alone. - It must say the same as the page. Marking up something that is not visible can cost you rich results.
- It does not guarantee stars or boxes on Google, but without it there is no way to get them.
What it is
A shared vocabulary, schema.org, for saying “this is an organization, this is its logo, these are its profiles”. Search engines and AI assistants use it to understand entities and to build rich results: prices, ratings, FAQs, local business details.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Roma Dental Clinic",
"url": "https://yoursite.com",
"logo": "https://yoursite.com/logo.png",
"sameAs": ["https://www.instagram.com/yoursite"]
}
</script>Which type to use
| Page | Type | The minimum |
|---|---|---|
| Home page | Organization or LocalBusiness | name, url, logo |
| Business with premises | LocalBusiness or a subtype (Dentist, Restaurant…) | name, address, telephone |
| Product | Product with Offer | name, image, offers with price and priceCurrency |
| Article or guide | Article or BlogPosting | headline, datePublished, author |
| FAQ | FAQPage | mainEntity with visible questions and answers |
Use the most precise subtype that exists. “Dentist” says more than “LocalBusiness”, and “LocalBusiness” more than “Organization”. For businesses with premises, also read LocalBusiness schema and NAP for a business with premises.
How to implement it
- Start with the base:
Organization(or your subtype) andWebSiteon the home page;BreadcrumbListon inner pages, for the path context. - Generate the JSON-LD on the server, inside the HTML, so any bot reads it without running JavaScript.
- Link entities with
@id. For example, theArticlepoints to yourOrganizationaspublisherinstead of repeating its details. FAQPageonly with visible questions. Google now rarely shows the FAQ rich result, but the markup still helps it understand the page.
How to validate it
- Make sure the block is valid JSON: one extra comma and search engines ignore the whole block.
- Check the type’s required properties are there, plus the recommended ones you can fill in.
- Compare against the page: every value in the JSON-LD has to be visible on it.
- Run it through Google’s Rich Results Test or validator.schema.org before publishing.
The SEO Army schema generator and validator checks property by property, flags what your type of business is missing and gives you a complete JSON-LD that keeps what you already declare.
Check it
Check your page’s structured data
Common mistakes
- Ratings or prices that do not appear on the page. It is the most common cause of Google manual actions.
- Two plugins publishing the same type with different data.
- Invalid JSON from curly quotes or stray commas after hand edits.
- Marking everything as
Organizationwhen a subtype describes the business better.