{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-list-processed-files-request-schema.json",
  "title": "ListProcessedFilesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-workspaces-api-openapi.yml#/components/schemas/ListProcessedFilesRequest",
  "type": "object",
  "required": [
    "action",
    "workspaceId"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "list-processed-files"
      ],
      "description": "Action type"
    },
    "workspaceId": {
      "type": "string",
      "format": "uuid",
      "description": "Workspace to list processed files for"
    },
    "pageSize": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25,
      "description": "Number of records per page"
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opaque pagination cursor from a prior response's `nextCursor` (omit for the first page)"
    },
    "specId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Filter to a single data spec"
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "Filter to a processing status (e.g. processed)"
    },
    "fileName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Keep only files whose name contains this substring (case-sensitive)"
    },
    "dqOnly": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Keep only files that have at least one data-quality issue"
    },
    "startTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Lower bound (inclusive) on when the file was processed, ISO 8601"
    },
    "endTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Upper bound (inclusive) on when the file was processed, ISO 8601"
    }
  }
}