{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fatheron-dev/json-schema/fatheron-dev-create-lead-request-schema.json",
  "title": "CreateLeadRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fatheron-dev-leads-api-openapi.yml#/components/schemas/CreateLeadRequest",
  "properties": {
    "intent": {
      "type": "string",
      "enum": [
        "contact",
        "beta",
        "builders"
      ],
      "title": "Intent",
      "default": "contact"
    },
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "message": {
      "type": "string",
      "maxLength": 4000,
      "title": "Message",
      "default": ""
    },
    "consent": {
      "type": "boolean",
      "title": "Consent"
    },
    "source": {
      "type": "string",
      "maxLength": 64,
      "title": "Source",
      "default": "marketing"
    }
  },
  "type": "object",
  "required": [
    "name",
    "email",
    "consent"
  ]
}