{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-account-aggregation-response-schema.json",
  "title": "AccountAggregationResponse",
  "description": "An aggregation of findings by Amazon Web Services account ID.",
  "type": "object",
  "properties": {
    "accountId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountId"
        },
        {
          "description": "The Amazon Web Services account ID."
        }
      ]
    },
    "severityCounts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SeverityCounts"
        },
        {
          "description": "The number of findings by severity."
        }
      ]
    }
  }
}