{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/duebuddy-work/json-schema/duebuddy-work-lead-in-schema.json",
  "title": "LeadIn",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/duebuddy-work-openapi.json#/components/schemas/LeadIn",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "company": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Company"
    },
    "pages_per_month": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Pages Per Month"
    },
    "comment": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Comment"
    },
    "source": {
      "type": "string",
      "maxLength": 40,
      "title": "Source",
      "default": "site"
    },
    "consent": {
      "type": "boolean",
      "title": "Consent",
      "default": false
    },
    "consent_text": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Consent Text"
    },
    "lang": {
      "type": "string",
      "maxLength": 5,
      "title": "Lang",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "email"
  ]
}