{·}OUTPUT CONTRACT INSPECTOR

LOCAL STRUCTURE CHECK / 01

Validate AI JSON.
Check the contract.

Validate AI-generated JSON against a schema contract.
Your JSON stays in this tab’s memory.

01 Paste response → 02 Define contract → 03 Inspect

JSON WORKSPACE ⌘ / Ctrl + Enter to inspect
Ready to inspectDraft 2020-12 subset · fail-fast · no coercion

01Response JSON

256 KiB maximum
Raw input preserved · JSON only

02Schema contract

64 KiB maximum
Explicit subset · unsupported keywords rejected

Diagnostic rail —

Run an inspection to connect contract errors to response paths.

Validation stops at the first failing check. Fix it, then inspect again.

Value tree

(root)

Parsed values appear here after inspection.

WORKING BOUNDARIES

One explicit contract.
No hidden repairs.

How to validate AI-generated JSON

  1. Paste the JSON response from your AI model or application.
  2. Paste a JSON Schema contract using the supported keywords.
  3. Select Inspect contract to find missing fields, wrong types and extra properties.
  4. Correct the input and inspect again. A structural pass does not verify factual accuracy.

Paste plain JSON and an object or boolean schema. An omitted dialect uses Draft 2020-12; other dialects are rejected. Use type explicitly: type-specific constraints do not constrain unrelated value types. Examples are original, fictional fixtures.

Inputs are never saved, sent to a model, or added to URLs. Copied diagnostics may include property names and parser excerpts; review them before sharing. Clear removes this workspace’s input and diagnostics; it cannot retract text you already copied.

Supported keywords

Read the supported-schema and diagnostic guide ↗

type · properties · required · additionalProperties · items · minItems · maxItems · minLength · maxLength · minimum · maximum · exclusiveMinimum · exclusiveMaximum · enum · const · allOf · anyOf · oneOf · not · title · description · $schema

Limits & exclusions

Depth 32, 2,000 schema nodes, 100 entries per schema array, and a 2-second terminable worker. No references, patterns, formats, custom keywords, defaults, coercion or repair. Declaring __proto__ in a properties map is unsupported. Duplicate keys, nonfinite numbers, unsafe integers and number underflow are rejected. Other decimals use JavaScript floating-point precision.

The tree shows at most 300 nodes and 100 children per branch. Compilation needs runtime code generation; a restrictive CSP may prevent inspection. No CSP is weakened to enable it.

Methodology: JSON Schema 2020-12 · Ajv dialect documentation · Ajv security guidance. Checked 2 October 2026. The installed validator is Ajv 8.20.0, verified against its package and lockfile on 9 November 2026. It uses the MIT license. Original copy, fixtures and interface; no third-party datasets or graphics imported.