Schema Markup Generator
Generate JSON-LD structured data for rich results, AI citations, and enhanced search visibility.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/schema-markup-generator ~/.claude/skills/
When to Use
- Adding structured data to new or existing pages
- Generating JSON-LD for specific schema types
- Auditing existing schema for errors or missing fields
- Improving AI search visibility (pairs with aeo-geo-optimizer)
- Enabling rich results (FAQ dropdowns, star ratings, how-to steps)
Workflow
Step 1: Identify Content Type
| Content |
Primary Schema |
Rich Result |
| Blog post |
Article |
Enhanced listing with author, date |
| FAQ section |
FAQPage |
Expandable Q&A in SERPs |
| Tutorial |
HowTo |
Step-by-step with images/time |
| Product page |
Product |
Price, availability, ratings |
| Review |
Review + Rating |
Star ratings in SERPs |
| Recipe |
Recipe |
Cooking time, ingredients, ratings |
| Event |
Event |
Date, location, ticket info |
| Local business |
LocalBusiness |
Maps, hours, contact |
| Person/author |
Person |
Knowledge panel |
| Breadcrumbs |
BreadcrumbList |
Breadcrumb trail in SERPs |
| Video |
VideoObject |
Video carousel, thumbnails |
| Software |
SoftwareApplication |
App info in SERPs |
| Course |
Course |
Course info in SERPs |
| Dataset |
Dataset |
Dataset search results |
Step 2: Generate JSON-LD
Generate a <script type="application/ld+json"> block with all required and recommended fields for the schema type. Always use JSON-LD format (not Microdata or RDFa).
Step 3: Validate
Schema Templates
Article
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Title (max 110 chars)",
"description": "Brief description of the article",
"author": {
"@type": "Person",
"name": "Author Name",
"url": "https://example.com/author/name",
"jobTitle": "Author Title",
"sameAs": ["https://linkedin.com/in/author", "https://twitter.com/author"]
},
"publisher": {
"@type": "Organization",
"name": "Publisher Name",
"logo": {"@type": "ImageObject", "url": "https://example.com/logo.png"}
},
"datePublished": "2026-03-18T00:00:00Z",
"dateModified": "2026-03-18T00:00:00Z",
"image": "https://example.com/article-image.jpg",
"mainEntityOfPage": {"@type": "WebPage", "@id": "https://example.com/article-url"}
}
FAQPage
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is the question?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The complete answer text. Can include <a href=url>HTML links</a>."
}
}
]
}
HowTo
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "How to Do Something",
"description": "Brief description",
"totalTime": "PT30M",
"estimatedCost": {"@type": "MonetaryAmount", "currency": "USD", "value": "0"},
"step": [
{
"@type": "HowToStep",
"name": "Step 1 Title",
"text": "Detailed step instructions",
"image": "https://example.com/step1.jpg"
}
]
}
Product
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"description": "Product description",
"image": "https://example.com/product.jpg",
"brand": {"@type": "Brand", "name": "Brand Name"},
"sku": "SKU-12345",
"offers": {
"@type": "Offer",
"price": "29.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"url": "https://example.com/product"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "127"
}
}
BreadcrumbList
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com"},
{"@type": "ListItem", "position": 2, "name": "Category", "item": "https://example.com/category"},
{"@type": "ListItem", "position": 3, "name": "Current Page"}
]
}
Required vs Recommended Fields
| Schema Type |
Required Fields |
Recommended Fields |
| Article |
headline, author, datePublished, image |
dateModified, publisher, description |
| FAQPage |
mainEntity (Question + Answer) |
— |
| HowTo |
name, step |
totalTime, estimatedCost, image |
| Product |
name, offers (price + currency + availability) |
brand, sku, aggregateRating, image |
| LocalBusiness |
name, address |
phone, hours, geo, image, priceRange |
| Event |
name, startDate, location |
endDate, offers, image, performer |
| Person |
name |
jobTitle, url, sameAs, image |
Common Mistakes
- Missing required fields — always check per-type requirements
- Incorrect date format — use ISO 8601 (YYYY-MM-DDTHH:MM:SSZ)
- Markup does not match visible content — schema must reflect what users see
- Using Microdata instead of JSON-LD — Google recommends JSON-LD
- Nesting errors — validate JSON syntax before deploying
- Duplicate schema — one schema block per type per page
- Self-referencing Organization — publisher should be the organization, not the page
Integration with Other Skills
- aeo-geo-optimizer — Schema is a key AEO signal; implement types recommended by the AEO audit
- technical-seo-audit — Audit identifies missing/broken schema; this skill generates the fixes
- seo-content-writer — Content structure should align with schema structure
1---2name: schema-markup-generator3description: Generate structured data markup (JSON-LD) for rich results, AI search visibility, and enhanced SERP features. Supports Article, FAQ, HowTo, Product, Review, LocalBusiness, Event, BreadcrumbList, Person, Organization, and more. Use when the user needs schema markup, structured data, rich snippets, JSON-LD, or wants to improve search appearance.4license: MIT5origin: custom6author: Rebecca Rae Barton7author_url: https://github.com/thatrebeccarae8metadata:9 source: https://skillmd.com/skills/thatrebeccarae/schema-markup-generator10 version: 1.0.011 category: seo12 domain: structured-data13 updated: 2026-03-1814 tested: 2026-03-1815 tested_with: "Claude Code v2.1"16---1718# Schema Markup Generator1920Generate JSON-LD structured data for rich results, AI citations, and enhanced search visibility.2122## Install2324```bash25git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/schema-markup-generator ~/.claude/skills/26```2728## When to Use2930- Adding structured data to new or existing pages31- Generating JSON-LD for specific schema types32- Auditing existing schema for errors or missing fields33- Improving AI search visibility (pairs with aeo-geo-optimizer)34- Enabling rich results (FAQ dropdowns, star ratings, how-to steps)3536## Workflow3738### Step 1: Identify Content Type3940| Content | Primary Schema | Rich Result |41|---------|---------------|------------|42| Blog post | Article | Enhanced listing with author, date |43| FAQ section | FAQPage | Expandable Q&A in SERPs |44| Tutorial | HowTo | Step-by-step with images/time |45| Product page | Product | Price, availability, ratings |46| Review | Review + Rating | Star ratings in SERPs |47| Recipe | Recipe | Cooking time, ingredients, ratings |48| Event | Event | Date, location, ticket info |49| Local business | LocalBusiness | Maps, hours, contact |50| Person/author | Person | Knowledge panel |51| Breadcrumbs | BreadcrumbList | Breadcrumb trail in SERPs |52| Video | VideoObject | Video carousel, thumbnails |53| Software | SoftwareApplication | App info in SERPs |54| Course | Course | Course info in SERPs |55| Dataset | Dataset | Dataset search results |5657### Step 2: Generate JSON-LD5859Generate a `<script type="application/ld+json">` block with all required and recommended fields for the schema type. Always use JSON-LD format (not Microdata or RDFa).6061### Step 3: Validate6263- Google Rich Results Test: https://search.google.com/test/rich-results64- Schema.org Validator: https://validator.schema.org/65- Check Google Search Console for structured data errors6667## Schema Templates6869### Article7071```json72{73 "@context": "https://schema.org",74 "@type": "Article",75 "headline": "Article Title (max 110 chars)",76 "description": "Brief description of the article",77 "author": {78 "@type": "Person",79 "name": "Author Name",80 "url": "https://example.com/author/name",81 "jobTitle": "Author Title",82 "sameAs": ["https://linkedin.com/in/author", "https://twitter.com/author"]83 },84 "publisher": {85 "@type": "Organization",86 "name": "Publisher Name",87 "logo": {"@type": "ImageObject", "url": "https://example.com/logo.png"}88 },89 "datePublished": "2026-03-18T00:00:00Z",90 "dateModified": "2026-03-18T00:00:00Z",91 "image": "https://example.com/article-image.jpg",92 "mainEntityOfPage": {"@type": "WebPage", "@id": "https://example.com/article-url"}93}94```9596### FAQPage9798```json99{100 "@context": "https://schema.org",101 "@type": "FAQPage",102 "mainEntity": [103 {104 "@type": "Question",105 "name": "What is the question?",106 "acceptedAnswer": {107 "@type": "Answer",108 "text": "The complete answer text. Can include <a href=url>HTML links</a>."109 }110 }111 ]112}113```114115### HowTo116117```json118{119 "@context": "https://schema.org",120 "@type": "HowTo",121 "name": "How to Do Something",122 "description": "Brief description",123 "totalTime": "PT30M",124 "estimatedCost": {"@type": "MonetaryAmount", "currency": "USD", "value": "0"},125 "step": [126 {127 "@type": "HowToStep",128 "name": "Step 1 Title",129 "text": "Detailed step instructions",130 "image": "https://example.com/step1.jpg"131 }132 ]133}134```135136### Product137138```json139{140 "@context": "https://schema.org",141 "@type": "Product",142 "name": "Product Name",143 "description": "Product description",144 "image": "https://example.com/product.jpg",145 "brand": {"@type": "Brand", "name": "Brand Name"},146 "sku": "SKU-12345",147 "offers": {148 "@type": "Offer",149 "price": "29.99",150 "priceCurrency": "USD",151 "availability": "https://schema.org/InStock",152 "url": "https://example.com/product"153 },154 "aggregateRating": {155 "@type": "AggregateRating",156 "ratingValue": "4.5",157 "reviewCount": "127"158 }159}160```161162### BreadcrumbList163164```json165{166 "@context": "https://schema.org",167 "@type": "BreadcrumbList",168 "itemListElement": [169 {"@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com"},170 {"@type": "ListItem", "position": 2, "name": "Category", "item": "https://example.com/category"},171 {"@type": "ListItem", "position": 3, "name": "Current Page"}172 ]173}174```175176## Required vs Recommended Fields177178| Schema Type | Required Fields | Recommended Fields |179|------------|----------------|-------------------|180| Article | headline, author, datePublished, image | dateModified, publisher, description |181| FAQPage | mainEntity (Question + Answer) | — |182| HowTo | name, step | totalTime, estimatedCost, image |183| Product | name, offers (price + currency + availability) | brand, sku, aggregateRating, image |184| LocalBusiness | name, address | phone, hours, geo, image, priceRange |185| Event | name, startDate, location | endDate, offers, image, performer |186| Person | name | jobTitle, url, sameAs, image |187188## Common Mistakes1891901. **Missing required fields** — always check per-type requirements1912. **Incorrect date format** — use ISO 8601 (YYYY-MM-DDTHH:MM:SSZ)1923. **Markup does not match visible content** — schema must reflect what users see1934. **Using Microdata instead of JSON-LD** — Google recommends JSON-LD1945. **Nesting errors** — validate JSON syntax before deploying1956. **Duplicate schema** — one schema block per type per page1967. **Self-referencing Organization** — publisher should be the organization, not the page197198## Integration with Other Skills199200- **aeo-geo-optimizer** — Schema is a key AEO signal; implement types recommended by the AEO audit201- **technical-seo-audit** — Audit identifies missing/broken schema; this skill generates the fixes202- **seo-content-writer** — Content structure should align with schema structure