{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-email-auto-click-schema.json",
  "title": "EmailAutoClick",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-reporting-activitydetails-1-0-emailautoclick-api-openapi.yml#/components/schemas/EmailAutoClick",
  "type": "object",
  "properties": {
    "emailAutoClickID": {
      "format": "int32",
      "type": "integer"
    },
    "eloquaCampaignID": {
      "format": "int32",
      "type": "integer"
    },
    "accountID": {
      "format": "int32",
      "type": "integer"
    },
    "contactID": {
      "format": "int32",
      "type": "integer"
    },
    "eloquaLinkedAccountID": {
      "format": "int32",
      "type": "integer"
    },
    "emailID": {
      "format": "int32",
      "type": "integer"
    },
    "segmentID": {
      "format": "int32",
      "type": "integer"
    },
    "sentDateHour": {
      "format": "date-time",
      "type": "string"
    },
    "firstClick": {
      "format": "int32",
      "type": "integer"
    },
    "clickDateHour": {
      "format": "date-time",
      "type": "string"
    },
    "baseUrlId": {
      "format": "int32",
      "type": "integer"
    },
    "contact": {
      "$ref": "#/$defs/Contact"
    }
  },
  "$defs": {
    "Contact": {
      "type": "object",
      "properties": {
        "contactId": {
          "format": "int32",
          "type": "integer"
        },
        "createdDate": {
          "format": "date-time",
          "type": "string"
        },
        "createdDateHour": {
          "format": "date-time",
          "type": "string"
        },
        "lastModifiedDate": {
          "format": "date-time",
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "emailAddress": {
          "type": "string"
        },
        "emailAddressDomain": {
          "type": "string"
        },
        "contactAddress1": {
          "type": "string"
        },
        "contactAddress2": {
          "type": "string"
        },
        "contactAddress3": {
          "type": "string"
        },
        "contactCity": {
          "type": "string"
        },
        "contactStateProv": {
          "type": "string"
        },
        "contactZipPostalCode": {
          "type": "string"
        },
        "contactCountry": {
          "type": "string"
        },
        "businessPhone": {
          "type": "string"
        },
        "salesPerson": {
          "type": "string"
        },
        "mobilePhone": {
          "type": "string"
        },
        "fax": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "leadSourceMostRecent": {
          "type": "string"
        },
        "leadSourceOriginal": {
          "type": "string"
        },
        "territory": {
          "type": "string"
        },
        "accountID": {
          "format": "int32",
          "type": "integer"
        },
        "eloquaLinkedAccountId": {
          "format": "int32",
          "type": "integer"
        }
      }
    }
  }
}