{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-list-bill-scenario-usage-modifications-request-schema.json",
  "title": "ListBillScenarioUsageModificationsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-bill-scenario-usage-modification-api-openapi.yml#/components/schemas/ListBillScenarioUsageModificationsRequest",
  "type": "object",
  "properties": {
    "billScenarioId": {
      "type": "string",
      "description": "The unique identifier of the bill scenario to list usage modifications for."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListUsageFilter"
      },
      "description": "Filters to apply to the list of usage modifications."
    },
    "nextToken": {
      "type": "string",
      "description": "A token to retrieve the next page of results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return per page."
    }
  },
  "required": [
    "billScenarioId"
  ],
  "$defs": {
    "ListUsageFilter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "USAGE_ACCOUNT_ID",
            "SERVICE_CODE",
            "USAGE_TYPE",
            "OPERATION",
            "LOCATION",
            "USAGE_GROUP",
            "HISTORICAL_USAGE_ACCOUNT_ID",
            "HISTORICAL_SERVICE_CODE",
            "HISTORICAL_USAGE_TYPE",
            "HISTORICAL_OPERATION",
            "HISTORICAL_LOCATION"
          ],
          "description": "The name of the filter attribute."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values to filter by."
        },
        "matchOption": {
          "type": "string",
          "enum": [
            "EQUALS",
            "STARTS_WITH",
            "CONTAINS"
          ],
          "description": "The match option for the filter (e.g., equals, contains)."
        }
      },
      "required": [
        "name",
        "values"
      ]
    }
  }
}