# Schema markup generator

> Use when you need valid structured data for a specific page and want no invented fields.

## Fill in before running

- `{{PAGE_URL}}`
- `{{PAGE_TYPE}}`
- `{{PAGE_FACTS}}`
- `{{ORG}}`

## Prompt

```
You are generating JSON-LD structured data.

Page URL: {{PAGE_URL}}
Page type: {{PAGE_TYPE}}
Page content or key facts: {{PAGE_FACTS}}
Organisation name and URL: {{ORG}}

Produce:
1. The recommended schema type or types, with one line explaining why each applies.
2. A complete JSON-LD block ready to paste into the head, using only facts present in {{PAGE_FACTS}}.
3. A list of recommended properties you could not fill, with the exact information needed to fill each.
4. A validation checklist of things to confirm before publishing.

Rules:
- Never invent ratings, review counts, author names, dates, prices or availability. If it is not in the supplied facts, leave the property out and list it in section 3.
- Every value in the markup must correspond to something visible on the page. Say so explicitly if any supplied fact is not visible.
- Do not add schema types that the page does not genuinely qualify for, even if they trigger rich results.
- Output the JSON-LD in a single code block with no commentary inside it.
```

## Getting a better result

- Paste the visible page copy, not a description of it, so every property maps to real on-page text.
- Run the output through the Rich Results Test before deploying - the model cannot validate for you.
- Section 3 is the useful part: it tells you what content the page is actually missing.

---

From the QuQi prompt library - https://www.quqi.io/prompts/schema-markup-generator
