{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-list-things-response-schema.json",
  "title": "ListThingsResponse",
  "description": "The output from the ListThings operation.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-things-api-openapi.yml#/components/schemas/ListThingsResponse",
  "type": "object",
  "properties": {
    "things": {
      "allOf": [
        {
          "$ref": "#/$defs/ThingAttributeList"
        },
        {
          "description": "The things."
        }
      ]
    },
    "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": {
    "AttributeValue": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_.,@/:#-]*",
      "maxLength": 800
    },
    "Attributes": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AttributeValue"
      }
    },
    "NextToken": {
      "type": "string"
    },
    "ThingArn": {
      "type": "string"
    },
    "ThingAttribute": {
      "type": "object",
      "properties": {
        "thingName": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingName"
            },
            {
              "description": "The name of the thing."
            }
          ]
        },
        "thingTypeName": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingTypeName"
            },
            {
              "description": "The name of the thing type, if the thing has been associated with a type."
            }
          ]
        },
        "thingArn": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingArn"
            },
            {
              "description": "The thing ARN."
            }
          ]
        },
        "attributes": {
          "allOf": [
            {
              "$ref": "#/$defs/Attributes"
            },
            {
              "description": "A list of thing attributes which are name-value pairs."
            }
          ]
        },
        "version": {
          "allOf": [
            {
              "$ref": "#/$defs/Version"
            },
            {
              "description": "The version of the thing record in the registry."
            }
          ]
        }
      },
      "description": "The properties of the thing, including thing name, thing type name, and a list of thing attributes."
    },
    "ThingAttributeList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ThingAttribute"
      }
    },
    "ThingName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "ThingTypeName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "Version": {
      "type": "integer"
    }
  }
}