CLAUDE.md
Overview
Structured data validator: extract, parse, and validate JSON-LD, Microdata, and RDFa markup against schema.org vocabulary.
Quick Start
Scripts
| Script |
Purpose |
schema_validator.py |
Extract and validate structured data |
base_client.py |
Shared utilities |
Usage
Supported Formats
| Format |
Detection |
| JSON-LD |
<script type="application/ld+json"> |
| Microdata |
itemscope, itemtype, itemprop |
| RDFa |
vocab, typeof, property |
Validation Levels
1. Syntax Validation
- Valid JSON structure
- Proper nesting
- No syntax errors
2. Schema.org Vocabulary
- Valid @type values
- Known properties
- Correct property types
3. Google Rich Results
- Required properties present
- Recommended properties
- Feature-specific requirements
Schema Types Validated
| Type |
Required Properties |
Rich Result |
| Article |
headline, author, datePublished |
Yes |
| Product |
name, offers |
Yes |
| LocalBusiness |
name, address |
Yes |
| FAQPage |
mainEntity |
Yes |
| Organization |
name, url |
Yes |
| BreadcrumbList |
itemListElement |
Yes |
| WebSite |
name, url |
Sitelinks |
Output
Issue Severity
| Level |
Description |
| Error |
Invalid schema, blocks rich results |
| Warning |
Missing recommended property |
| Info |
Optimization suggestion |
Dependencies
Notion Output (Required)
IMPORTANT: All audit reports MUST be saved to the OurDigital SEO Audit Log database.
Database Configuration
Required Properties
| Property |
Type |
Description |
| Issue |
Title |
Report title (Korean + date) |
| Site |
URL |
Audited website URL |
| Category |
Select |
Technical SEO, On-page SEO, Performance, Schema/Structured Data, Sitemap, Robots.txt, Content, Local SEO |
| Priority |
Select |
Critical, High, Medium, Low |
| Found Date |
Date |
Audit date (YYYY-MM-DD) |
| Audit ID |
Rich Text |
Format: [TYPE]-YYYYMMDD-NNN |
Language Guidelines
- Report content in Korean (한국어)
- Keep technical English terms as-is (e.g., SEO Audit, Core Web Vitals, Schema Markup)
- URLs and code remain unchanged
Example MCP Call