{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-describe-thing-type-response-schema.json",
  "title": "DescribeThingTypeResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-thing-types-api-openapi.yml#/components/schemas/DescribeThingTypeResponse",
  "type": "object",
  "properties": {
    "thingTypeName": {
      "type": "string",
      "description": "The name of the thing type."
    },
    "thingTypeId": {
      "type": "string",
      "description": "The thing type ID."
    },
    "thingTypeArn": {
      "type": "string",
      "description": "The thing type ARN."
    },
    "thingTypeProperties": {
      "$ref": "#/$defs/ThingTypeProperties"
    },
    "thingTypeMetadata": {
      "$ref": "#/$defs/ThingTypeMetadata"
    }
  },
  "$defs": {
    "Mqtt5Configuration": {
      "type": "object",
      "properties": {
        "propagatingAttributes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PropagatingAttribute"
          },
          "description": "An object that represents the propagating thing attributes and the connection attributes."
        }
      }
    },
    "PropagatingAttribute": {
      "type": "object",
      "properties": {
        "userPropertyKey": {
          "type": "string",
          "description": "The key of the user property key-value pair."
        },
        "thingAttribute": {
          "type": "string",
          "description": "The user-defined thing attribute that is propagating for MQTT 5 message enrichment."
        },
        "connectionAttribute": {
          "type": "string",
          "description": "The attribute associated with the connection between a device and Amazon Web Services IoT Core."
        }
      }
    },
    "ThingTypeMetadata": {
      "type": "object",
      "properties": {
        "deprecated": {
          "type": "boolean",
          "description": "Whether the thing type is deprecated. If true, no new things could be associated with this type."
        },
        "deprecationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the thing type was deprecated."
        },
        "creationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the thing type was created."
        }
      }
    },
    "ThingTypeProperties": {
      "type": "object",
      "properties": {
        "thingTypeDescription": {
          "type": "string",
          "description": "The description of the thing type."
        },
        "searchableAttributes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of searchable thing attribute names."
        },
        "mqtt5Configuration": {
          "$ref": "#/$defs/Mqtt5Configuration"
        }
      }
    }
  }
}