How to Use JSON Schema Shape Viewer: Steps and a Worked Example

By 1 min read

See the shape of a JSON document: each key with the type of its value. This guide shows what to enter, a worked example, and the limits to keep in mind. The JSON Schema Shape Viewer tool is free, needs no account and runs in your browser.

What you need

  • JSON

Step by step

  1. Open the JSON Schema Shape Viewer tool.
  2. Fill in JSON.
  3. Read the result, which updates as soon as the inputs change.

Worked example

the tool returns:

{
  "id": "number",
  "name": "string",
  "tags": {
    "type": "array",
    "items": "string"
  },
  "profile": {

How it works

Paste JSON to get the same structure with types such as string, number and boolean in place of values.

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try JSON Formatter, JSON Validator or CSV to JSON Converter.

More from the blog