Prompt → JSON Schema Generator

Examples: email: email, age: number min=0 max=120, role: enum(admin|editor|viewer), tags: string optional
{
  "$ref": "#/definitions/GeneratedSchema",
  "definitions": {
    "GeneratedSchema": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "age": {
          "type": "string"
        },
        "newsletterOptIn": {
          "type": "string"
        },
        "role": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "email",
        "age",
        "role"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}