{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-list-thing-groups-response-schema.json",
  "title": "ListThingGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-thing-groups-api-openapi.yml#/components/schemas/ListThingGroupsResponse",
  "type": "object",
  "properties": {
    "thingGroups": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingGroupNameAndArnList"
        },
        {
          "description": "The thing groups."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "The token to use to get the next set of results. Will not be returned if operation has returned all results."
        }
      ]
    }
  },
  "$defs": {
    "GroupNameAndArn": {
      "type": "object",
      "properties": {
        "groupName": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingGroupName"
            },
            {
              "description": "The group name."
            }
          ]
        },
        "groupArn": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingGroupArn"
            },
            {
              "description": "The group ARN."
            }
          ]
        }
      },
      "description": "The name and ARN of a group."
    },
    "NextToken": {
      "type": "string"
    },
    "ThingGroupArn": {
      "type": "string"
    },
    "ThingGroupName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "ThingGroupNameAndArnList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroupNameAndArn"
      }
    }
  }
}