{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-wisdom-assistantassociation.json",
  "title": "AWSWisdomAssistantAssociationProperties",
  "description": "Definition of AWS::Wisdom::AssistantAssociation Resource Type. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-wisdom-assistantassociation.json",
    "sourceSha256": "6cd6497043681a802f453e9db71d1a87960906ef8b1f711614d34b45ff86e283"
  },
  "type": "object",
  "properties": {
    "AssistantId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Association": {
      "$ref": "#/$defs/AssociationData"
    },
    "AssociationType": {
      "$ref": "#/$defs/AssociationType"
    },
    "Tags": {
      "insertionOrder": false,
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "type": "array"
    }
  },
  "typeName": "AWS::Wisdom::AssistantAssociation",
  "replacementStrategy": "delete_then_create",
  "additionalProperties": false,
  "taggable": false,
  "required": [
    "Association",
    "AssociationType",
    "AssistantId"
  ],
  "readOnlyProperties": [
    "/properties/AssistantAssociationId",
    "/properties/AssistantAssociationArn",
    "/properties/AssistantArn"
  ],
  "createOnlyProperties": [
    "/properties/Association",
    "/properties/AssociationType",
    "/properties/AssistantId",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/AssistantAssociationId",
    "/properties/AssistantId"
  ],
  "additionalIdentifiers": [
    [
      "/properties/AssistantAssociationArn",
      "/properties/AssistantArn"
    ]
  ],
  "$defs": {
    "AssociationData": {
      "type": "object",
      "properties": {
        "KnowledgeBaseId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "KnowledgeBaseId"
      ],
      "title": "AWSWisdomAssistantAssociationAssociationDataDefinition",
      "additionalProperties": false
    },
    "AssociationType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "KNOWLEDGE_BASE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSWisdomAssistantAssociationAssociationTypeDefinition"
    },
    "Tag": {
      "title": "AWSWisdomAssistantAssociationTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "maxLength": 128,
              "minLength": 1,
              "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}
