{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-create-chat-response-configuration-request-schema.json",
  "title": "CreateChatResponseConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-chatresponseconfigurations-api-openapi.yml#/components/schemas/CreateChatResponseConfigurationRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The unique identifier of the Amazon Q Business application for which to create the new chat response configuration."
    },
    "displayName": {
      "type": "string",
      "description": "A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations."
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same configuration from being created multiple times if retries occur."
    },
    "responseConfigurations": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ResponseConfiguration"
      },
      "description": "A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services."
    }
  },
  "required": [
    "applicationId",
    "displayName",
    "responseConfigurations"
  ],
  "$defs": {
    "InstructionCollection": {
      "type": "object",
      "properties": {
        "responseLength": {
          "type": "string",
          "description": "Specifies the desired length of responses generated by Amazon Q Business. This parameter allows administrators to control whether responses are concise and brief or more detailed and comprehensive."
        },
        "targetAudience": {
          "type": "string",
          "description": "Defines the intended audience for the responses, allowing Amazon Q Business to tailor its language, terminology, and explanations appropriately. This could range from technical experts to general users with varying levels of domain knowledge."
        },
        "perspective": {
          "type": "string",
          "description": "Determines the point of view or perspective from which Amazon Q Business generates responses, such as first-person, second-person, or third-person perspective, affecting how information is presented to users."
        },
        "outputStyle": {
          "type": "string",
          "description": "Specifies the formatting and structural style of responses, such as bullet points, paragraphs, step-by-step instructions, or other organizational formats that enhance readability and comprehension."
        },
        "identity": {
          "type": "string",
          "description": "Defines the persona or identity that Amazon Q Business should adopt when responding to users, allowing for customization of the assistant's character, role, or representation within an organization."
        },
        "tone": {
          "type": "string",
          "description": "Controls the emotional tone and communication style of responses, such as formal, casual, technical, friendly, or professional, to align with organizational communication standards and user expectations."
        },
        "customInstructions": {
          "type": "string",
          "description": "Allows administrators to provide specific, custom instructions that guide how Amazon Q Business should respond in particular scenarios or to certain types of queries, enabling fine-grained control over response generation."
        }
      }
    },
    "ResponseConfiguration": {
      "type": "object",
      "properties": {
        "instructionCollection": {
          "$ref": "#/$defs/InstructionCollection"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q Business application or data source."
        },
        "value": {
          "type": "string",
          "description": "The value associated with the tag. The value may be an empty string but it can't be null."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}