Schema markup — also called structured data — is code you add to your pages that explicitly tells search engines and AI what your content means, not just what it says. It's the difference between Google guessing that a number on your page is a price versus knowing it definitively.
Getting schema right unlocks rich results in Google Search — star ratings, FAQ boxes, product prices, recipe details, event dates — and significantly improves your visibility to AI answer engines.
How Schema Works
Schema markup uses a vocabulary from Schema.org. You add it to your HTML as JSON-LD (the recommended format), Microdata, or RDFa. Google reads this markup when it crawls your page and uses it to understand your content more precisely.
JSON-LD is the most practical format because it can be added in a tag in the without touching your HTML content. Here's a simple Article schema example:
``json
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your Article Title",
"author": {
"@type": "Person",
"name": "Author Name"
},
"datePublished": "2024-01-15",
"publisher": {
"@type": "Organization",
"name": "Your Brand"
}
}
``
The Most Valuable Schema Types
Article and BlogPosting
For blog posts and news articles. Required properties include headline, author, and datePublished. Add image, dateModified, and publisher for completeness.
Product
For e-commerce pages. Enables rich results showing price, availability and star ratings directly in search results. Required: name. Recommended: description, offers (with price, priceCurrency, availability), aggregateRating.
FAQPage
Marks up question-and-answer content. Previously created expandable FAQ boxes in Google Search results. Even where the visual rich result is less common, it remains a strong AEO signal.
LocalBusiness
For businesses serving local customers. Includes address, phone, opening hours, and coordinates. Essential for local SEO.
BreadcrumbList
Adds breadcrumb navigation to your Google search result snippets, helping users understand your site structure and improving click-through rates.
HowTo
For instructional content. Marks up step-by-step processes and can unlock rich results showing numbered steps in search results.
Review and AggregateRating
For pages with user reviews. Enables star ratings to appear in search snippets.
Common Schema Mistakes
Wrong type for the content — Using Article schema on a product page, or Product schema on an article. Always match the schema type to the actual content type. Missing required properties — Every schema type has required properties. Missing them means Google can't generate a rich result even if it reads the markup. Wrong data types — Dates must be in ISO 8601 format (YYYY-MM-DD). Numbers must be actual numbers, not strings like "five". Inconsistent information — The data in your schema must match the visible content on the page. Google rejects schema that contradicts the page content. Invalid JSON — A single misplaced comma or bracket breaks the entire JSON-LD block.Validating Your Schema
Always validate schema before and after deployment using: - Google's Rich Results Test — shows exactly which rich results your markup qualifies for - Schema.org Validator — checks for errors against the Schema.org specification - AIPageSEO Schema Debugger — audits all schema across your site and flags errors
After validation, monitor Google Search Console's Enhancements section for schema errors and warnings at scale.
AI Schema Generator
For complex schema types, use an AI schema generator to create accurate markup from your page content. This reduces errors from manual coding and ensures all recommended properties are included.
Schema markup compounds over time — each correctly implemented schema type adds another layer of clarity for search engines and AI. Start with the schema types most relevant to your main content types and expand from there.