{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-account-campaign-score-schema.json",
  "title": "AccountCampaignScore",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-reporting-opportunityanalysis-1-0-accountcampaignscore-api-openapi.yml#/components/schemas/AccountCampaignScore",
  "type": "object",
  "properties": {
    "accountCampaignScoreId": {
      "format": "int32",
      "type": "integer"
    },
    "eloquaCampaignId": {
      "format": "int32",
      "type": "integer"
    },
    "accountId": {
      "format": "int32",
      "type": "integer"
    },
    "score": {
      "format": "double",
      "type": "number"
    },
    "lastModifiedDate": {
      "format": "date-time",
      "type": "string"
    },
    "account": {
      "$ref": "#/$defs/Account"
    }
  },
  "$defs": {
    "Account": {
      "type": "object",
      "properties": {
        "accountId": {
          "format": "int32",
          "type": "integer"
        },
        "accountName": {
          "type": "string"
        },
        "companyId": {
          "format": "int32",
          "type": "integer"
        },
        "accountSource": {
          "format": "int32",
          "type": "integer"
        },
        "lastModifiedDate": {
          "format": "date-time",
          "type": "string"
        },
        "accountEngagement": {
          "$ref": "#/$defs/AccountEngagement"
        }
      }
    },
    "AccountEngagement": {
      "type": "object",
      "properties": {
        "accountId": {
          "format": "int32",
          "type": "integer"
        },
        "accountContacts": {
          "format": "int32",
          "type": "integer"
        },
        "engagementScore": {
          "format": "double",
          "type": "number"
        },
        "engagementScorePrev": {
          "format": "double",
          "type": "number"
        },
        "engagedContacts": {
          "format": "int32",
          "type": "integer"
        },
        "reachableContacts": {
          "format": "int32",
          "type": "integer"
        },
        "lastModifiedDate": {
          "format": "date-time",
          "type": "string"
        },
        "account": {
          "$ref": "#/$defs/Account"
        }
      }
    }
  }
}