{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daon/json-schema/daon-process-archive-query-request-dto-schema.json",
  "title": "ProcessArchiveQueryRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daon-process-archive-search-api-openapi.yml#/components/schemas/ProcessArchiveQueryRequestDto",
  "type": "object",
  "properties": {
    "processInstanceId": {
      "type": "string"
    },
    "processTokenId": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "reviewedBy": {
      "type": "string"
    },
    "processDefinitionId": {
      "type": "string"
    },
    "processDefinitionName": {
      "type": "string"
    },
    "processDefinitionVersion": {
      "type": "integer",
      "format": "int32"
    },
    "externalId": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "dateOfBirth": {
      "type": "string"
    },
    "phoneNumber": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "nationality": {
      "type": "string"
    },
    "docNum1": {
      "type": "string"
    },
    "docNum2": {
      "type": "string"
    },
    "docNum3": {
      "type": "string"
    },
    "docNum4": {
      "type": "string"
    },
    "docNum5": {
      "type": "string"
    },
    "policyName": {
      "type": "string"
    },
    "policyId": {
      "type": "string"
    },
    "policyVersion": {
      "type": "integer",
      "format": "int32"
    },
    "archiveKey": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "removeAfterDate": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "fromTime": {
      "type": "string",
      "format": "date-time"
    },
    "toTime": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "fromTime",
    "toTime"
  ]
}