{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-list-asset-relationships-request-schema.json",
  "title": "ListAssetRelationshipsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-operations-api-openapi.yml#/components/schemas/ListAssetRelationshipsRequest",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "The ID of the asset. 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."
    },
    "traversalType": {
      "type": "string",
      "enum": [
        "PATH_TO_ROOT"
      ],
      "description": "The type of traversal to use to identify asset relationships. Choose the following option: PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you specify in assetId is the first result in the list of assetRelationshipSummaries, and the root asset is the last result."
    },
    "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."
    }
  },
  "required": [
    "assetId",
    "traversalType"
  ]
}