{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yunqi/json-schema/yunqi-task-data-file-info-list-request-schema.json",
  "title": "TaskDataFileInfoListRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yunqi-scheduletask-api-openapi.yml#/components/schemas/TaskDataFileInfoListRequest",
  "type": "object",
  "properties": {
    "projectId": {
      "title": "项目空间id，与workspace二选一",
      "type": "integer",
      "format": "int64"
    },
    "status": {
      "title": "是否部署 1:是 0:否",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int32"
      }
    },
    "name": {
      "title": "任务名",
      "type": "string"
    },
    "ownerNames": {
      "title": "文件责任人",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ownerIds": {
      "title": "文件责任人Ids",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "fileTypes": {
      "title": "文件任务类型",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "VIRTUAL",
          "PROJECT_EMPTY_TASK",
          "DATA_INTEGRATION",
          "SPARK",
          "HIVE",
          "LAKE_HOUSE",
          "SHELL",
          "HTTP_CONTROLLER",
          "PYTHON3",
          "PYTHON2",
          "STREAM_DATA_INTEGRATION",
          "JDBC",
          "CDC",
          "CDC_REALTIME",
          "ACTUAL_INTEGRATION"
        ]
      }
    },
    "folderName": {
      "title": "只搜索文件夹",
      "type": "string"
    },
    "fileIdForRelation": {
      "title": "文件id,搜索上/下游",
      "type": "integer",
      "format": "int64"
    },
    "folderIds": {
      "title": "文件夹列表",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "workspace": {
      "type": [
        "string",
        "null"
      ],
      "title": "工作空间"
    },
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "title": "schema"
    },
    "tenantId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "title": "账号ID"
    },
    "userId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "title": "用户ID"
    },
    "instance": {
      "type": [
        "string",
        "null"
      ],
      "title": "实例名"
    },
    "pageIndex": {
      "type": "integer",
      "default": 1
    },
    "pageSize": {
      "type": "integer",
      "default": 10
    },
    "orderBy": {
      "type": "string",
      "title": "DESC/ASC"
    },
    "sortBy": {
      "type": "string",
      "title": "排序字段"
    }
  },
  "required": [
    "workspace",
    "instance",
    "pageIndex",
    "pageSize"
  ]
}