{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-describe-thing-group-response-schema.json",
  "title": "DescribeThingGroupResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-thing-groups-api-openapi.yml#/components/schemas/DescribeThingGroupResponse",
  "type": "object",
  "properties": {
    "thingGroupName": {
      "type": "string",
      "description": "The name of the thing group."
    },
    "thingGroupId": {
      "type": "string",
      "description": "The thing group ID."
    },
    "thingGroupArn": {
      "type": "string",
      "description": "The thing group ARN."
    },
    "version": {
      "type": "integer",
      "description": "The version of the thing group."
    },
    "thingGroupProperties": {
      "$ref": "#/$defs/ThingGroupProperties"
    },
    "thingGroupMetadata": {
      "$ref": "#/$defs/ThingGroupMetadata"
    },
    "indexName": {
      "type": "string",
      "description": "The dynamic thing group index name."
    },
    "queryString": {
      "type": "string",
      "description": "The dynamic thing group search query string."
    },
    "queryVersion": {
      "type": "string",
      "description": "The dynamic thing group query version."
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "BUILDING",
        "REBUILDING"
      ],
      "description": "The dynamic thing group status."
    }
  },
  "$defs": {
    "AttributePayload": {
      "type": "object",
      "properties": {
        "attributes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A JSON string containing up to three key-value pair in JSON format. For example: {\\\"attributes\\\":{\\\"string1\\\":\\\"string2\\\"}}"
        },
        "merge": {
          "type": "boolean",
          "description": "Specifies whether the list of attributes provided in the AttributePayload is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call UpdateThing with an empty attribute value. The merge attribute is only valid when calling UpdateThing or UpdateThingGroup."
        }
      }
    },
    "GroupNameAndArn": {
      "type": "object",
      "properties": {
        "groupName": {
          "type": "string",
          "description": "The group name."
        },
        "groupArn": {
          "type": "string",
          "description": "The group ARN."
        }
      }
    },
    "ThingGroupMetadata": {
      "type": "object",
      "properties": {
        "parentGroupName": {
          "type": "string",
          "description": "The parent thing group name."
        },
        "rootToParentThingGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GroupNameAndArn"
          },
          "description": "The root parent thing group."
        },
        "creationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX timestamp of when the thing group was created."
        }
      }
    },
    "ThingGroupProperties": {
      "type": "object",
      "properties": {
        "thingGroupDescription": {
          "type": "string",
          "description": "The thing group description."
        },
        "attributePayload": {
          "$ref": "#/$defs/AttributePayload"
        }
      }
    }
  }
}