{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-twinmaker/json-schema/amazon-iot-twinmaker-list-entities-request-schema.json",
  "title": "ListEntitiesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-twinmaker-operations-api-openapi.yml#/components/schemas/ListEntitiesRequest",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "The ID of the workspace."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListEntitiesFilter"
      },
      "description": "A list of objects that filter the request. Only one object is accepted as a valid input."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return at one time. The default is 25. Valid Range: Minimum value of 1. Maximum value of 250."
    },
    "nextToken": {
      "type": "string",
      "description": "The string that specifies the next page of results."
    }
  },
  "required": [
    "workspaceId"
  ],
  "$defs": {
    "ListEntitiesFilter": {
      "type": "object",
      "properties": {
        "parentEntityId": {
          "type": "string",
          "description": "The parent of the entities in the list."
        },
        "componentTypeId": {
          "type": "string",
          "description": "The ID of the component type in the entities in the list."
        },
        "externalId": {
          "type": "string",
          "description": "The external-Id property of a component. The external-Id property is the primary key of an external storage system."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}