The Schema Delivery Network (SDN) is SchemaGen’s core delivery engine. It separates your structured data from your website’s source code entirely—install a single script tag once, and every schema you create, edit, or remove takes effect immediately from the dashboard, with no code changes, CMS access, or developer involvement required.Documentation Index
Fetch the complete documentation index at: https://docs.schemagen.io/llms.txt
Use this file to discover all available pages before exploring further.
How the SDN works
When a visitor lands on a page of your site, the SchemaGen SDK (loaded via your script tag) sends a request to the SDN edge with your client ID and the current page URL. The SDN matches that URL against your published schemas and returns the appropriate JSON-LD, which the SDK injects directly into the page’s DOM before search engines crawl it.The SDK script uses the
async attribute, so it loads in the background and has no impact on your page’s rendering or Core Web Vitals scores.Installing the SDK
Add this single tag to the<head> of every page on your site—or use your CMS’s global head injection setting. Replace YOUR_CLIENT_ID with the client ID shown in your SchemaGen dashboard.
Edge-optimized delivery
The SDN runs on edge infrastructure, meaning schema requests are resolved at network locations geographically close to your visitors. In practice, this means:- Sub-100ms response times for schema fetches worldwide
- No caching of schema data (
Cache-Control: no-store)—so published changes and pauses take effect instantly on the next page load - Per-request tracing via
X-Schemagen-IDandX-Schemagen-Durationresponse headers, useful if you’re debugging delivery with your browser’s developer tools
Schema states
Every schema in your dashboard has one of three statuses. The status controls whether the SDN delivers it to your site.Draft
The schema is saved in your dashboard but not yet live. The SDN will never deliver a draft schema, regardless of URL targeting. Use this state to build and review before going live.
Published
The schema is live on the SDN. Whenever the SDK detects a page URL that matches this schema’s target, the JSON-LD is injected into the DOM. Changes to a published schema go live instantly.
Paused
The schema is temporarily removed from delivery without being deleted. The SDN stops serving it immediately, but all your data and settings are preserved. Unpause to resume delivery at any time.
The old way vs. the SDN way
Managing structured data without SchemaGen means your schema lives inside your codebase—tied to templates, CMS themes, or developer-managed JSON-LD files. Every change requires a ticket, a deployment, and a wait.| Situation | Without the SDN | With the SDN |
|---|---|---|
| Add a new schema to a page | File a developer ticket, wait for deployment | Publish from the dashboard in seconds |
| Fix a schema error | Find the template file, update it, redeploy | Edit the schema, save—live instantly |
| Remove a schema temporarily | Requires code change and deployment | Click Pause—removed from delivery immediately |
| Update schema across many pages | Repetitive, error-prone manual work | Update once, targeting applies everywhere |
What gets delivered
The SDN matches schemas to pages using thepageUrl field you set when creating or editing a schema. When the SDK requests schemas for a URL, the SDN returns only the published schemas whose target URL matches the current page. The SDK then injects each one as a separate <script type="application/ld+json"> block.
The inject API response includes:
schemas— the raw JSON-LD objects ready for injectionitems— full schema records including metadatameta— delivery metadata including API version, a unique request ID, and server timestamp
Next steps
Publishing schemas
Step-by-step guide to taking a draft schema live on the SDN.
Domain locking
Restrict which domains can receive schemas from your SDN client (Agency plan).