FAQPage schema markup structures your question-and-answer content for Google Search. As of 2024, Google restricts FAQPage rich results to government and health websites — other sites may still use this schema for semantic markup but will not receive FAQ rich results. Valid FAQPage structured data requires a mainEntity array with properly formatted Question and Answer objects.
As of 2024, Google restricts FAQPage rich results to government and health websites. Other sites can still use FAQPage for semantic markup purposes.
| Property | Type | Description |
|---|---|---|
mainEntityrich result | Question array | The list of Q&A pairs. Each Question must have name (the question) and acceptedAnswer with text (the answer). Answers can include HTML. |
Rich result type: FAQ dropdown (restricted to gov/health since 2024)
Requirements: Required: mainEntity array with Question objects, each having name (question text) and acceptedAnswer with text. Rich results only for gov/health domains.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is SchemaCheck?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SchemaCheck is a REST API for validating Schema.org JSON-LD structured data against Google's rich result requirements."
}
},
{
"@type": "Question",
"name": "How many validations are included in the free plan?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The free plan includes 100 validations per month. No credit card required."
}
}
]
}Validate this schema against Google's requirements in one API call:
curl "https://schemacheck.dev/api/v1/validate" \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonld":{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is SchemaCheck?","acceptedAnswer":{"@type":"Answer","text":"SchemaCheck is a REST API for validating Schema.org JSON-LD structured data against Google's rich result requirements."}},{"@type":"Question","name":"How many validations are included in the free plan?","acceptedAnswer":{"@type":"Answer","text":"The free plan includes 100 validations per month. No credit card required."}}]}}'100 free validations/month. No credit card required.