{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-visitor-view-data-rest20-schema.json",
  "title": "QueryResultVisitorViewData",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-visitors-api-openapi.yml#/components/schemas/QueryResultVisitorViewDataRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of visitor data.",
      "items": {
        "$ref": "#/$defs/Eloqua.API.REST.Contracts.Data.Visitors.VisitorViewDataRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "Eloqua.API.REST.Contracts.Data.Visitors.VisitorViewDataRest20": {
      "title": "Eloqua.API.REST.Contracts.Data.Visitors.VisitorViewData",
      "properties": {
        "type": {
          "type": "string",
          "description": "The visitor's type in Eloqua."
        },
        "visitorId": {
          "type": "string",
          "description": "The Id of the visitor profile."
        },
        "createdAt": {
          "type": "string",
          "description": "The date and time the visitor was created, expressed in Unix time."
        },
        "contactId": {
          "type": "string",
          "description": "The contact record Id associated to this profile, if any."
        },
        "id": {
          "type": "integer",
          "description": "The id of the visitor."
        }
      }
    }
  }
}