{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-usage-totals-response-schema.json",
  "title": "ListUsageTotalsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-usage-api-openapi.yml#/components/schemas/ListUsageTotalsResponse",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "The pagination parameter to be used on the next list operation to retrieve more items."
    },
    "totals": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UsageTotal"
      },
      "description": "An object with details on the total usage for the requested account."
    }
  },
  "$defs": {
    "Usage": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type scan."
        },
        "total": {
          "type": "number",
          "description": "The total of usage."
        },
        "estimatedMonthlyCost": {
          "type": "number",
          "description": "The estimated monthly cost of Amazon Inspector."
        },
        "currency": {
          "type": "string",
          "description": "The currency type used when calculating usage data."
        },
        "cloudProvider": {
          "type": "string",
          "description": "The cloud provider associated with the usage information."
        }
      }
    },
    "UsageTotal": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The account ID of the account that usage data was retrieved for."
        },
        "usage": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Usage"
          },
          "description": "An object representing the total usage for an account."
        }
      }
    }
  }
}