SEO Optimization
schema_generate
Implement Schema.org structured data markup
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| page_type | string | Optional | — | Type: 'article', 'product', 'how-to', 'faq', 'review', 'organization'. Auto-detected if not specified. |
| content_summary | string | Optional | — | Brief summary of page content. Can analyze content automatically. |
Example
Generate article schema:
Request
{
"page_type": "article",
"content_summary": "A comprehensive guide to React Hooks"
}Response
{
"schema_type": "Article",
"json_ld": {
"@context": "https://schema.org",
"@type": "Article",
"headline": "React Hooks: A Complete Guide",
"description": "A comprehensive guide to React Hooks",
"author": {
"@type": "Organization",
"name": "Your Site Name"
},
"datePublished": "2024-01-15",
"dateModified": "2024-01-15"
},
"implementation": "<script type=\"application/ld+json\">...</script>",
"validation_url": "https://validator.schema.org"
}Tips
Best Practices
- Auto-detects page type from content
- Article schema is common for blog posts
- HowTo schema great for tutorials
- FAQ schema for question-answer content