Data toolLocal only

JSON Schema Generator

Infer a JSON Schema (draft-07) from any JSON sample — format detection, required fields, nested objects.
JSON Input
Generated Schema
{
  "$schema": "https://json-schema.org/draft-07/schema#",
  "title": "MyModel",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string",
      "examples": [
        "Ada Lovelace"
      ]
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "active": {
      "type": "boolean"
    },
    "score": {
      "type": "number"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "engineer"
        ]
      }
    },
    "address": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "examples": [
            "London"
          ]
        },
        "country": {
          "type": "string",
          "examples": [
            "GB"
          ]
        }
      },
      "required": [
        "city",
        "country"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name",
    "email",
    "active",
    "score",
    "tags",
    "address",
    "createdAt"
  ],
  "additionalProperties": false
}