schemaorg-validate 0.2.0

Parse and validate Schema.org structured data (JSON-LD, Microdata, RDFa) against the official vocabulary and Google Rich Results profiles.
Documentation
# FAQPage Profile

**Source:** [Google FAQ structured data](https://developers.google.com/search/docs/appearance/structured-data/faqpage)

## Supported Types

- `FAQPage`

## Required Fields

| Field | Description |
|-------|-------------|
| `mainEntity` | Array of `Question` entities |

## Nested Requirements: Question

| Field | Level | Description |
|-------|-------|-------------|
| `name` | Required | The question text |
| `acceptedAnswer` | Required | An `Answer` entity |
| `acceptedAnswer.text` | Required | The answer text |

## Eligibility Note

> Since August 2024, FAQ rich results are restricted to well-known government
> and health websites. Structurally valid FAQPage markup from other sites
> receives a **Restricted** eligibility verdict.

## Eligible Example (Restricted)

```json
{
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is a widget?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A widget is a small component."
      }
    }
  ]
}
```