Checks the keywords this page lists.

Paste a schema and JSON data. Checks the keywords this page lists. Does not call a model.

Private ● Runs entirely on your device Runs entirely on your device. Nothing is uploaded.No account required.Nothing stored unless you choose to save it.
▸ More about

Uses of JSON Schema validation

  • Checking a model reply against a small schema before you trust the shape
  • Seeing which required field is missing
  • Confirming a number is an integer and inside a bound

JSON Schema validation pitfalls

  • Reading Valid as a full draft 2020-12 pass
  • Putting the data in the schema pane
  • Expecting format or pattern to be enforced

JSON Schema validation questions (4)

Which schema keywords are checked?

type, properties, required, items (a single schema, not a tuple), additionalProperties, enum, const, minimum, maximum, exclusiveMinimum, exclusiveMaximum, minLength, maxLength, minItems, and maxItems.

What happens to a keyword this page does not know?

It is listed as not checked. A result can still say Valid. That means the keywords above passed, not that format, pattern, or anyOf was applied.

Does a valid result mean an AI wrote correct JSON?

No. It means the JSON matches the keywords this page checks. ToyTools does not call a model, and it does not decide whether the data is the right business object.

Is the schema or the JSON uploaded?

No. Both panes are checked in your browser. Runs entirely on your device. Nothing is uploaded.

How to Validate JSON Against a Schema All Prep for a model