{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kendra/json-schema/amazon-kendra-create-rescore-execution-plan-request-schema.json",
  "title": "CreateRescoreExecutionPlanRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-kendra-rescore-execution-plan-api-openapi.yml#/components/schemas/CreateRescoreExecutionPlanRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "A name for the rescore execution plan."
    },
    "Description": {
      "type": "string",
      "description": "A description for the rescore execution plan."
    },
    "CapacityUnits": {
      "$ref": "#/$defs/KendraRankingCapacityUnitsConfiguration"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/KendraRankingTag"
      },
      "description": "A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @."
    },
    "ClientToken": {
      "type": "string",
      "description": "A token that you provide to identify the request to create a rescore execution plan. Multiple calls to the CreateRescoreExecutionPlanRequest API with the same client token will create only one rescore execution plan."
    }
  },
  "required": [
    "Name"
  ],
  "$defs": {
    "KendraRankingCapacityUnitsConfiguration": {
      "type": "object",
      "properties": {
        "RescoreCapacityUnits": {
          "type": "integer",
          "description": "The amount of extra capacity for your rescore execution plan. A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units."
        }
      },
      "required": [
        "RescoreCapacityUnits"
      ]
    },
    "KendraRankingTag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for the tag. Keys are not case sensitive and must be unique."
        },
        "Value": {
          "type": "string",
          "description": "The value associated with the tag. The value can be an empty string but it can't be null."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}