Every Drawer
All tools

JSON Schema Generator

Build a JSON Schema describing the shape of your sample JSON, with its types and required names.

How it works

Build a JSON Schema describing the shape of your sample JSON, with its types and required names.

  1. Paste your JSON in the box, or press Open a file.
  2. Read the schema in the result.
  3. Press Copy, or Save as a .json file.

Good to know

How are the types in the schema decided?

From your sample. Whole numbers become integer, other numbers become number, and every name in an object is marked required.

More like this