{
  "$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-schema.json",
  "title": "AccountAggregation",
  "description": "An object that contains details about an aggregation response based on Amazon Web Services accounts.",
  "type": "object",
  "properties": {
    "findingType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AggregationFindingType"
        },
        {
          "description": "The type of finding."
        }
      ]
    },
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AggregationResourceType"
        },
        {
          "description": "The type of resource."
        }
      ]
    },
    "sortBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountSortBy"
        },
        {
          "description": "The value to sort by."
        }
      ]
    },
    "sortOrder": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SortOrder"
        },
        {
          "description": "The sort order (ascending or descending)."
        }
      ]
    }
  }
}