Search engines are good at reading pages, but they still have to infer a lot: is this number a price or a rating, is this name the author or the publisher, is this date the event or the publication? Structured data removes the guesswork by describing the page's content in a standard, machine-readable format. This lesson covers how it works, how to write it correctly, and, just as important, what it doesn't do.
Structured data fundamentals
Structured data is a set of statements about a page's content using a shared vocabulary. The vocabulary almost everyone uses is Schema.org (opens in a new tab), a collaborative project founded by Google, Microsoft, Yahoo, and Yandex. It defines types (such as Article, Product, Organization, Event) and properties for each type (such as headline, price, logo, startDate).
Search engines use structured data to understand pages and, for some types, to make them eligible for enhanced displays called rich results: review stars, product prices and availability, event dates, recipe cards, and so on.
There are three syntaxes: JSON-LD, Microdata, and RDFa. Google supports all three and recommends JSON-LD, because it sits in one <script> block, separate from your HTML, and is easier to generate and maintain.
JSON-LD basics
A JSON-LD block is a <script type="application/ld+json"> element in the page (head or body):
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Oak & Hide",
"url": "https://www.example.com/",
"logo": "https://www.example.com/images/logo-512.png"
}
</script>@contextdeclares the vocabulary (Schema.org).@typeis the type of thing being described.- The other keys are properties of that type, with values that are text, numbers, URLs, or nested objects.
Several items can be combined in one block using @graph, and items can reference each other by @id.
Article and BlogPosting
For news articles, blog posts, and guides, use Article or one of its more specific subtypes such as BlogPosting or NewsArticle. Google's Article documentation lists no required properties, and recommends headline, image, datePublished, dateModified, and author.
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to Clean a Leather Wallet",
"description": "Step-by-step cleaning for leather wallets: what to use, what to avoid, and how often to condition.",
"image": [
"https://www.example.com/images/wallet-cleaning-16x9.jpg",
"https://www.example.com/images/wallet-cleaning-4x3.jpg"
],
"datePublished": "2026-10-20T09:00:00+08:00",
"dateModified": "2026-10-28T14:30:00+08:00",
"author": {
"@type": "Person",
"name": "Maria Santos",
"url": "https://www.example.com/about/maria-santos/"
},
"publisher": {
"@type": "Organization",
"name": "Oak & Hide",
"logo": { "@type": "ImageObject", "url": "https://www.example.com/images/logo-512.png" }
},
"mainEntityOfPage": "https://www.example.com/guides/clean-leather-wallet/"
}Notes:
- Dates use ISO 8601 with a time zone.
dateModifiedshould change only when the content meaningfully changes. authorshould be a real person or organization, matching the byline readers see. Link to an author page if you have one.- Images should be crawlable, high-resolution, and represent the article.
BreadcrumbList
BreadcrumbList describes the breadcrumb trail shown on the page (lesson 8). Positions start at 1, and each item names a page and its URL.
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Guides", "item": "https://www.example.com/guides/" },
{ "@type": "ListItem", "position": 2, "name": "Leather care", "item": "https://www.example.com/guides/leather-care/" },
{ "@type": "ListItem", "position": 3, "name": "How to Clean a Leather Wallet" }
]
}The last item may omit item because it's the current page. The trail should match the visible breadcrumbs.
Organization
Organization markup on the homepage (or an about page) describes the entity behind the site: name, logo, URL, contact points, and profiles elsewhere through sameAs.
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://www.example.com/#organization",
"name": "Oak & Hide",
"url": "https://www.example.com/",
"logo": "https://www.example.com/images/logo-512.png",
"sameAs": [
"https://www.instagram.com/oakandhide",
"https://www.linkedin.com/company/oakandhide"
],
"contactPoint": {
"@type": "ContactPoint",
"contactType": "customer support",
"email": "help@example.com"
}
}Using an @id lets other blocks on the site refer to the same organization, for example as an article's publisher, without repeating it.
Connecting items with @graph and @id
Real pages describe several things at once: the article, the organization that publishes it, the breadcrumb trail, and often the website itself. Rather than repeating the organization inside every article, put the items in one @graph and connect them by @id, a URL-like identifier you choose (it doesn't have to be a real page):
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://www.example.com/#organization",
"name": "Oak & Hide",
"logo": "https://www.example.com/images/logo-512.png"
},
{
"@type": "WebSite",
"@id": "https://www.example.com/#website",
"url": "https://www.example.com/",
"name": "Oak & Hide",
"publisher": { "@id": "https://www.example.com/#organization" }
},
{
"@type": "BlogPosting",
"headline": "How to Clean a Leather Wallet",
"datePublished": "2026-10-20T09:00:00+08:00",
"publisher": { "@id": "https://www.example.com/#organization" },
"isPartOf": { "@id": "https://www.example.com/#website" }
}
]
}Keep @id values stable across the whole site, so every page refers to the same organization and website. This keeps markup smaller and consistent, and it avoids contradictory descriptions of the same entity on different pages.
FAQPage and other types
Schema.org has hundreds of types. Use the one that genuinely matches the main content of the page:
- Product with
offers, and Review or AggregateRating when real reviews are shown on the page. - Event for events with dates and locations.
- LocalBusiness (and subtypes) for physical businesses.
- Recipe, VideoObject, JobPosting, SoftwareApplication, and others.
- FAQPage for a page that lists questions with answers written by the site.
Rich-result eligibility changes over time, and some types have been narrowed or retired. Google limited FAQ rich results to well-known, authoritative government and health websites in 2023, and removed HowTo rich results the same year; several other types were phased out later. Markup for those types is still valid Schema.org and harmless, but don't add it expecting a visual change. Check Google's Search Gallery (opens in a new tab) for the current list before implementing a type for its appearance.
Valid markup doesn't guarantee rich results
This is the most misunderstood part of structured data. Google says plainly that using structured data enables a feature to be present but doesn't guarantee it. Whether a rich result appears depends on the query, the device, the quality of the page, and Google's own choices.
Structured data also isn't a general ranking boost. It helps search engines understand content and can make a result more prominent where features exist, which may improve click-through, but markup alone won't move a page up.
Validating structured data
Use two tools, because they answer different questions:
- Rich Results Test (opens in a new tab): does Google consider this page eligible for its supported rich results, and are required properties present? It also renders JavaScript, so it shows markup added client-side.
- Schema Markup Validator (opens in a new tab): is this valid Schema.org, for any type, regardless of Google features?
After deploying, Search Console's Enhancements section shows reports for detected rich result types, with errors and warnings across the site.
Practice with RankMiso. For a quick look while you browse, RankMiso (our free extension) shows the JSON-LD on the open page as labeled fields with the raw JSON one tab away, plus any Microdata and RDFa it finds, and checks the syntax and common fields. Its report links straight to Google's Rich Results Test for the eligibility check. Free on the Chrome Web Store (opens in a new tab) and Firefox Add-ons (opens in a new tab).
Step by step: add Article markup to a template
- Decide the type (
BlogPostingfor blog posts) and the properties your template can fill reliably from your CMS: title, description, image, dates, author. - Generate the JSON from data, never by string concatenation, so quotes and special characters are escaped correctly. In JavaScript,
JSON.stringifydoes this; escape<as<too, so text containing</script>can't break out of the tag.
function articleJsonLd(post, site) {
const data = {
"@context": "https://schema.org",
"@type": "BlogPosting",
headline: post.title,
description: post.description,
image: post.imageUrl ? [new URL(post.imageUrl, site.url).href] : undefined,
datePublished: post.publishedAt.toISOString(),
dateModified: post.updatedAt.toISOString(),
author: { "@type": "Person", name: post.authorName },
mainEntityOfPage: new URL(post.path, site.url).href,
};
return JSON.stringify(data).replace(/</g, "\\u003c");
}- Render it in a
<script type="application/ld+json">element in the server-rendered HTML. - Test three representative pages in the Rich Results Test and the Schema Markup Validator.
- Deploy, then watch Search Console's Enhancements reports for errors across the site.
Common implementation mistakes
- Marking up content that isn't visible. Structured data must describe what's on the page. Reviews, prices, or FAQs that only exist in the JSON-LD violate Google's structured data guidelines and can lead to a manual action.
- Mismatched values. A
dateModifiedthat changes on every page load, an author different from the byline, a price that disagrees with the page. - Self-serving review markup. Review snippets for an organization about itself on its own site aren't eligible.
- Relative URLs. Use absolute URLs for
url,image, anditem. - Broken JSON. A trailing comma or an unescaped quote invalidates the whole block. Always generate JSON, never hand-concatenate strings.
- Marking up everything as everything. One accurate main type per page, plus breadcrumbs and organization, beats a dozen loosely related types.
Key takeaways
- Structured data describes page content in a standard vocabulary; JSON-LD is the recommended format.
- Use the type that matches the page's main content, with properties that match what's visible.
- Valid markup makes a page eligible for rich results; it doesn't guarantee them or boost rankings.
- Validate with both the Rich Results Test and the Schema Markup Validator, then monitor Search Console.
Exercise
Choose one article template on your site:
- Write a
BlogPostingJSON-LD block filled from the template's data, plus aBreadcrumbListthat matches the visible breadcrumbs. - Validate both in the Schema Markup Validator and the Rich Results Test, and fix every error.
- List any property you left out because the template can't fill it accurately, and explain why leaving it out is better than guessing.
References
- Google Search Central: Introduction to structured data markup (opens in a new tab)
- Google Search Central: General structured data guidelines (opens in a new tab)
- Google Search Central: Article structured data (opens in a new tab)
- Google Search Central: Organization structured data (opens in a new tab)
- Google Search Central Blog: Changes to HowTo and FAQ rich results (opens in a new tab)
- Schema.org: Getting started (opens in a new tab)
- Schema Markup Validator (opens in a new tab)
What's next
Structured data helps search engines understand content that they can already see. But on many modern sites, the content is built by JavaScript, and that changes what crawlers see and when. JavaScript SEO, Website Performance, and Core Web Vitals covers rendering, speed, and the metrics Google uses to measure page experience.

