Schema markup generator

Generate JSON-LD structured data markup for rich results in Google Search.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/schema-markup-generator.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit nowork-studio/notfair-plugin/seo/schema-markup-generator#main ~/.claude/skills/schema-markup-generator

For one project only, change the path to .claude/skills/schema-markup-generator.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Schema markup generator

Show the full text310 lines
nameargument-hintdescription
schema-markup-generator<URL or page type, e.g. 'FAQ page' or 'product page'>> Generate JSON-LD structured data markup for rich results in Google Search. Supports FAQ, HowTo, Article, Product, LocalBusiness, and multi-type schemas. Validates against Google requirements and provides implementation guidance. Use when asked to "add schema markup", "generate structured data", "JSON-LD", rich snippets", "FAQ schema", "product markup", "add structured data to my page", "how to get rich snippets", or any structured data task.

Schema Markup Generator

This skill creates Schema.org structured data markup in JSON-LD format to help search engines understand your content and enable rich results in SERPs.

When This Must Trigger

Use this when the conversation involves any of these situations — even if the user does not use SEO terminology:

Use this whenever the task needs a shippable asset or transformation that should feed directly into quality review, deployment, or monitoring.

  • Adding FAQ schema for expanded SERP presence
  • Creating How-To schema for step-by-step content
  • Adding Product schema for e-commerce pages
  • Implementing Article schema for blog posts
  • Adding Local Business schema for location pages
  • Creating Review/Rating schema
  • Implementing Organization schema for brand presence
  • Any page where rich results would improve visibility

What This Skill Does

  1. Schema Type Selection: Recommends appropriate schema types
  2. JSON-LD Generation: Creates valid structured data markup
  3. Property Mapping: Maps your content to schema properties
  4. Validation Guidance: Ensures schema meets requirements
  5. Nested Schema: Handles complex, multi-type schemas
  6. Rich Result Eligibility: Identifies which rich results you can target

Quick Start

Start with one of these prompts.

Generate Schema for Content
Generate schema markup for this [content type]: [content/URL]
Create FAQ schema for these questions and answers: [Q&A list]
Specific Schema Types
Create Product schema for [product name] with [details]
Generate LocalBusiness schema for [business name and details]
Audit Existing Schema
Review and improve this schema markup: [existing schema]

Data Sources

With ~~web crawler connected: Automatically crawl and extract page content (visible text, headings, lists, tables), existing schema markup, page metadata, and structured content elements that map to schema properties.

With manual data only: Ask the user to provide:

  1. Page URL or full HTML content
  2. Page type (article, product, FAQ, how-to, local business, etc.)
  3. Specific data needed for schema (prices, dates, author info, Q&A pairs, etc.)
  4. Current schema markup (if optimizing existing)

Proceed with the full workflow using provided data. Note in the output which data is from automated extraction vs. user-provided data.

Instructions

When a user requests schema markup:

  1. Identify Content Type and Rich Result Opportunity

    Reference the CORE-EEAT Benchmark item O05 (Schema Markup) for content-type to schema mapping:

    ### CORE-EEAT Schema Mapping (O05)
    
    | Content Type | Required Schema | Conditional Schema |
    |-------------|----------------|--------------------|
    | Blog (guides) | Article, Breadcrumb | FAQ, HowTo |
    | Blog (tools) | Article, Breadcrumb | FAQ, Review |
    | Blog (insights) | Article, Breadcrumb | FAQ |
    | Alternative | Comparison*, Breadcrumb, FAQ | AggregateRating |
    | Best-of | ItemList, Breadcrumb, FAQ | AggregateRating per tool |
    | Use-case | WebPage, Breadcrumb, FAQ | — |
    | FAQ | FAQPage, Breadcrumb | — |
    | Landing | SoftwareApplication, Breadcrumb, FAQ | WebPage |
    | Testimonial | Review, Breadcrumb | FAQ, Person |
    
    *Use the mapping above to ensure schema type matches content type (CORE-EEAT O05: Pass criteria).*
    
    ### Schema Analysis
    
    **Content Type**: [blog/product/FAQ/how-to/local business/etc.]
    **Page URL**: [URL]
    
    **Eligible Rich Results**:
    
    | Rich Result Type | Eligibility | Impact |
    |------------------|-------------|--------|
    | FAQ | ✅/❌ | High - Expands SERP presence |
    | How-To | ✅/❌ | Medium - Shows steps in SERP |
    | Product | ✅/❌ | High - Shows price, availability |
    | Review | ✅/❌ | High - Shows star ratings |
    | Article | ✅/❌ | Medium - Shows publish date, author |
    | Breadcrumb | ✅/❌ | Medium - Shows navigation path |
    | Video | ✅/❌ | High - Shows video thumbnail |
    
    **Recommended Schema Types**:
    1. [Primary schema type] - [reason]
    2. [Secondary schema type] - [reason]
    
  2. Generate Schema Markup

    Based on the identified content type, generate the appropriate JSON-LD schema. Supported types: FAQPage, HowTo, Article/BlogPosting/NewsArticle, Product, LocalBusiness, Organization, BreadcrumbList, Event, Recipe, and combined multi-type schemas.

    Reference: See references/schema-templates.md for complete, copy-ready JSON-LD templates for all schema types with required and optional properties.

    For each schema generated, include:

    • All required properties for the chosen type
    • Rich result preview showing expected SERP appearance
    • Notes on which properties are required vs. optional

    When combining multiple schema types on one page, wrap them in a JSON array inside a single <script type="application/ld+json"> tag.

  3. Provide Implementation and Validation

    ## Implementation Guide
    
    ### Adding Schema to Your Page
    
    **Option 1: In HTML <head>**
    ```html
    <head>
      <script type="application/ld+json">
        [Your JSON-LD schema here]
      </script>
    </head>
    

    Option 2: Before closing </body>

      <script type="application/ld+json">
        [Your JSON-LD schema here]
      </script>
    </body>
    
    Validation Steps
    1. ~~schema validator

      • Test your live URL or paste code
      • Check for errors and warnings
    2. Schema.org Validator

    3. ~~search console

      • Monitor rich results in ~~search console
      • Check Enhancements reports for issues
    Validation Checklist
    • JSON syntax is valid (no trailing commas)
    • All required properties present
    • URLs are absolute, not relative
    • Dates are in ISO 8601 format
    • Content matches visible page content
    • No policy violations

Validation Checkpoints

Input Validation
  • Page URL or content provided
  • Schema type appropriate for content (Article for blog, Product for e-commerce, etc.)
  • All required data available (author, dates, prices, etc. depending on schema type)
  • Content eligibility for rich results confirmed
Output Validation
  • JSON syntax validates (no trailing commas, proper quotes)
  • All required properties present for chosen schema type
  • URLs are absolute, not relative
  • Dates in ISO 8601 format (YYYY-MM-DDTHH:MM:SS+00:00)
  • Schema content matches visible page content exactly
  • Passes ~~schema validator with no errors
  • Source of each data point clearly stated (~~web crawler extraction, user-provided, or manual entry)

Example

User: "Generate FAQ schema for a page about SEO with 3 questions"

Output:

## FAQ Schema for SEO Page

### Schema Markup

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is SEO?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SEO (Search Engine Optimization) is the practice of optimizing websites and content to rank higher in search engine results pages (SERPs). It involves technical optimizations, content creation, and link building to increase organic visibility and drive qualified traffic to your website."
      }
    },
    {
      "@type": "Question",
      "name": "How long does SEO take to work?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SEO typically takes 3-6 months to show significant results, though this varies based on competition, domain authority, and effort invested. New websites may take 6-12 months, while established sites with existing authority can see improvements in 1-3 months for less competitive keywords."
      }
    },
    {
      "@type": "Question",
      "name": "Is SEO better than paid advertising?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SEO and paid advertising serve different purposes. SEO provides sustainable, long-term traffic without per-click costs but takes time to build. Paid advertising delivers immediate results but stops when you stop paying. Most successful businesses use both: paid ads for immediate leads and SEO for long-term growth."
      }
    }
  ]
}

Implementation: Wrap the above JSON-LD in <script type="application/ld+json">...</script> and place in <head> or before </body>. Test with ~~schema validator.

SERP Preview
SEO Guide: Complete Beginner's Tutorial
yoursite.com/seo-guide/
Learn SEO from scratch with our comprehensive guide...

▼ What is SEO?
  SEO (Search Engine Optimization) is the practice of optimizing...
▼ How long does SEO take to work?
  SEO typically takes 3-6 months to show significant results...
▼ Is SEO better than paid advertising?
  SEO and paid advertising serve different purposes...

## Schema Type Quick Reference

| Content Type | Schema Type | Key Properties |
|--------------|-------------|----------------|
| Blog Post | BlogPosting/Article | headline, datePublished, author |
| Product | Product | name, price, availability |
| FAQ | FAQPage | Question, Answer |
| How-To | HowTo | step, totalTime |
| Local Business | LocalBusiness | address, geo, openingHours |
| Recipe | Recipe | ingredients, cookTime |
| Event | Event | startDate, location |
| Video | VideoObject | uploadDate, duration |
| Course | Course | provider, name |
| Review | Review | itemReviewed, ratingValue |

## Tips for Success

1. **Match visible content** - Schema must reflect what users see
2. **Don't spam** - Only add schema for relevant content
3. **Keep updated** - Update dates and prices when they change
4. **Test thoroughly** - Validate before deploying
5. **Monitor Search Console** - Watch for errors and warnings

## Schema Type Decision Tree

> **Reference**: See [references/schema-decision-tree.md](references/schema-decision-tree.md) for the full decision tree (content-to-schema mapping), industry-specific recommendations, implementation priority tiers (P0-P4), and validation quick reference.


## Reference Materials

- [Schema Templates](references/schema-templates.md) - Copy-ready JSON-LD templates for all schema types
- [Validation Guide](references/validation-guide.md) - Common errors, required properties, testing workflow

## Next Best Skill

- **Primary**: [seo-analysis](../seo-analysis/SKILL.md) — verify implementation with a technical SEO audit.
1---
2name: schema-markup-generator
3argument-hint: "<URL or page type, e.g. 'FAQ page' or 'product page'>"
4description: >
5 Generate JSON-LD structured data markup for rich results in Google Search.
6 Supports FAQ, HowTo, Article, Product, LocalBusiness, and multi-type schemas.
7 Validates against Google requirements and provides implementation guidance.
8 Use when asked to "add schema markup", "generate structured data", "JSON-LD",
9 "rich snippets", "FAQ schema", "product markup", "add structured data to my
10 page", "how to get rich snippets", or any structured data task.
11---
12 
13# Schema Markup Generator
14 
15This skill creates Schema.org structured data markup in JSON-LD format to help search engines understand your content and enable rich results in SERPs.
16 
17## When This Must Trigger
18 
19Use this when the conversation involves any of these situations — even if the user does not use SEO terminology:
20 
21Use this whenever the task needs a shippable asset or transformation that should feed directly into quality review, deployment, or monitoring.
22 
23- Adding FAQ schema for expanded SERP presence
24- Creating How-To schema for step-by-step content
25- Adding Product schema for e-commerce pages
26- Implementing Article schema for blog posts
27- Adding Local Business schema for location pages
28- Creating Review/Rating schema
29- Implementing Organization schema for brand presence
30- Any page where rich results would improve visibility
31 
32## What This Skill Does
33 
341. **Schema Type Selection**: Recommends appropriate schema types
352. **JSON-LD Generation**: Creates valid structured data markup
363. **Property Mapping**: Maps your content to schema properties
374. **Validation Guidance**: Ensures schema meets requirements
385. **Nested Schema**: Handles complex, multi-type schemas
396. **Rich Result Eligibility**: Identifies which rich results you can target
40 
41## Quick Start
42 
43Start with one of these prompts.
44 
45### Generate Schema for Content
46 
47```
48Generate schema markup for this [content type]: [content/URL]
49```
50 
51```
52Create FAQ schema for these questions and answers: [Q&A list]
53```
54 
55### Specific Schema Types
56 
57```
58Create Product schema for [product name] with [details]
59```
60 
61```
62Generate LocalBusiness schema for [business name and details]
63```
64 
65### Audit Existing Schema
66 
67```
68Review and improve this schema markup: [existing schema]
69```
70 
71## Data Sources
72 
73**With ~~web crawler connected:**
74Automatically crawl and extract page content (visible text, headings, lists, tables), existing schema markup, page metadata, and structured content elements that map to schema properties.
75 
76**With manual data only:**
77Ask the user to provide:
781. Page URL or full HTML content
792. Page type (article, product, FAQ, how-to, local business, etc.)
803. Specific data needed for schema (prices, dates, author info, Q&A pairs, etc.)
814. Current schema markup (if optimizing existing)
82 
83Proceed with the full workflow using provided data. Note in the output which data is from automated extraction vs. user-provided data.
84 
85## Instructions
86 
87When a user requests schema markup:
88 
891. **Identify Content Type and Rich Result Opportunity**
90 
91 Reference the CORE-EEAT Benchmark item **O05 (Schema Markup)** for content-type to schema mapping:
92 
93 ```markdown
94 ### CORE-EEAT Schema Mapping (O05)
95 
96 | Content Type | Required Schema | Conditional Schema |
97 |-------------|----------------|--------------------|
98 | Blog (guides) | Article, Breadcrumb | FAQ, HowTo |
99 | Blog (tools) | Article, Breadcrumb | FAQ, Review |
100 | Blog (insights) | Article, Breadcrumb | FAQ |
101 | Alternative | Comparison*, Breadcrumb, FAQ | AggregateRating |
102 | Best-of | ItemList, Breadcrumb, FAQ | AggregateRating per tool |
103 | Use-case | WebPage, Breadcrumb, FAQ | — |
104 | FAQ | FAQPage, Breadcrumb | — |
105 | Landing | SoftwareApplication, Breadcrumb, FAQ | WebPage |
106 | Testimonial | Review, Breadcrumb | FAQ, Person |
107 
108 *Use the mapping above to ensure schema type matches content type (CORE-EEAT O05: Pass criteria).*
109 ```
110 
111 ```markdown
112 ### Schema Analysis
113 
114 **Content Type**: [blog/product/FAQ/how-to/local business/etc.]
115 **Page URL**: [URL]
116 
117 **Eligible Rich Results**:
118 
119 | Rich Result Type | Eligibility | Impact |
120 |------------------|-------------|--------|
121 | FAQ | ✅/❌ | High - Expands SERP presence |
122 | How-To | ✅/❌ | Medium - Shows steps in SERP |
123 | Product | ✅/❌ | High - Shows price, availability |
124 | Review | ✅/❌ | High - Shows star ratings |
125 | Article | ✅/❌ | Medium - Shows publish date, author |
126 | Breadcrumb | ✅/❌ | Medium - Shows navigation path |
127 | Video | ✅/❌ | High - Shows video thumbnail |
128 
129 **Recommended Schema Types**:
130 1. [Primary schema type] - [reason]
131 2. [Secondary schema type] - [reason]
132 ```
133 
1342. **Generate Schema Markup**
135 
136 Based on the identified content type, generate the appropriate JSON-LD schema. Supported types: FAQPage, HowTo, Article/BlogPosting/NewsArticle, Product, LocalBusiness, Organization, BreadcrumbList, Event, Recipe, and combined multi-type schemas.
137 
138 > **Reference**: See [references/schema-templates.md](references/schema-templates.md) for complete, copy-ready JSON-LD templates for all schema types with required and optional properties.
139 
140 For each schema generated, include:
141 - All required properties for the chosen type
142 - Rich result preview showing expected SERP appearance
143 - Notes on which properties are required vs. optional
144 
145 When combining multiple schema types on one page, wrap them in a JSON array inside a single `<script type="application/ld+json">` tag.
146 
1473. **Provide Implementation and Validation**
148 
149 ```markdown
150 ## Implementation Guide
151 
152 ### Adding Schema to Your Page
153 
154 **Option 1: In HTML <head>**
155 ```html
156 <head>
157 <script type="application/ld+json">
158 [Your JSON-LD schema here]
159 </script>
160 </head>
161 ```
162 
163 **Option 2: Before closing </body>**
164 ```html
165 <script type="application/ld+json">
166 [Your JSON-LD schema here]
167 </script>
168 </body>
169 ```
170 
171 ### Validation Steps
172 
173 1. **~~schema validator**
174 - Test your live URL or paste code
175 - Check for errors and warnings
176 
177 2. **Schema.org Validator**
178 - URL: https://validator.schema.org/
179 - Validates against Schema.org spec
180 
181 3. **~~search console**
182 - Monitor rich results in ~~search console
183 - Check Enhancements reports for issues
184 
185 ### Validation Checklist
186 
187 - [ ] JSON syntax is valid (no trailing commas)
188 - [ ] All required properties present
189 - [ ] URLs are absolute, not relative
190 - [ ] Dates are in ISO 8601 format
191 - [ ] Content matches visible page content
192 - [ ] No policy violations
193 ```
194 
195## Validation Checkpoints
196 
197### Input Validation
198- [ ] Page URL or content provided
199- [ ] Schema type appropriate for content (Article for blog, Product for e-commerce, etc.)
200- [ ] All required data available (author, dates, prices, etc. depending on schema type)
201- [ ] Content eligibility for rich results confirmed
202 
203### Output Validation
204- [ ] JSON syntax validates (no trailing commas, proper quotes)
205- [ ] All required properties present for chosen schema type
206- [ ] URLs are absolute, not relative
207- [ ] Dates in ISO 8601 format (YYYY-MM-DDTHH:MM:SS+00:00)
208- [ ] Schema content matches visible page content exactly
209- [ ] Passes ~~schema validator with no errors
210- [ ] Source of each data point clearly stated (~~web crawler extraction, user-provided, or manual entry)
211 
212## Example
213 
214**User**: "Generate FAQ schema for a page about SEO with 3 questions"
215 
216**Output**:
217 
218```markdown
219## FAQ Schema for SEO Page
220 
221### Schema Markup
222 
223```json
224{
225 "@context": "https://schema.org",
226 "@type": "FAQPage",
227 "mainEntity": [
228 {
229 "@type": "Question",
230 "name": "What is SEO?",
231 "acceptedAnswer": {
232 "@type": "Answer",
233 "text": "SEO (Search Engine Optimization) is the practice of optimizing websites and content to rank higher in search engine results pages (SERPs). It involves technical optimizations, content creation, and link building to increase organic visibility and drive qualified traffic to your website."
234 }
235 },
236 {
237 "@type": "Question",
238 "name": "How long does SEO take to work?",
239 "acceptedAnswer": {
240 "@type": "Answer",
241 "text": "SEO typically takes 3-6 months to show significant results, though this varies based on competition, domain authority, and effort invested. New websites may take 6-12 months, while established sites with existing authority can see improvements in 1-3 months for less competitive keywords."
242 }
243 },
244 {
245 "@type": "Question",
246 "name": "Is SEO better than paid advertising?",
247 "acceptedAnswer": {
248 "@type": "Answer",
249 "text": "SEO and paid advertising serve different purposes. SEO provides sustainable, long-term traffic without per-click costs but takes time to build. Paid advertising delivers immediate results but stops when you stop paying. Most successful businesses use both: paid ads for immediate leads and SEO for long-term growth."
250 }
251 }
252 ]
253}
254```
255 
256_Implementation: Wrap the above JSON-LD in `<script type="application/ld+json">...</script>` and place in `<head>` or before `</body>`. Test with ~~schema validator._
257 
258### SERP Preview
259 
260```
261SEO Guide: Complete Beginner's Tutorial
262yoursite.com/seo-guide/
263Learn SEO from scratch with our comprehensive guide...
264 
265▼ What is SEO?
266 SEO (Search Engine Optimization) is the practice of optimizing...
267▼ How long does SEO take to work?
268 SEO typically takes 3-6 months to show significant results...
269▼ Is SEO better than paid advertising?
270 SEO and paid advertising serve different purposes...
271```
272```
273 
274## Schema Type Quick Reference
275 
276| Content Type | Schema Type | Key Properties |
277|--------------|-------------|----------------|
278| Blog Post | BlogPosting/Article | headline, datePublished, author |
279| Product | Product | name, price, availability |
280| FAQ | FAQPage | Question, Answer |
281| How-To | HowTo | step, totalTime |
282| Local Business | LocalBusiness | address, geo, openingHours |
283| Recipe | Recipe | ingredients, cookTime |
284| Event | Event | startDate, location |
285| Video | VideoObject | uploadDate, duration |
286| Course | Course | provider, name |
287| Review | Review | itemReviewed, ratingValue |
288 
289## Tips for Success
290 
2911. **Match visible content** - Schema must reflect what users see
2922. **Don't spam** - Only add schema for relevant content
2933. **Keep updated** - Update dates and prices when they change
2944. **Test thoroughly** - Validate before deploying
2955. **Monitor Search Console** - Watch for errors and warnings
296 
297## Schema Type Decision Tree
298 
299> **Reference**: See [references/schema-decision-tree.md](references/schema-decision-tree.md) for the full decision tree (content-to-schema mapping), industry-specific recommendations, implementation priority tiers (P0-P4), and validation quick reference.
300 
301 
302## Reference Materials
303 
304- [Schema Templates](references/schema-templates.md) - Copy-ready JSON-LD templates for all schema types
305- [Validation Guide](references/validation-guide.md) - Common errors, required properties, testing workflow
306 
307## Next Best Skill
308 
309- **Primary**: [seo-analysis](../seo-analysis/SKILL.md) — verify implementation with a technical SEO audit.
310 

Discussion

Alternatives

Also in SEO & keywordsSee all 364 in Marketing →