Jig No account · runs in your browser

JSON Schema check

Does the JSON fit?

Paste a JSON Schema and the JSON a model, tool call or API gave you. Jig lists every field that breaks the schema, with its exact path, and checks whether OpenAI, Claude and Gemini accept the schema in strict mode.

Try
Options

A code fence or text around the JSON is fine: Jig takes the JSON out of it. Nothing leaves this page.

JSON vs schema

Every error, with its path.

Drafts 2020-12, 2019-09, 07, 06 and 04 with $ref, anyOf, oneOf, if/then/else and formats. Each problem shows the JSON Pointer path, what was expected and what came back, and the retry message is ready to send back to the model. It gives the expected answer on 6,018 of 6,227 official test-suite cases.

Schema vs provider

Before strict mode says no.

OpenAI wants every field required and additionalProperties false everywhere. Claude rejects minimum, maxLength and recursion. Gemini silently drops maxLength and uniqueItems. Jig checks each documented rule, links the doc, and gives a copy each one accepts.

What it can't do

Fetch or guess.

External $ref URLs are not fetched, and the idn-email, idn-hostname and iri formats are not checked. Provider rules come from their docs as of Nov 18, 2026; providers also have unpublished size limits, so a huge schema can still be refused.

Use with AI

Check the JSON before it is used.

Add the MCP server https://jig.clawhard.com/mcp (tools jig_validate_json and jig_check_schema) to Claude, ChatGPT, Cursor or any MCP client, or call the JSON API described at /openapi.json. An agent can check a model's JSON before it writes it to a database or another API, and check a tool schema before sending it with strict mode on. Jig is also on the Clawhard MCP server at https://mcp.clawhard.com/mcp.

Use Jig with your AI

Add Jig to ChatGPT, Claude, Cursor or any assistant that supports MCP, then ask it to check JSON against a JSON Schema with every error and its path, and check whether OpenAI, Claude and Gemini strict modes accept a schema. No key, no login.

https://jig.clawhard.com/mcp

Claude Code

claude mcp add --transport http clawhard-jig https://jig.clawhard.com/mcp

Claude (web and desktop)

Press Add to Claude, or open Customize → Connectors → Add custom connector, paste the URL and leave sign-in empty.

ChatGPT

Open Plugins → + → Add custom MCP server, paste the URL, choose No authentication, accept the warning, then Create as a plugin. Start a chat and type @ to use it.

More ways to connect

Codex

codex mcp add clawhard-jig --url https://jig.clawhard.com/mcp

Gemini CLI

gemini mcp add --transport http clawhard-jig https://jig.clawhard.com/mcp

Cursor, Windsurf and others (mcp.json)

{
  "mcpServers": {
    "clawhard-jig": { "url": "https://jig.clawhard.com/mcp" }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "clawhard-jig": { "type": "http", "url": "https://jig.clawhard.com/mcp" }
  }
}

No desktop app? Add to VS Code in the browser · VS Code Insiders · Add to Cursor in the browser

Other apps: Goose · LM Studio. Any MCP client works with the URL (Streamable HTTP, no headers).

Common questions

Jig checks JSON against a JSON Schema and lists every problem with its exact path, expected value and a retry message for the model. It also checks the schema itself: valid JSON Schema or not, and whether OpenAI strict mode, Claude structured outputs and Gemini structured output accept it, with a converted copy for each. No account.

How do I validate JSON against a JSON Schema?

Paste the schema and the JSON into Jig and press Validate JSON. Each error shows the JSON Pointer path of the bad value (for example /items/3/price), the rule it breaks and what was expected. An AI assistant can do the same through the MCP tool jig_validate_json.

Why does OpenAI say my schema is invalid in strict mode?

Strict mode only accepts a subset of JSON Schema: every property must be listed in required (optional fields become nullable), every object needs additionalProperties: false, the root must be an object and not anyOf, and allOf, not and if/then/else are not supported. Jig lists each break with its path and gives a converted copy.

Why does Claude return a 400 for my tool schema with strict: true?

Claude structured outputs and strict tool use reject numeric constraints (minimum, maximum, multipleOf), string length constraints (minLength, maxLength), minItems above 1, recursive schemas and additionalProperties other than false, and limit a request to 24 optional and 16 union-typed parameters across strict schemas. Jig counts them and moves unsupported constraints into descriptions, like Anthropic's SDK helpers.

Does Gemini enforce maxLength in a response schema?

No. Gemini's docs say minLength, maxLength, minProperties, maxProperties, uniqueItems, contains, minContains and maxContains are stripped without an error, so the model can break them. Jig flags them so you can check those rules in your code.

Can an AI assistant use Jig?

Yes. Add the MCP server https://jig.clawhard.com/mcp (tools jig_validate_json and jig_check_schema) or call the JSON API at /openapi.json. It is also on the Clawhard MCP server at https://mcp.clawhard.com/mcp.

For AI assistants and developers: llms.txt · API (OpenAPI) · MCP server · sitemap