{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-create-assistant-request-schema.json",
  "title": "CreateAssistantRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-assistants-api-openapi.yml#/components/schemas/CreateAssistantRequest",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs."
    },
    "name": {
      "type": "string",
      "description": "The name of the assistant."
    },
    "type": {
      "type": "string",
      "description": "The type of assistant."
    },
    "description": {
      "type": "string",
      "description": "The description of the assistant."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags used to organize, track, or control access for this resource."
    },
    "serverSideEncryptionConfiguration": {
      "$ref": "#/$defs/ServerSideEncryptionConfiguration"
    }
  },
  "required": [
    "name",
    "type"
  ],
  "$defs": {
    "ReplicaKmsKey": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key in the replica Region."
        }
      },
      "required": [
        "arn"
      ]
    },
    "ServerSideEncryptionConfiguration": {
      "type": "object",
      "properties": {
        "kmsKeyId": {
          "type": "string",
          "description": "The customer managed key used for encryption. For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance. For information about valid ID values, see Key identifiers (KeyId)."
        },
        "replicaKmsKeys": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReplicaKmsKey"
          },
          "description": "The list of KMS keys used to encrypt data for this resource's replicas in other Amazon Web Services Regions. Each entry corresponds to a Region where a replica is configured."
        }
      }
    }
  }
}