{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-list-tasks-request-schema.json",
  "title": "ListTasksRequest",
  "description": "Request object for listing tasks for a namespace.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudera-lakehouseopt-api-openapi.yml#/components/schemas/ListTasksRequest",
  "type": "object",
  "required": [
    "datahubCrn",
    "namespace"
  ],
  "properties": {
    "datahubCrn": {
      "type": "string",
      "description": "The CRN of the CLO Data Hub."
    },
    "namespace": {
      "type": "string",
      "description": "Namespace name to filter tasks."
    },
    "pageSize": {
      "type": "integer",
      "format": "int32",
      "default": 1,
      "minimum": 1,
      "maximum": 100,
      "x-paging-page-size": true,
      "description": "The number of tasks."
    },
    "pageToken": {
      "type": "string",
      "x-paging-input-token": true,
      "description": "A token to specify where to start paginating. This is the nextToken from a previously truncated response."
    }
  }
}