{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentictrade-io/json-schema/agentictrade-io-download-gate-request-schema.json",
  "title": "DownloadGateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentictrade-io-email-api-openapi.yml#/components/schemas/DownloadGateRequest",
  "properties": {
    "email": {
      "type": "string",
      "maxLength": 254,
      "minLength": 5,
      "title": "Email",
      "description": "Email address"
    },
    "source": {
      "type": "string",
      "maxLength": 50,
      "title": "Source",
      "default": "website"
    },
    "locale": {
      "type": "string",
      "maxLength": 10,
      "title": "Locale",
      "description": "Preferred locale (auto-detected if empty)",
      "default": ""
    },
    "consent": {
      "type": "boolean",
      "title": "Consent",
      "description": "Explicit consent to receive marketing emails. Must be True.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "email"
  ]
}