{
  "type": "object",
  "description": "The result of a log aggregation query.",
  "properties": {
    "results": {
      "type": "array",
      "description": "The aggregated log data grouped by the specified dimensions.",
      "example": [
        {
          "groupByFields": {},
          "count": 500
        }
      ],
      "items": {
        "type": "object",
        "description": "A single aggregation group result.",
        "properties": {
          "groupByFields": {
            "type": "object",
            "description": "The field values that define this aggregation group. Keys are the groupBy field names, values are the field values for this group.",
            "example": {}
          },
          "count": {
            "type": "integer",
            "description": "The number of log records in this aggregation group.",
            "format": "int64",
            "example": 500
          }
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LogAggregateResult"
}