{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-describe-thing-type-response-schema.json",
  "title": "DescribeThingTypeResponse",
  "description": "The output for the DescribeThingType operation.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-thing-types-api-openapi.yml#/components/schemas/DescribeThingTypeResponse",
  "type": "object",
  "properties": {
    "thingTypeName": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingTypeName"
        },
        {
          "description": "The name of the thing type."
        }
      ]
    },
    "thingTypeId": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingTypeId"
        },
        {
          "description": "The thing type ID."
        }
      ]
    },
    "thingTypeArn": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingTypeArn"
        },
        {
          "description": "The thing type ARN."
        }
      ]
    },
    "thingTypeProperties": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingTypeProperties"
        },
        {
          "description": "The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names."
        }
      ]
    },
    "thingTypeMetadata": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingTypeMetadata"
        },
        {
          "description": "The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated."
        }
      ]
    }
  },
  "$defs": {
    "AttributeName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_.,@/:#-]+",
      "maxLength": 128
    },
    "Boolean": {
      "type": "boolean"
    },
    "CreationDate": {
      "type": "string",
      "format": "date-time"
    },
    "DeprecationDate": {
      "type": "string",
      "format": "date-time"
    },
    "SearchableAttributes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AttributeName"
      }
    },
    "ThingTypeArn": {
      "type": "string"
    },
    "ThingTypeDescription": {
      "type": "string",
      "pattern": "[\\p{Graph}\\x20]*",
      "maxLength": 2028
    },
    "ThingTypeId": {
      "type": "string"
    },
    "ThingTypeMetadata": {
      "type": "object",
      "properties": {
        "deprecated": {
          "allOf": [
            {
              "$ref": "#/$defs/Boolean"
            },
            {
              "description": "Whether the thing type is deprecated. If <b>true</b>, no new things could be associated with this type."
            }
          ]
        },
        "deprecationDate": {
          "allOf": [
            {
              "$ref": "#/$defs/DeprecationDate"
            },
            {
              "description": "The date and time when the thing type was deprecated."
            }
          ]
        },
        "creationDate": {
          "allOf": [
            {
              "$ref": "#/$defs/CreationDate"
            },
            {
              "description": "The date and time when the thing type was created."
            }
          ]
        }
      },
      "description": "The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated."
    },
    "ThingTypeName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "ThingTypeProperties": {
      "type": "object",
      "properties": {
        "thingTypeDescription": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingTypeDescription"
            },
            {
              "description": "The description of the thing type."
            }
          ]
        },
        "searchableAttributes": {
          "allOf": [
            {
              "$ref": "#/$defs/SearchableAttributes"
            },
            {
              "description": "A list of searchable thing attribute names."
            }
          ]
        }
      },
      "description": "The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names."
    }
  }
}