# JSON-LD Schema Generator (Entity @graph)

> Generates a connected JSON-LD @graph (entities + relationships), not isolated schema snippets.

**Category:** Entity & Schema · **Model:** Claude 3.5 Sonnet / GPT-4o · **Tier:** Free

**Use it when:** Marking up a page or brand entity for rich results and machine comprehension.

## Prompt
```
Generate valid, connected JSON-LD (schema.org) for this page as a single @graph.

PAGE TYPE: [e.g. Service / Article / LocalBusiness / Person]
PAGE URL: [URL]
KEY DETAILS:
"""
[PASTE details: name, description, author, offerings, location, sameAs profiles, etc.]
"""

Rules:
1. Use ONE @graph with entities linked via @id (don't emit disconnected blocks).
2. Model real relationships (author, publisher, provider, areaServed, sameAs, hasPart).
3. Only include properties you have real data for — no invented values.
4. Make it rich-result eligible where applicable.
5. Return the JSON-LD only, plus a one-line note on what rich results it targets.
```

## Why this works
A single disconnected schema block on a page is far less useful than a real @graph where every node shares a stable @id and references the others — that is what actually turns structured data into a machine-readable knowledge graph instead of isolated markup. This prompt is built around that graph structure specifically, not just filling in a schema template.

---
_Canonical page: [https://iliassami.com/prompts/schema-jsonld-generator](https://iliassami.com/prompts/schema-jsonld-generator) · Markdown generated on request from the live site content._
