Toolbox · Structured output

JSON schema inspector

A workflow that expects JSON will happily accept a string where a number belongs until something downstream breaks. Paste the model's output beside the schema it should satisfy: the inspector parses it, walks the tree, and names every missing field, wrong type and undeclared key.

react-json-view-liteRuns in your browserNothing uploaded

Twenty-five instruments on one bench.

Live tool

Offline · nothing leaves this tab

Model output (JSON)

Expected schema (optional)

Parsed structure

7 keys · depth 4

{
    title:"Q4 review summary",
    score:"eighty-two",
    findings:[
      {
        severity:"high",
        message:"Two claims are unsourced."
      },
      {
        severity:"low",
        message:"One table row is shifted."
      }
    ]
}

Schema drift hides until deploy

Models are good at producing something that looks like the shape you asked for. A field comes back as a string instead of a number, a nested object is flattened, a required array is missing because the model had nothing to put in it. None of that is visible in a chat transcript and all of it fails quietly the first time a consumer reads the value.

The inspector makes the difference visible: the tree shows exactly what came back, and the validation panel shows where it departs from the schema you pasted beside it.

What is checked

Parsing, first — malformed JSON is reported with the parser's own message, since everything downstream depends on it. Then the schema subset a workflow usually declares: type on every property (including integer against number), required fields per object, nested properties, array items, and additionalProperties set to false for keys that should not exist.

Each finding carries its path, so a missing title inside the second finding reads findings[1].title rather than a vague complaint about the document.

The limits of a structural check

This validates shape, not meaning. Ranges, formats, enumerations and cross-field rules are outside what it enforces here, and a schema-compliant payload can still describe the wrong thing entirely. Use it to stop the cheap failures — the null where a list belongs, the key that changed spelling between runs — and keep the content review elsewhere.

Questions about this tool

Which schema features are supported?
type, required, properties, items and additionalProperties. Formats, ranges and enumerations are shown in the tree but not enforced.
Is the schema required?
No. Without one the inspector still parses the output and shows its structure, depth and key count.
Is my data uploaded?
No. Parsing and validation happen in this tab; nothing is sent to a server.

Toolbox

Fix the prose here, then check what the prose cannot show.

The console runs structural, claim and formatting checks on the same draft, and a named reviewer takes on anything with consequences.