Schema compiler

One schema. Four runtimes. Zero hand-mapping.

Schema Gateway compiles a single JSON Schema into ready-to-paste request payloads for OpenAI, Gemini, Anthropic, and Ollama. Use it locally for free, then move to the shared signed API when CI or multiple engineers need the same compiler surface.

4 providers from one source schema
Live demo hosted proof before checkout
Signed output when the hosted API matters
schema-gateway compile \
  --schema ./schema.json \
  --target openai,gemini,anthropic,ollama \
  --name extraction_result
Public release v0.1.3 is live, and the hosted compiler is available at POST /v1/compile.
Interactive playground

Try the hosted compiler before you pay.

This public demo is intentionally limited, but it is real: compile only, small schemas, no API key, signed response. The goal is simple: the product should prove itself before anyone touches checkout.

12 KB request 6 KB schema Compile only
Source schema

Pick targets, adjust the schema, and run the compiler.

No signup Signed result
Buy Starter Access
Live output
The sample run loads automatically so the page feels alive instead of empty.

Loading a sample compile run...

Show raw demo bundle
Paid access unlocks the signed shared endpoints for /v1/compile, /v1/diff, /v1/lint, and /v1/normalize.
Upgrade path

Evaluate locally. Move to the hosted API when the team needs it.

Local CLI

Install from GitHub and run the compiler locally with no registry friction.

npm install https://github.com/sravan27/schema-gateway/releases/download/v0.1.3/apex-value-schema-gateway-core-0.1.3.tgz https://github.com/sravan27/schema-gateway/releases/download/v0.1.3/apex-value-schema-gateway-0.1.3.tgz
Hosted API

Use the same compiler and regression guardrail behind a stable signed endpoint once CI or multiple engineers depend on it.

curl -X POST https://schema-gateway.sridharsravan.workers.dev/v1/compile \
  -H 'content-type: application/json' \
  -H 'x-api-key: sk_live...' \
  -d '{"schema":{"type":"object","properties":{"city":{"type":"string"}}},"targets":["openai","gemini"]}'