{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iot-thingtype.json",
  "title": "AWSIoTThingTypeProperties",
  "description": "Resource Type definition for AWS::IoT::ThingType. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iot-thingtype.json",
    "sourceSha256": "320dd039c66c2a4e409714dbbc49cbe5e3978294877401a0e40e0c78bec0a728"
  },
  "type": "object",
  "properties": {
    "ThingTypeName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "[a-zA-Z0-9:_-]+",
          "minLength": 1,
          "maxLength": 128
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DeprecateThingType": {
      "type": "boolean"
    },
    "ThingTypeProperties": {
      "type": "object",
      "properties": {
        "SearchableAttributes": {
          "type": "array",
          "maxItems": 3,
          "uniqueItems": true,
          "insertionOrder": true,
          "items": {
            "type": "string",
            "pattern": "[a-zA-Z0-9_.,@/:#-]+",
            "maxLength": 128
          }
        },
        "ThingTypeDescription": {
          "oneOf": [
            {
              "pattern": "[\\p{Graph}\\x20]*",
              "type": "string",
              "maxLength": 2028
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "Tags": {
      "description": "An array of key-value pairs to apply to this resource.",
      "type": "array",
      "maxItems": 50,
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::IoT::ThingType",
  "primaryIdentifier": [
    "/properties/ThingTypeName"
  ],
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSIoTThingTypeTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/ThingTypeName",
    "/properties/ThingTypeProperties"
  ],
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/Id"
  ]
}
