{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OutAgentStatistics",
  "title": "OutAgentStatistics",
  "required": [
    "channels"
  ],
  "type": "object",
  "properties": {
    "intervalStartTime": {
      "type": "integer",
      "description": "Time in GMT",
      "format": "int64",
      "example": 1591702200000
    },
    "agentId": {
      "type": "string",
      "description": "The ID of the agent.",
      "example": "06ce7234-dd3e-49e2-8763-d93766739d"
    },
    "agentName": {
      "type": "string",
      "description": "The name of the agent",
      "example": "Daniel Garrett"
    },
    "teamId": {
      "type": "string",
      "description": "The ID of the team.",
      "example": "fbf80248-b328-4c37-9ea5-4c2ec8b4d52c"
    },
    "teamName": {
      "type": "string",
      "description": "Name of the team to which agent belongs.",
      "example": "Collaboration"
    },
    "channels": {
      "type": "array",
      "description": "Channel-level statistics for the agent.",
      "items": {
        "$ref": "#/components/schemas/ChannelResponse"
      }
    }
  },
  "description": "List of Agent Statistics records retrieved according to query parameters."
}