{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-modify-capacity-reservation-result-schema.json",
  "title": "ModifyCapacityReservationResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-capacity-reservation-api-openapi.yml#/components/schemas/ModifyCapacityReservationResult",
  "type": "object",
  "properties": {
    "Return": {
      "type": "boolean",
      "description": "Returns true if the request succeeds; otherwise, it returns an error."
    },
    "AdjustmentStatus": {
      "type": "string",
      "enum": [
        "requested",
        "applied",
        "rejected"
      ],
      "description": "The status of the requested modification. For a description of each possible value, see the adjustmentStatus field of the CapacityReservation data type."
    },
    "AdjustmentDetails": {
      "$ref": "#/$defs/CapacityReservationAdjustmentDetails"
    }
  },
  "$defs": {
    "CapacityReservationAdjustmentDetails": {
      "type": "object",
      "properties": {
        "StartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The start date that the Capacity Reservation will have after the adjustment."
        },
        "EndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The end date that the Capacity Reservation will have after the adjustment."
        },
        "CommitmentEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time at which the commitment duration will expire after the adjustment."
        },
        "EndDateType": {
          "type": "string",
          "description": "Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are: unlimited - The Capacity Reservation remains active until you explicitly cancel it. limited - The Capacity Reservation expires automatically at the date and time given by endDate."
        },
        "CommitmentDuration": {
          "type": "integer",
          "description": "The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment."
        }
      }
    }
  }
}