JSON Schema Generator

Your workspaceProcessed on your device

A property is required when it appears in every sampled object at that position. Empty arrays leave items unconstrained. Review the inferred rules against your contract.

A few things to know.

Runs on this device with up to 4,194,304 input and output characters, 4 MiB per file, 128 nested levels and 500,000 JSON tokens. Observations infer types, required fields and optional format hints. The generated schema permits new properties and leaves ranges, enum values, dependencies and tuple positions unspecified.

  1. Paste representative JSON or open a local UTF-8 file. Use an array to show several examples at the same position.
  2. Choose the schema draft and whether to infer string format hints.
  3. Generate the schema and review required properties, mixed types and empty arrays before you copy or download it.