{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/damdafa-com/json-schema/damdafa-com-track-lead-request-schema.json",
  "title": "TrackLeadRequest",
  "description": "Request payload from the Landing Page when a user clicks 'Download' or 'Go to App'.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foto-damdafa-com-openapi.json#/components/schemas/TrackLeadRequest",
  "properties": {
    "action_source": {
      "type": "string",
      "title": "Action Source",
      "description": "Where the action occurred (e.g. 'website')",
      "default": "website"
    },
    "event_source_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Source Url",
      "description": "The URL the user was on"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email",
      "description": "Optional email if they provided one"
    },
    "fbc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fbc",
      "description": "Facebook Click ID cookie (_fbc)"
    },
    "fbp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fbp",
      "description": "Facebook Browser ID cookie (_fbp)"
    },
    "event_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Id",
      "description": "Event ID generated on frontend for CAPI deduplication"
    },
    "fbclid": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fbclid",
      "description": "Raw Facebook Click ID from URL"
    }
  },
  "type": "object"
}