{
  "$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-batch-update-workload-estimate-usage-request-schema.json",
  "title": "BatchUpdateWorkloadEstimateUsageRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-workload-estimate-usage-api-openapi.yml#/components/schemas/BatchUpdateWorkloadEstimateUsageRequest",
  "type": "object",
  "properties": {
    "workloadEstimateId": {
      "type": "string",
      "description": "The ID of the Workload estimate for which you want to modify the usage lines."
    },
    "usage": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchUpdateWorkloadEstimateUsageEntry"
      },
      "description": "List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID."
    }
  },
  "required": [
    "workloadEstimateId",
    "usage"
  ],
  "$defs": {
    "BatchUpdateWorkloadEstimateUsageEntry": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the usage estimate to update."
        },
        "group": {
          "type": "string",
          "description": "The updated group identifier for the usage estimate."
        },
        "amount": {
          "type": "number",
          "description": "The updated estimated usage amount."
        }
      },
      "required": [
        "id"
      ]
    }
  }
}