Schema.org in Practice
3.1 What is Schema.org
Schema.org is a structured data standard created jointly by Google, Microsoft, Yahoo, and Yandex. It defines a unified vocabulary that turns web page content into machine-readable data. Plain-language explanation: Your product page displays “Nike Air Max 90, $129.99, In Stock.” A human reads that instantly, but a machine sees only a string of text. Schema.org markup tells the machine: this is aProduct, the name is “Nike Air Max 90,” the price is “129.99 USD,” and the availability is InStock.
Impact on AI agents: AI agents (ChatGPT, Claude, Gemini, etc.) prioritize pages with structured data when making product recommendations, because they can extract product information accurately and reduce hallucination.
3.2 Three Implementation Formats
| Format | Recommendation | Description |
|---|---|---|
| JSON-LD | Recommended | Officially recommended by Google. A standalone script tag that does not affect HTML structure |
| Microdata | Acceptable | Embedded in HTML tag attributes (itemprop, itemscope) |
| RDFa | Not recommended | Older format with low adoption |
- Completely decoupled from HTML, easy to maintain
- Can be dynamically generated on the server side
- Parsed most efficiently by AI agents
- Explicitly recommended by Google
3.3 E-Commerce Essential: Product Markup
A complete Product markup example:| Field | Importance | Description |
|---|---|---|
name | Required | Product name |
description | Required | Product description |
image | Required | At least one high-quality image URL |
offers.price | Required | Price |
offers.priceCurrency | Required | Currency code (USD/EUR/GBP, etc.) |
offers.availability | Required | Stock status |
brand | Strongly recommended | Brand name |
sku | Recommended | Unique product identifier |
gtin13 / gtin14 | Recommended | International barcode |
aggregateRating | Recommended | Rating summary |
shippingDetails | Recommended | Shipping information |
hasMerchantReturnPolicy | Recommended | Return policy |
3.4 Company Information: Organization Markup
In addition to products, your company information needs to be structured. Place this on your homepage or “About Us” page:3.5 Breadcrumb Navigation: BreadcrumbList
Helps AI agents understand your site’s hierarchical structure:3.6 Common Mistakes
| Mistake | Consequence | Fix |
|---|---|---|
| Price missing currency code | AI cannot compare prices | Always include priceCurrency |
| Missing availability status | AI does not know if the product is purchasable | Dynamically update availability |
| Relative image paths | AI fails to fetch images | Use full https:// URLs |
| Markup inconsistent with visible content | Penalized by search engines | Keep markup data aligned with on-page content |
| Malformed nested JSON | Parse failure | Validate with testing tools |
3.7 Validation Tools
After configuring Schema.org markup, validate with these tools:- Google Rich Results Test — Checks if markup is correct and eligible for rich results
- Schema.org Validator — The official validation tool
- Browser DevTools — Inspect the page source for
script type="application/ld+json"content
3.8 Self-Assessment Checklist
- Every product page has a
ProductJSON-LD block - Product markup includes name, description, image, price, and availability
- Homepage or About page has an
OrganizationJSON-LD block - Category pages have
BreadcrumbListmarkup - At least 3 pages validated with Google Rich Results Test
- Markup data is consistent with visible page content
Next chapter: JSON-LD vs Microdata — Technical comparison and migration guide