{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-update-thing-groups-for-thing-request-schema.json",
  "title": "UpdateThingGroupsForThingRequest",
  "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/UpdateThingGroupsForThingRequest",
  "type": "object",
  "properties": {
    "thingName": {
      "type": "string",
      "description": "The thing whose group memberships will be updated."
    },
    "thingGroupsToAdd": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The groups to which the thing will be added."
    },
    "thingGroupsToRemove": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The groups from which the thing will be removed."
    },
    "overrideDynamicGroups": {
      "type": "boolean",
      "description": "Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group."
    }
  }
}