{
  "$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-workload-estimates-request-schema.json",
  "title": "ListWorkloadEstimatesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-workload-estimate-api-openapi.yml#/components/schemas/ListWorkloadEstimatesRequest",
  "type": "object",
  "properties": {
    "createdAtFilter": {
      "$ref": "#/$defs/FilterTimestamp"
    },
    "expiresAtFilter": {
      "$ref": "#/$defs/FilterTimestamp"
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListWorkloadEstimatesFilter"
      },
      "description": "Filters to apply to the list of workload estimates."
    },
    "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."
    }
  },
  "$defs": {
    "FilterTimestamp": {
      "type": "object",
      "properties": {
        "afterTimestamp": {
          "type": "string",
          "description": "Include results after this timestamp."
        },
        "beforeTimestamp": {
          "type": "string",
          "description": "Include results before this timestamp."
        }
      }
    },
    "ListWorkloadEstimatesFilter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "STATUS",
            "NAME"
          ],
          "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"
      ]
    }
  }
}