{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-list-assets-request-schema.json",
  "title": "ListAssetsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-assets-api-openapi.yml#/components/schemas/ListAssetsRequest",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "The token to be used for the next set of paginated results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return for each paginated request. Default: 50"
    },
    "assetModelId": {
      "type": "string",
      "description": "The ID of the asset model by which to filter the list of assets. This parameter is required if you choose ALL for filter. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide."
    },
    "filter": {
      "type": "string",
      "enum": [
        "ALL",
        "TOP_LEVEL"
      ],
      "description": "The filter for the requested list of assets. Choose one of the following options: ALL – The list includes all assets for a given asset model ID. The assetModelId parameter is required if you filter by ALL. TOP_LEVEL – The list includes only top-level assets in the asset hierarchy tree. Default: ALL"
    }
  }
}