{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-athena/json-schema/amazon-athena-create-capacity-reservation-input-schema.json",
  "title": "CreateCapacityReservationInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-athena-capacity-reservation-api-openapi.yml#/components/schemas/CreateCapacityReservationInput",
  "type": "object",
  "properties": {
    "TargetDpus": {
      "type": "integer",
      "description": "The number of requested data processing units."
    },
    "Name": {
      "type": "string",
      "description": "The name of the capacity reservation to create."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags for the capacity reservation."
    }
  },
  "required": [
    "TargetDpus",
    "Name"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource."
        },
        "Value": {
          "type": "string",
          "description": "A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive."
        }
      }
    }
  }
}