{
  "openapi": "3.1.1",
  "info": {
    "title": "Microblink Platform Agent API",
    "description": "The Agent API is the server-side part of the Microblink Platform API. Call it from your backend to start\ntransactions, create verification links, and read, update, anonymize, or delete transactions.",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.eu.platform.microblink.com/agent",
      "description": "EU"
    },
    {
      "url": "https://api.us-east.platform.microblink.com/agent",
      "description": "US East"
    }
  ],
  "paths": {
    "/api/v2/service-trace/{serviceTraceId}": {
      "get": {
        "tags": [
          "ExtServiceTrace"
        ],
        "operationId": "GET_ExtServiceTrace_GetById",
        "parameters": [
          {
            "name": "serviceTraceId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Trace of a single workflow-step call to an external verification service.",
                  "$ref": "#/components/schemas/ExtServiceTraceModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/service-trace": {
      "get": {
        "tags": [
          "ExtServiceTrace"
        ],
        "operationId": "GET_ExtServiceTrace_GetPageByOrganization",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "startedOn.min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "startedOn.max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "startedOn.minBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "startedOn.maxBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "startedOn.isEmpty",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isOpenEnded",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isNegative",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.containsZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isDateTime",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isNumeric",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "transactionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "schema": {
              "enum": [
                "Ascending",
                "Descending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageResponse_ExtServiceTraceModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/service-trace/extended": {
      "get": {
        "tags": [
          "ExtServiceTrace"
        ],
        "operationId": "GET_ExtServiceTrace_GetExtendedPageByOrganization",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "startedOn.min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "startedOn.max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "startedOn.minBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "startedOn.maxBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "startedOn.isEmpty",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isOpenEnded",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isNegative",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.containsZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isDateTime",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "startedOn.isNumeric",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "transactionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "schema": {
              "enum": [
                "Ascending",
                "Descending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageResponse_ExtServiceTraceModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/monitor": {
      "get": {
        "tags": [
          "Monitor"
        ],
        "operationId": "GET_Monitor_GetPage",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "monitorId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFlagged",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "workflowId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "createdOn.min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "createdOn.max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "createdOn.minBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "createdOn.maxBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "createdOn.isEmpty",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isOpenEnded",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isNegative",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.containsZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isDateTime",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isNumeric",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "lastRunOn.max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "lastRunOn.minBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "lastRunOn.maxBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "lastRunOn.isEmpty",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.isOpenEnded",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.isNegative",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.containsZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.isDateTime",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "lastRunOn.isNumeric",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "runBetween.max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "runBetween.minBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "runBetween.maxBoundary",
            "in": "query",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "runBetween.isEmpty",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.isOpenEnded",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.isNegative",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.containsZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.isDateTime",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runBetween.isNumeric",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "monitorStatus",
            "in": "query",
            "schema": {
              "enum": [
                "Active",
                "Suspended",
                "Deleted"
              ],
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "schema": {
              "enum": [
                "Ascending",
                "Descending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageResponse_UserProfileMonitorModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/monitor/{monitorId}": {
      "get": {
        "tags": [
          "Monitor"
        ],
        "operationId": "GET_Monitor_GetMonitor",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "monitorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Summary of a single PEP/AML/watchlist monitor as seen from a user profile.",
                  "$ref": "#/components/schemas/UserProfileMonitorModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/monitor/{monitorId}/deactivate": {
      "patch": {
        "tags": [
          "Monitor"
        ],
        "operationId": "PATCH_Monitor_DeactivateMonitor",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "monitorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/monitor/stats": {
      "get": {
        "tags": [
          "Monitor"
        ],
        "operationId": "GET_Monitor_GetById",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Aggregate counts of PEP/AML monitors within a scope.",
                  "$ref": "#/components/schemas/MonitorStatsModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/monitor/{monitorId}/blob/{blobId}/content": {
      "get": {
        "tags": [
          "MonitorBlob"
        ],
        "operationId": "GET_MonitorBlob_GetBlobContent",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "monitorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "blobId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/transaction/{transactionId}": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "summary": "Get a transaction by ID",
        "operationId": "GET_Transaction_GetById",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "description": "The ID of the transaction.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The transaction.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Represents a verification transaction, including its workflow context, status, state, and associated metadata.",
                  "$ref": "#/components/schemas/TransactionModel"
                }
              }
            }
          },
          "404": {
            "description": "No transaction with this ID exists.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Transaction"
        ],
        "summary": "Delete a transaction",
        "operationId": "DELETE_Transaction_Delete",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "description": "The ID of the transaction.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The transaction was deleted."
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/transaction": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "summary": "List an organization's transactions",
        "operationId": "GET_Transaction_GetPageByOrganization",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "description": "The ID of the organization whose transactions to list.",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "Restricts results to the transaction with this identifier.",
            "schema": {
              "type": "string",
              "example": "01988877-9797-7be0-a889-b071c4a13292"
            },
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          {
            "name": "workflowId",
            "in": "query",
            "description": "Restricts results to transactions running this workflow.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "Restricts results to transactions belonging to this end user.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "correlationId",
            "in": "query",
            "description": "Restricts results to transactions with this client-provided correlation identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "createdOn.min",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "createdOn.max",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "createdOn.minBoundary",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "createdOn.maxBoundary",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "createdOn.isEmpty",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isOpenEnded",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isNegative",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.containsZero",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isDateTime",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "createdOn.isNumeric",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.min",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "modifiedOn.max",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "modifiedOn.minBoundary",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "modifiedOn.maxBoundary",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "enum": [
                "Inclusive",
                "Exclusive"
              ],
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "modifiedOn.isEmpty",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.isOpenEnded",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.isNegative",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.containsZero",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.isDateTime",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "modifiedOn.isNumeric",
            "in": "query",
            "description": "Paging, sorting, and filtering options.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "transactionStatus",
            "in": "query",
            "description": "Restricts results to transactions matching any of these status flags.",
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "InProgress",
                  "Passed",
                  "Rejected",
                  "ManualReview",
                  "NotCompleted",
                  null
                ],
                "type": [
                  "null",
                  "string"
                ]
              }
            }
          },
          {
            "name": "processingStatus",
            "in": "query",
            "description": "Restricts results to transactions with any of these processing statuses.",
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "Unknown",
                  "Pending",
                  "Interactive",
                  "InProgress",
                  "Complete",
                  "Retrying",
                  "Error",
                  null
                ],
                "type": [
                  "null",
                  "string"
                ]
              }
            }
          },
          {
            "name": "verificationStatus",
            "in": "query",
            "description": "Restricts results to transactions with any of these verification statuses.",
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "Unknown",
                  "Accept",
                  "Reject",
                  "Review",
                  null
                ],
                "type": [
                  "null",
                  "string"
                ]
              }
            }
          },
          {
            "name": "originalVerificationStatus",
            "in": "query",
            "description": "Restricts results to transactions whose original (pre-manual-review) verification status matches any of these values.",
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "Unknown",
                  "Accept",
                  "Reject",
                  "Review",
                  null
                ],
                "type": [
                  "null",
                  "string"
                ]
              }
            }
          },
          {
            "name": "usedWorkflowSteps",
            "in": "query",
            "description": "Restricts results to transactions that executed any of these workflow steps.",
            "schema": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "isDeleted",
            "in": "query",
            "description": "Restricts results by whether the transaction has been soft-deleted.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "withState",
            "in": "query",
            "description": "Whether to include each transaction's full state data in the results.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The 1-based page number to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "The number of items to return per page.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "The name of the field to sort results by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "description": "The direction to sort results in.",
            "schema": {
              "enum": [
                "Ascending",
                "Descending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the organization's transactions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageResponse_TransactionModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/transaction": {
      "post": {
        "tags": [
          "Transaction"
        ],
        "summary": "Start a transaction",
        "operationId": "POST_Transaction_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Request body used to start a new transaction for a given workflow.",
                "$ref": "#/components/schemas/TransactionStartModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The SDK configuration to pass to the SDK so it can continue the transaction.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Wraps a transaction position as a single opaque, Base64-encoded string, intended to be handed to\nan SDK as a portable configuration token. Unlike Idv.Api.Agent.Models.V2.TransactionPositionModel, this only\never serializes to Idv.Api.Agent.Models.V2.TransactionEncodedPositionModel.SdkConfiguration - the position's individual fields are not\nexposed directly, only encoded inside that token.",
                  "$ref": "#/components/schemas/TransactionEncodedPositionModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/transaction/{transactionId}/verification-status": {
      "put": {
        "tags": [
          "Transaction"
        ],
        "summary": "Set a transaction's verification status",
        "operationId": "PUT_Transaction_SetSuccessStatus",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "description": "The ID of the transaction.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new verification status and an optional comment.",
          "content": {
            "application/json": {
              "schema": {
                "description": "Request body used to manually set a transaction's verification status.",
                "$ref": "#/components/schemas/UpdateTransactionVerificationStatusModel"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The verification status was updated."
          },
          "404": {
            "description": "No transaction with this ID exists.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/transaction/{transactionId}/anonymize": {
      "put": {
        "tags": [
          "Transaction"
        ],
        "summary": "Anonymize a transaction",
        "operationId": "PUT_Transaction_Anonymize",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "description": "The ID of the transaction.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The transaction fields that were anonymized.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "description": "Identifies a transaction field that was anonymized during retention/deletion processing.",
                    "$ref": "#/components/schemas/TransactionAnonymizeModel"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/transaction/{transactionId}/blob/{blobId}/content": {
      "get": {
        "tags": [
          "TransactionBlob"
        ],
        "operationId": "GET_TransactionBlob_GetBlobContent",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "blobId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/initialize/{workflowId}/info": {
      "get": {
        "tags": [
          "TransactionInit"
        ],
        "operationId": "GET_TransactionInit_GetInfo",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Summarizes the workflow that will drive a transaction, before the transaction has started executing.",
                  "$ref": "#/components/schemas/TransactionInitializationInfo"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/initialize/{workflowId}/cancel": {
      "post": {
        "tags": [
          "TransactionInit"
        ],
        "operationId": "POST_TransactionInit_Cancel",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Client-reported event about a workflow's lifecycle (e.g. abandonment) outside a transaction.",
                "$ref": "#/components/schemas/WorkflowEventModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/organization/{organizationId}/userprofile": {
      "get": {
        "tags": [
          "UserProfile"
        ],
        "operationId": "GET_UserProfile_GetPageByOrganization",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "schema": {
              "enum": [
                "Ascending",
                "Descending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageResponse_UserProfileModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/userprofile/{id}": {
      "get": {
        "tags": [
          "UserProfile"
        ],
        "operationId": "GET_UserProfile_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{24}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Aggregated view of a user across all their transactions and monitors.",
                  "$ref": "#/components/schemas/UserProfileModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/verification-link/{verificationLinkId}": {
      "get": {
        "tags": [
          "VerificationLink"
        ],
        "summary": "Get a verification link by ID",
        "operationId": "GET_VerificationLink_GetById",
        "parameters": [
          {
            "name": "verificationLinkId",
            "in": "path",
            "description": "The ID of the verification link, as returned when it was created.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The verification link.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "A shareable link that a user can open to run a transaction remotely.",
                  "$ref": "#/components/schemas/VerificationLinkModel"
                }
              }
            }
          },
          "404": {
            "description": "No verification link with this ID exists.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    },
    "/api/v2/verification-link": {
      "post": {
        "tags": [
          "VerificationLink"
        ],
        "summary": "Create a verification link",
        "operationId": "POST_VerificationLink_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Request body used to create a verification link that a user can open to run a transaction remotely.",
                "$ref": "#/components/schemas/VerificationLinkCreateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The ID and URL of the new verification link.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "A newly created verification link.",
                  "$ref": "#/components/schemas/VerificationLinkCreatedModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProblemDetails"
                    },
                    {
                      "$ref": "#/components/schemas/HttpValidationProblemDetails"
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": [
              "idv-api"
            ]
          },
          {
            "bearer": [
              "idv-api"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AmlResult": {
        "type": "object",
        "properties": {
          "score": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "identifier": {
            "type": [
              "null",
              "string"
            ]
          },
          "individualName": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceAgencyAcronym": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceAgencyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceListType": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceParentAgency": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceRegion": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceCountry": {
            "type": [
              "null",
              "string"
            ]
          },
          "subjectMatched": {
            "type": [
              "null",
              "string"
            ]
          },
          "url": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "BarcodeChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "read": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "BarcodeInfo": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "BarcodeResult": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "BaseBlobRef": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": "string"
          },
          "id": {
            "type": [
              "null",
              "string"
            ]
          },
          "contentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "content": {
            "type": [
              "null",
              "string"
            ],
            "description": "Blob bytes. For API boundary only (e.g. base64, multipart before upload). Must not be set when stored in grain state or returned from grain RPC; use descriptor + stream APIs (e.g. OpenBlobReadStreamAsync) instead.",
            "format": "byte"
          },
          "size": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "BaseResult": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": "string"
          },
          "score": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          },
          "matchType": {
            "enum": [
              "No_Match",
              "Partial_Match",
              "Match",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "scoreDescription": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "BlinkCardData": {
        "type": "object",
        "properties": {
          "number": {
            "type": [
              "null",
              "string"
            ]
          },
          "owner": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "imageFront": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "imageBack": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "expirationDate": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "BlinkCardLivenessResult": {
        "type": "object",
        "properties": {
          "front": {
            "$ref": "#/components/schemas/BlinkCardSingleSideLivenessResult"
          },
          "back": {
            "$ref": "#/components/schemas/BlinkCardSingleSideLivenessResult"
          }
        },
        "additionalProperties": false
      },
      "BlinkCardSingleSideLivenessResult": {
        "type": "object",
        "properties": {
          "screenCheck": {
            "enum": [
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "photocopyCheck": {
            "enum": [
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "handPresenceCheck": {
            "enum": [
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "BlinkCardWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "liveness": {
            "description": "Liveness/anti-spoofing check results for the captured card images.",
            "$ref": "#/components/schemas/BlinkCardLivenessResult"
          },
          "cardData": {
            "description": "The card data extracted from the captured images.",
            "$ref": "#/components/schemas/BlinkCardData"
          },
          "isCardNumberValid": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the captured card number passed checksum/format validation."
          },
          "isCardExpired": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the captured card has expired."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of a BlinkCard capture step: liveness checks and the extracted card data."
      },
      "BlinkIdDriverLicenseDetailedInfo": {
        "type": "object",
        "properties": {
          "restrictions": {
            "type": [
              "null",
              "string"
            ]
          },
          "endorsements": {
            "type": [
              "null",
              "string"
            ]
          },
          "vehicleClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "conditions": {
            "type": [
              "null",
              "string"
            ]
          },
          "vehicleClassesInfo": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/BlinkIdVehicleClassInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "BlinkIdExtraction": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "firstNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "fullNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ]
          },
          "addressNormalized": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateOfIssue": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateOfExpiry": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "sex": {
            "type": [
              "null",
              "string"
            ]
          },
          "driverLicenseDetailedInfo": {
            "$ref": "#/components/schemas/BlinkIdDriverLicenseDetailedInfo"
          },
          "fullDocumentFrontImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "fullDocumentBackImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "faceImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "additionalNameInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "additionalAddressInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "placeOfBirth": {
            "type": [
              "null",
              "string"
            ]
          },
          "nationality": {
            "type": [
              "null",
              "string"
            ]
          },
          "race": {
            "type": [
              "null",
              "string"
            ]
          },
          "religion": {
            "type": [
              "null",
              "string"
            ]
          },
          "profession": {
            "type": [
              "null",
              "string"
            ]
          },
          "maritalStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "residentialStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "employer": {
            "type": [
              "null",
              "string"
            ]
          },
          "personalIdNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentAdditionalNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "issuingAuthority": {
            "type": [
              "null",
              "string"
            ]
          },
          "localizedName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfExpiryPermanent": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "additionalPersonalIdNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "barcode": {
            "$ref": "#/components/schemas/BarcodeInfo"
          },
          "signatureImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "documentOptionalAdditionalNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "fathersName": {
            "type": [
              "null",
              "string"
            ]
          },
          "mothersName": {
            "type": [
              "null",
              "string"
            ]
          },
          "additionalOptionalAddressInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "bloodType": {
            "type": [
              "null",
              "string"
            ]
          },
          "sponsor": {
            "type": [
              "null",
              "string"
            ]
          },
          "visaType": {
            "type": [
              "null",
              "string"
            ]
          },
          "numberOfEntries": {
            "type": [
              "null",
              "string"
            ]
          },
          "durationOfStay": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentSubtype": {
            "type": [
              "null",
              "string"
            ]
          },
          "remarks": {
            "type": [
              "null",
              "string"
            ]
          },
          "residencePermitType": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "enum": [
              "None",
              "Albania",
              "Algeria",
              "Argentina",
              "Australia",
              "Austria",
              "Azerbaijan",
              "Bahrain",
              "Bangladesh",
              "Belgium",
              "BosniaAndHerzegovina",
              "Brunei",
              "Bulgaria",
              "Cambodia",
              "Canada",
              "Chile",
              "Colombia",
              "CostaRica",
              "Croatia",
              "Cyprus",
              "Czechia",
              "Denmark",
              "DominicanRepublic",
              "Egypt",
              "Estonia",
              "Finland",
              "France",
              "Georgia",
              "Germany",
              "Ghana",
              "Greece",
              "Guatemala",
              "HongKong",
              "Hungary",
              "India",
              "Indonesia",
              "Ireland",
              "Israel",
              "Italy",
              "Jordan",
              "Kazakhstan",
              "Kenya",
              "Kosovo",
              "Kuwait",
              "Latvia",
              "Lithuania",
              "Malaysia",
              "Maldives",
              "Malta",
              "Mauritius",
              "Mexico",
              "Morocco",
              "Netherlands",
              "NewZealand",
              "Nigeria",
              "Pakistan",
              "Panama",
              "Paraguay",
              "Philippines",
              "Poland",
              "Portugal",
              "PuertoRico",
              "Qatar",
              "Romania",
              "Russia",
              "SaudiArabia",
              "Serbia",
              "Singapore",
              "Slovakia",
              "Slovenia",
              "SouthAfrica",
              "Spain",
              "Sweden",
              "Switzerland",
              "Taiwan",
              "Thailand",
              "Tunisia",
              "Turkey",
              "Uae",
              "Uganda",
              "Uk",
              "Ukraine",
              "Usa",
              "Vietnam",
              "Brazil",
              "Norway",
              "Oman",
              "Ecuador",
              "ElSalvador",
              "SriLanka",
              "Peru",
              "Uruguay",
              "Bahamas",
              "Bermuda",
              "Bolivia",
              "China",
              "EuropeanUnion",
              "Haiti",
              "Honduras",
              "Iceland",
              "Japan",
              "Luxembourg",
              "Montenegro",
              "Nicaragua",
              "SouthKorea",
              "Venezuela",
              "Afghanistan",
              "AlandIslands",
              "AmericanSamoa",
              "Andorra",
              "Angola",
              "Anguilla",
              "Antarctica",
              "AntiguaAndBarbuda",
              "Armenia",
              "Aruba",
              "BailiwickOfGuernsey",
              "BailiwickOfJersey",
              "Barbados",
              "Belarus",
              "Belize",
              "Benin",
              "Bhutan",
              "BonaireSaintEustatiusAndSaba",
              "Botswana",
              "BouvetIsland",
              "BritishIndianOceanTerritory",
              "BurkinaFaso",
              "Burundi",
              "Cameroon",
              "CapeVerde",
              "CaribbeanNetherlands",
              "CaymanIslands",
              "CentralAfricanRepublic",
              "Chad",
              "ChristmasIsland",
              "CocosIslands",
              "Comoros",
              "Congo",
              "CookIslands",
              "Cuba",
              "Curacao",
              "DemocraticRepublicOfTheCongo",
              "Djibouti",
              "Dominica",
              "EastTimor",
              "EquatorialGuinea",
              "Eritrea",
              "Ethiopia",
              "FalklandIslands",
              "FaroeIslands",
              "FederatedStatesOfMicronesia",
              "Fiji",
              "FrenchGuiana",
              "FrenchPolynesia",
              "FrenchSouthernTerritories",
              "Gabon",
              "Gambia",
              "Gibraltar",
              "Greenland",
              "Grenada",
              "Guadeloupe",
              "Guam",
              "Guinea",
              "GuineaBissau",
              "Guyana",
              "HeardIslandAndMcdonaldIslands",
              "Iran",
              "Iraq",
              "IsleOfMan",
              "IvoryCoast",
              "Jamaica",
              "Kiribati",
              "Kyrgyzstan",
              "Laos",
              "Lebanon",
              "Lesotho",
              "Liberia",
              "Libya",
              "Liechtenstein",
              "Macau",
              "Madagascar",
              "Malawi",
              "Mali",
              "MarshallIslands",
              "Martinique",
              "Mauritania",
              "Mayotte",
              "Moldova",
              "Monaco",
              "Mongolia",
              "Montserrat",
              "Mozambique",
              "Myanmar",
              "Namibia",
              "Nauru",
              "Nepal",
              "NewCaledonia",
              "Niger",
              "Niue",
              "NorfolkIsland",
              "NorthernCyprus",
              "NorthernMarianaIslands",
              "NorthKorea",
              "NorthMacedonia",
              "Palau",
              "Palestine",
              "PapuaNewGuinea",
              "Pitcairn",
              "Reunion",
              "Rwanda",
              "SaintBarthelemy",
              "SaintHelenaAscensionAndTristianDaCunha",
              "SaintKittsAndNevis",
              "SaintLucia",
              "SaintMartin",
              "SaintPierreAndMiquelon",
              "SaintVincentAndTheGrenadines",
              "Samoa",
              "SanMarino",
              "SaoTomeAndPrincipe",
              "Senegal",
              "Seychelles",
              "SierraLeone",
              "SintMaarten",
              "SolomonIslands",
              "Somalia",
              "SouthGeorgiaAndTheSouthSandwichIslands",
              "SouthSudan",
              "Sudan",
              "Suriname",
              "SvalbardAndJanMayen",
              "Eswatini",
              "Syria",
              "Tajikistan",
              "Tanzania",
              "Togo",
              "Tokelau",
              "Tonga",
              "TrinidadAndTobago",
              "Turkmenistan",
              "TurksAndCaicosIslands",
              "Tuvalu",
              "UnitedStatesMinorOutlyingIslands",
              "Uzbekistan",
              "Vanuatu",
              "VaticanCity",
              "VirginIslandsBritish",
              "VirginIslandsUs",
              "WallisAndFutuna",
              "WesternSahara",
              "Yemen",
              "Yugoslavia",
              "Zambia",
              "Zimbabwe",
              "SchengenArea",
              "SaintThomasAndPrince",
              "BritishVirginIslands",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "region": {
            "enum": [
              "None",
              "Alabama",
              "Alaska",
              "Alberta",
              "Arizona",
              "Arkansas",
              "AustralianCapitalTerritory",
              "BritishColumbia",
              "California",
              "Colorado",
              "Connecticut",
              "Delaware",
              "DistrictOfColumbia",
              "Florida",
              "Georgia",
              "Hawaii",
              "Idaho",
              "Illinois",
              "Indiana",
              "Iowa",
              "Kansas",
              "Kentucky",
              "Louisiana",
              "Maine",
              "Manitoba",
              "Maryland",
              "Massachusetts",
              "Michigan",
              "Minnesota",
              "Mississippi",
              "Missouri",
              "Montana",
              "Nebraska",
              "Nevada",
              "NewBrunswick",
              "NewHampshire",
              "NewJersey",
              "NewMexico",
              "NewSouthWales",
              "NewYork",
              "NorthernTerritory",
              "NorthCarolina",
              "NorthDakota",
              "NovaScotia",
              "Ohio",
              "Oklahoma",
              "Ontario",
              "Oregon",
              "Pennsylvania",
              "Quebec",
              "Queensland",
              "RhodeIsland",
              "Saskatchewan",
              "SouthAustralia",
              "SouthCarolina",
              "SouthDakota",
              "Tasmania",
              "Tennessee",
              "Texas",
              "Utah",
              "Vermont",
              "Victoria",
              "Virginia",
              "Washington",
              "WesternAustralia",
              "WestVirginia",
              "Wisconsin",
              "Wyoming",
              "Yukon",
              "CiudadDeMexico",
              "Jalisco",
              "NewfoundlandAndLabrador",
              "NuevoLeon",
              "BajaCalifornia",
              "Chihuahua",
              "Guanajuato",
              "Guerrero",
              "Mexico",
              "Michoacan",
              "NewYorkCity",
              "Tamaulipas",
              "Veracruz",
              "Chiapas",
              "Coahuila",
              "Durango",
              "GuerreroCocula",
              "GuerreroJuchitan",
              "GuerreroTepecoacuilco",
              "GuerreroTlacoapa",
              "Gujarat",
              "Hidalgo",
              "Karnataka",
              "Kerala",
              "KhyberPakhtunkhwa",
              "MadhyaPradesh",
              "Maharashtra",
              "Morelos",
              "Nayarit",
              "Oaxaca",
              "Puebla",
              "Punjab",
              "Queretaro",
              "SanLuisPotosi",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "TamilNadu",
              "Yucatan",
              "Zacatecas",
              "Aguascalientes",
              "BajaCaliforniaSur",
              "Campeche",
              "Colima",
              "QuintanaRooBenitoJuarez",
              "QuintanaRoo",
              "QuintanaRooSolidaridad",
              "Tlaxcala",
              "QuintanaRooCozumel",
              "SaoPaolo",
              "RioDeJaneiro",
              "RioGrandeDoSul",
              "NorthwestTerritories",
              "Nunavut",
              "PrinceEdwardIsland",
              "DistritoFederal",
              "Maranhao",
              "MatoGrosso",
              "MinasGerais",
              "Para",
              "Parana",
              "Pernambuco",
              "SantaCatarina",
              "AndhraPradesh",
              "Ceara",
              "Goias",
              "GuerreroAcapulcoDeJuarez",
              "Haryana",
              "Sergipe",
              "Alagoas",
              "Bangsamoro",
              "Telangana",
              "Acre",
              "EspiritoSanto",
              "MatoGrossoDoSul",
              "Paraiba",
              "Piaui",
              "RioGrandeDoNorte",
              "Tocantins",
              "Odisha",
              "Uttarakhand",
              "NorthernIreland",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "documentType": {
            "enum": [
              "None",
              "ConsularId",
              "Dl",
              "DlPublicServicesCard",
              "EmploymentPass",
              "FinCard",
              "Id",
              "MultipurposeId",
              "MyKad",
              "MyKid",
              "MyPr",
              "MyTentera",
              "PanCard",
              "ProfessionalId",
              "PublicServicesCard",
              "ResidencePermit",
              "ResidentId",
              "TemporaryResidencePermit",
              "VoterId",
              "WorkPermit",
              "IKad",
              "MilitaryId",
              "MyKas",
              "SocialSecurityCard",
              "HealthInsuranceCard",
              "Passport",
              "SPass",
              "AddressCard",
              "AlienId",
              "AlienPassport",
              "GreenCard",
              "MinorsId",
              "PostalId",
              "ProfessionalDl",
              "TaxId",
              "WeaponPermit",
              "Visa",
              "BorderCrossingCard",
              "DriverCard",
              "GlobalEntryCard",
              "MyPolis",
              "NexusCard",
              "PassportCard",
              "ProofOfAgeCard",
              "RefugeeId",
              "TribalId",
              "VeteranId",
              "CitizenshipCertificate",
              "MyNumberCard",
              "ConsularPassport",
              "MinorsPassport",
              "MinorsPublicServicesCard",
              "DrivingPrivilegeCard",
              "AsylumRequest",
              "DriverQualificationCard",
              "ProvisionalDl",
              "RefugeePassport",
              "SpecialId",
              "UniformedServicesId",
              "ImmigrantVisa",
              "ConsularVoterId",
              "TwicCard",
              "ExitEntryPermit",
              "MainlandTravelPermitTaiwan",
              "NbiClearance",
              "ProofOfRegistration",
              "TemporaryProtectionPermit",
              "AfghanCitizenCard",
              "Eid",
              "Pass",
              "SisId",
              "AsicCard",
              "BidoonCard",
              "InterimHealthInsuranceCard",
              "NonVoterId",
              "ReciprocalHealthInsuranceCard",
              "VehicleRegistration",
              "EsaadCard",
              "RegistrationCertificate",
              "MedicalMarijuanaId",
              "NonCardTribalId",
              "DiplomaticId",
              "EmergencyPassport",
              "TemporaryPassport",
              "MetisFederationCard",
              "AdrCertificate",
              "NinCard",
              "MysssCard",
              "GendarmerieId",
              "PoliceId",
              "OriginCard",
              "ByidCard",
              "SpecifiedResidenceCard",
              "GoldenCard",
              "VehicleOwnershipCertificate",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "isoAlpha2CountryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "isoAlpha3CountryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "isoNumericCountryCode": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "employmentRestriction": {
            "type": [
              "null",
              "string"
            ]
          },
          "isEmploymentRestricted": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "BlinkIdVehicleClassInfo": {
        "type": "object",
        "properties": {
          "vehicleClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "licenceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "effectiveDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "expiryDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "BlinkIdWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "input": {
            "description": "The document images submitted for backend processing.",
            "$ref": "#/components/schemas/BlinkIdWorkflowStepState_InputState"
          },
          "stepInputHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Document images submitted for backend BlinkID processing.",
              "$ref": "#/components/schemas/BlinkIdWorkflowStepState_InputState"
            },
            "description": "Prior submissions of Idv.Cogs.Contract.BlinkIdWorkflowStepState.Input across step restarts."
          },
          "extraction": {
            "description": "The data and images extracted from the document, whether captured on-device or processed on the backend.",
            "$ref": "#/components/schemas/BlinkIdExtraction"
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of a BlinkID capture step: submitted document images and extracted document data."
      },
      "BlinkIdWorkflowStepState_InputState": {
        "type": "object",
        "properties": {
          "imageFront": {
            "description": "Image of the front of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "imageBack": {
            "description": "Image of the back of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          }
        },
        "additionalProperties": false,
        "description": "Document images submitted for backend BlinkID processing."
      },
      "Check": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": "string"
          },
          "result": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "ConditionWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "additionalProperties": false,
        "description": "State of a conditional branching step; carries no data of its own beyond the base step state."
      },
      "DS1350DocumentData": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/NonIdDocumentData"
          }
        ],
        "properties": {
          "childFullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "fs240SerialNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "parentsNames": {
            "type": [
              "null",
              "string"
            ]
          },
          "passportInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "placeOfBirth": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "DS2019DocumentData": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/NonIdDocumentData"
          }
        ],
        "properties": {
          "expirationDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "issuingAuthority": {
            "type": [
              "null",
              "string"
            ]
          },
          "sevisId": {
            "type": [
              "null",
              "string"
            ]
          },
          "surname": {
            "type": [
              "null",
              "string"
            ]
          },
          "givenName": {
            "type": [
              "null",
              "string"
            ]
          },
          "gender": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "cityOfBirth": {
            "type": [
              "null",
              "string"
            ]
          },
          "countryOfBirth": {
            "type": [
              "null",
              "string"
            ]
          },
          "citizenshipCountry": {
            "type": [
              "null",
              "string"
            ]
          },
          "citizenshipCountryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "legalPermanentResidenceCountry": {
            "type": [
              "null",
              "string"
            ]
          },
          "legalPermanentResidenceCountryCode": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "DataChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "$ref": "#/components/schemas/DetailedCheck"
          },
          "match": {
            "$ref": "#/components/schemas/MatchChecks"
          },
          "logic": {
            "$ref": "#/components/schemas/LogicChecks"
          },
          "format": {
            "$ref": "#/components/schemas/FormatChecks"
          },
          "barcode": {
            "$ref": "#/components/schemas/BarcodeChecks"
          },
          "suspiciousData": {
            "$ref": "#/components/schemas/SuspiciousDataChecks"
          },
          "dataIntegrity": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "mrz": {
            "$ref": "#/components/schemas/MrzChecks"
          }
        },
        "additionalProperties": false
      },
      "DateLogicChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfBirthBeforeDateOfIssue": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfBirthBeforeDateOfExpiry": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfIssueBeforeDateOfExpiry": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfBirthInPast": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfIssueInPast": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DbVerWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "inputs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LinkedFieldParams"
            },
            "description": "The linked fields submitted for database verification."
          },
          "address": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseResult"
              },
              {
                "$ref": "#/components/schemas/DobResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The address field's verification result."
          },
          "phone": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseResult"
              },
              {
                "$ref": "#/components/schemas/DobResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The phone number field's verification result."
          },
          "email": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseResult"
              },
              {
                "$ref": "#/components/schemas/DobResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The email field's verification result."
          },
          "ssn": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseResult"
              },
              {
                "$ref": "#/components/schemas/DobResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The SSN field's verification result."
          },
          "dob": {
            "description": "The date-of-birth field's verification result.",
            "$ref": "#/components/schemas/DobResult"
          },
          "name": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseResult"
              },
              {
                "$ref": "#/components/schemas/DobResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The name field's verification result."
          }
        },
        "additionalProperties": false,
        "description": "State of a database-verification step: the fields checked and each field's match result."
      },
      "DetailedCheck": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/Check"
          }
        ],
        "properties": {
          "certaintyLevel": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "High",
              "Medium",
              "Low",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "DobResult": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResult"
          }
        ],
        "properties": {
          "isDeceased": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "DocVerDriverLicenseDetailedInfo": {
        "type": "object",
        "properties": {
          "restrictions": {
            "type": [
              "null",
              "string"
            ]
          },
          "endorsements": {
            "type": [
              "null",
              "string"
            ]
          },
          "vehicleClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "conditions": {
            "type": [
              "null",
              "string"
            ]
          },
          "vehicleClassesInfo": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DocVerVehicleClassInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "DocVerExtraction": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "firstNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "fullNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "middleNameNormalized": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ]
          },
          "addressNormalized": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateOfIssue": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateOfExpiry": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "sex": {
            "type": [
              "null",
              "string"
            ]
          },
          "driverLicenseDetailedInfo": {
            "$ref": "#/components/schemas/DocVerDriverLicenseDetailedInfo"
          },
          "fullDocumentFrontImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "fullDocumentBackImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "faceImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "additionalNameInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "additionalAddressInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "placeOfBirth": {
            "type": [
              "null",
              "string"
            ]
          },
          "nationality": {
            "type": [
              "null",
              "string"
            ]
          },
          "race": {
            "type": [
              "null",
              "string"
            ]
          },
          "religion": {
            "type": [
              "null",
              "string"
            ]
          },
          "profession": {
            "type": [
              "null",
              "string"
            ]
          },
          "maritalStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "residentialStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "employer": {
            "type": [
              "null",
              "string"
            ]
          },
          "personalIdNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentAdditionalNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "issuingAuthority": {
            "type": [
              "null",
              "string"
            ]
          },
          "localizedName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfExpiryPermanent": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "additionalPersonalIdNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "barcode": {
            "$ref": "#/components/schemas/BarcodeResult"
          },
          "signatureImage": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "documentOptionalAdditionalNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "fathersName": {
            "type": [
              "null",
              "string"
            ]
          },
          "mothersName": {
            "type": [
              "null",
              "string"
            ]
          },
          "additionalOptionalAddressInformation": {
            "type": [
              "null",
              "string"
            ]
          },
          "bloodType": {
            "type": [
              "null",
              "string"
            ]
          },
          "sponsor": {
            "type": [
              "null",
              "string"
            ]
          },
          "visaType": {
            "type": [
              "null",
              "string"
            ]
          },
          "numberOfEntries": {
            "type": [
              "null",
              "string"
            ]
          },
          "durationOfStay": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentSubtype": {
            "type": [
              "null",
              "string"
            ]
          },
          "remarks": {
            "type": [
              "null",
              "string"
            ]
          },
          "residencePermitType": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "enum": [
              "None",
              "Albania",
              "Algeria",
              "Argentina",
              "Australia",
              "Austria",
              "Azerbaijan",
              "Bahrain",
              "Bangladesh",
              "Belgium",
              "BosniaAndHerzegovina",
              "Brunei",
              "Bulgaria",
              "Cambodia",
              "Canada",
              "Chile",
              "Colombia",
              "CostaRica",
              "Croatia",
              "Cyprus",
              "Czechia",
              "Denmark",
              "DominicanRepublic",
              "Egypt",
              "Estonia",
              "Finland",
              "France",
              "Georgia",
              "Germany",
              "Ghana",
              "Greece",
              "Guatemala",
              "HongKong",
              "Hungary",
              "India",
              "Indonesia",
              "Ireland",
              "Israel",
              "Italy",
              "Jordan",
              "Kazakhstan",
              "Kenya",
              "Kosovo",
              "Kuwait",
              "Latvia",
              "Lithuania",
              "Malaysia",
              "Maldives",
              "Malta",
              "Mauritius",
              "Mexico",
              "Morocco",
              "Netherlands",
              "NewZealand",
              "Nigeria",
              "Pakistan",
              "Panama",
              "Paraguay",
              "Philippines",
              "Poland",
              "Portugal",
              "PuertoRico",
              "Qatar",
              "Romania",
              "Russia",
              "SaudiArabia",
              "Serbia",
              "Singapore",
              "Slovakia",
              "Slovenia",
              "SouthAfrica",
              "Spain",
              "Sweden",
              "Switzerland",
              "Taiwan",
              "Thailand",
              "Tunisia",
              "Turkey",
              "Uae",
              "Uganda",
              "Uk",
              "Ukraine",
              "Usa",
              "Vietnam",
              "Brazil",
              "Norway",
              "Oman",
              "Ecuador",
              "ElSalvador",
              "SriLanka",
              "Peru",
              "Uruguay",
              "Bahamas",
              "Bermuda",
              "Bolivia",
              "China",
              "EuropeanUnion",
              "Haiti",
              "Honduras",
              "Iceland",
              "Japan",
              "Luxembourg",
              "Montenegro",
              "Nicaragua",
              "SouthKorea",
              "Venezuela",
              "Afghanistan",
              "AlandIslands",
              "AmericanSamoa",
              "Andorra",
              "Angola",
              "Anguilla",
              "Antarctica",
              "AntiguaAndBarbuda",
              "Armenia",
              "Aruba",
              "BailiwickOfGuernsey",
              "BailiwickOfJersey",
              "Barbados",
              "Belarus",
              "Belize",
              "Benin",
              "Bhutan",
              "BonaireSaintEustatiusAndSaba",
              "Botswana",
              "BouvetIsland",
              "BritishIndianOceanTerritory",
              "BurkinaFaso",
              "Burundi",
              "Cameroon",
              "CapeVerde",
              "CaribbeanNetherlands",
              "CaymanIslands",
              "CentralAfricanRepublic",
              "Chad",
              "ChristmasIsland",
              "CocosIslands",
              "Comoros",
              "Congo",
              "CookIslands",
              "Cuba",
              "Curacao",
              "DemocraticRepublicOfTheCongo",
              "Djibouti",
              "Dominica",
              "EastTimor",
              "EquatorialGuinea",
              "Eritrea",
              "Ethiopia",
              "FalklandIslands",
              "FaroeIslands",
              "FederatedStatesOfMicronesia",
              "Fiji",
              "FrenchGuiana",
              "FrenchPolynesia",
              "FrenchSouthernTerritories",
              "Gabon",
              "Gambia",
              "Gibraltar",
              "Greenland",
              "Grenada",
              "Guadeloupe",
              "Guam",
              "Guinea",
              "GuineaBissau",
              "Guyana",
              "HeardIslandAndMcdonaldIslands",
              "Iran",
              "Iraq",
              "IsleOfMan",
              "IvoryCoast",
              "Jamaica",
              "Kiribati",
              "Kyrgyzstan",
              "Laos",
              "Lebanon",
              "Lesotho",
              "Liberia",
              "Libya",
              "Liechtenstein",
              "Macau",
              "Madagascar",
              "Malawi",
              "Mali",
              "MarshallIslands",
              "Martinique",
              "Mauritania",
              "Mayotte",
              "Moldova",
              "Monaco",
              "Mongolia",
              "Montserrat",
              "Mozambique",
              "Myanmar",
              "Namibia",
              "Nauru",
              "Nepal",
              "NewCaledonia",
              "Niger",
              "Niue",
              "NorfolkIsland",
              "NorthernCyprus",
              "NorthernMarianaIslands",
              "NorthKorea",
              "NorthMacedonia",
              "Palau",
              "Palestine",
              "PapuaNewGuinea",
              "Pitcairn",
              "Reunion",
              "Rwanda",
              "SaintBarthelemy",
              "SaintHelenaAscensionAndTristianDaCunha",
              "SaintKittsAndNevis",
              "SaintLucia",
              "SaintMartin",
              "SaintPierreAndMiquelon",
              "SaintVincentAndTheGrenadines",
              "Samoa",
              "SanMarino",
              "SaoTomeAndPrincipe",
              "Senegal",
              "Seychelles",
              "SierraLeone",
              "SintMaarten",
              "SolomonIslands",
              "Somalia",
              "SouthGeorgiaAndTheSouthSandwichIslands",
              "SouthSudan",
              "Sudan",
              "Suriname",
              "SvalbardAndJanMayen",
              "Eswatini",
              "Syria",
              "Tajikistan",
              "Tanzania",
              "Togo",
              "Tokelau",
              "Tonga",
              "TrinidadAndTobago",
              "Turkmenistan",
              "TurksAndCaicosIslands",
              "Tuvalu",
              "UnitedStatesMinorOutlyingIslands",
              "Uzbekistan",
              "Vanuatu",
              "VaticanCity",
              "VirginIslandsBritish",
              "VirginIslandsUs",
              "WallisAndFutuna",
              "WesternSahara",
              "Yemen",
              "Yugoslavia",
              "Zambia",
              "Zimbabwe",
              "SchengenArea",
              "SaintThomasAndPrince",
              "BritishVirginIslands",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "region": {
            "enum": [
              "None",
              "Alabama",
              "Alaska",
              "Alberta",
              "Arizona",
              "Arkansas",
              "AustralianCapitalTerritory",
              "BritishColumbia",
              "California",
              "Colorado",
              "Connecticut",
              "Delaware",
              "DistrictOfColumbia",
              "Florida",
              "Georgia",
              "Hawaii",
              "Idaho",
              "Illinois",
              "Indiana",
              "Iowa",
              "Kansas",
              "Kentucky",
              "Louisiana",
              "Maine",
              "Manitoba",
              "Maryland",
              "Massachusetts",
              "Michigan",
              "Minnesota",
              "Mississippi",
              "Missouri",
              "Montana",
              "Nebraska",
              "Nevada",
              "NewBrunswick",
              "NewHampshire",
              "NewJersey",
              "NewMexico",
              "NewSouthWales",
              "NewYork",
              "NorthernTerritory",
              "NorthCarolina",
              "NorthDakota",
              "NovaScotia",
              "Ohio",
              "Oklahoma",
              "Ontario",
              "Oregon",
              "Pennsylvania",
              "Quebec",
              "Queensland",
              "RhodeIsland",
              "Saskatchewan",
              "SouthAustralia",
              "SouthCarolina",
              "SouthDakota",
              "Tasmania",
              "Tennessee",
              "Texas",
              "Utah",
              "Vermont",
              "Victoria",
              "Virginia",
              "Washington",
              "WesternAustralia",
              "WestVirginia",
              "Wisconsin",
              "Wyoming",
              "Yukon",
              "CiudadDeMexico",
              "Jalisco",
              "NewfoundlandAndLabrador",
              "NuevoLeon",
              "BajaCalifornia",
              "Chihuahua",
              "Guanajuato",
              "Guerrero",
              "Mexico",
              "Michoacan",
              "NewYorkCity",
              "Tamaulipas",
              "Veracruz",
              "Chiapas",
              "Coahuila",
              "Durango",
              "GuerreroCocula",
              "GuerreroJuchitan",
              "GuerreroTepecoacuilco",
              "GuerreroTlacoapa",
              "Gujarat",
              "Hidalgo",
              "Karnataka",
              "Kerala",
              "KhyberPakhtunkhwa",
              "MadhyaPradesh",
              "Maharashtra",
              "Morelos",
              "Nayarit",
              "Oaxaca",
              "Puebla",
              "Punjab",
              "Queretaro",
              "SanLuisPotosi",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "TamilNadu",
              "Yucatan",
              "Zacatecas",
              "Aguascalientes",
              "BajaCaliforniaSur",
              "Campeche",
              "Colima",
              "QuintanaRooBenitoJuarez",
              "QuintanaRoo",
              "QuintanaRooSolidaridad",
              "Tlaxcala",
              "QuintanaRooCozumel",
              "SaoPaolo",
              "RioDeJaneiro",
              "RioGrandeDoSul",
              "NorthwestTerritories",
              "Nunavut",
              "PrinceEdwardIsland",
              "DistritoFederal",
              "Maranhao",
              "MatoGrosso",
              "MinasGerais",
              "Para",
              "Parana",
              "Pernambuco",
              "SantaCatarina",
              "AndhraPradesh",
              "Ceara",
              "Goias",
              "GuerreroAcapulcoDeJuarez",
              "Haryana",
              "Sergipe",
              "Alagoas",
              "Bangsamoro",
              "Telangana",
              "Acre",
              "EspiritoSanto",
              "MatoGrossoDoSul",
              "Paraiba",
              "Piaui",
              "RioGrandeDoNorte",
              "Tocantins",
              "Odisha",
              "Uttarakhand",
              "NorthernIreland",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "documentType": {
            "enum": [
              "None",
              "ConsularId",
              "Dl",
              "DlPublicServicesCard",
              "EmploymentPass",
              "FinCard",
              "Id",
              "MultipurposeId",
              "MyKad",
              "MyKid",
              "MyPr",
              "MyTentera",
              "PanCard",
              "ProfessionalId",
              "PublicServicesCard",
              "ResidencePermit",
              "ResidentId",
              "TemporaryResidencePermit",
              "VoterId",
              "WorkPermit",
              "IKad",
              "MilitaryId",
              "MyKas",
              "SocialSecurityCard",
              "HealthInsuranceCard",
              "Passport",
              "SPass",
              "AddressCard",
              "AlienId",
              "AlienPassport",
              "GreenCard",
              "MinorsId",
              "PostalId",
              "ProfessionalDl",
              "TaxId",
              "WeaponPermit",
              "Visa",
              "BorderCrossingCard",
              "DriverCard",
              "GlobalEntryCard",
              "MyPolis",
              "NexusCard",
              "PassportCard",
              "ProofOfAgeCard",
              "RefugeeId",
              "TribalId",
              "VeteranId",
              "CitizenshipCertificate",
              "MyNumberCard",
              "ConsularPassport",
              "MinorsPassport",
              "MinorsPublicServicesCard",
              "DrivingPrivilegeCard",
              "AsylumRequest",
              "DriverQualificationCard",
              "ProvisionalDl",
              "RefugeePassport",
              "SpecialId",
              "UniformedServicesId",
              "ImmigrantVisa",
              "ConsularVoterId",
              "TwicCard",
              "ExitEntryPermit",
              "MainlandTravelPermitTaiwan",
              "NbiClearance",
              "ProofOfRegistration",
              "TemporaryProtectionPermit",
              "AfghanCitizenCard",
              "Eid",
              "Pass",
              "SisId",
              "AsicCard",
              "BidoonCard",
              "InterimHealthInsuranceCard",
              "NonVoterId",
              "ReciprocalHealthInsuranceCard",
              "VehicleRegistration",
              "EsaadCard",
              "RegistrationCertificate",
              "MedicalMarijuanaId",
              "NonCardTribalId",
              "DiplomaticId",
              "EmergencyPassport",
              "TemporaryPassport",
              "MetisFederationCard",
              "AdrCertificate",
              "NinCard",
              "MysssCard",
              "GendarmerieId",
              "PoliceId",
              "OriginCard",
              "ByidCard",
              "SpecifiedResidenceCard",
              "GoldenCard",
              "VehicleOwnershipCertificate",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "isoAlpha2CountryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "isoAlpha3CountryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "isoNumericCountryCode": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "employmentRestriction": {
            "type": [
              "null",
              "string"
            ]
          },
          "isEmploymentRestricted": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "DocVerVehicleClassInfo": {
        "type": "object",
        "properties": {
          "vehicleClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "licenceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "effectiveDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "expiryDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "DocVerVerification": {
        "type": "object",
        "properties": {
          "processingStatus": {
            "enum": [
              "Unknown",
              "NotAvailable",
              "ExtractionFailed",
              "PartiallyCompleted",
              "Completed",
              "CompletedAfterFront",
              "ServerModelError",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "recommendedOutcome": {
            "enum": [
              "Unknown",
              "Undeterminable",
              "Reject",
              "Accept",
              "Retry",
              "ManuallyReview",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "overall": {
            "$ref": "#/components/schemas/DetailedCheck"
          },
          "data": {
            "$ref": "#/components/schemas/DataChecks"
          },
          "documentLiveness": {
            "$ref": "#/components/schemas/DocumentLivenessChecks"
          },
          "visual": {
            "$ref": "#/components/schemas/VisualChecks"
          },
          "dataValidity": {
            "$ref": "#/components/schemas/DocumentValidityChecks"
          }
        },
        "additionalProperties": false
      },
      "DocVerWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "input": {
            "description": "The document images submitted for this step.",
            "$ref": "#/components/schemas/DocVerWorkflowStepState_InputState"
          },
          "stepInputHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Document images submitted for a document-verification step.",
              "$ref": "#/components/schemas/DocVerWorkflowStepState_InputState"
            },
            "description": "Prior submissions of Idv.Cogs.Contract.DocVerWorkflowStepState.Input across step restarts."
          },
          "extraction": {
            "description": "The data extracted from the document.",
            "$ref": "#/components/schemas/DocVerExtraction"
          },
          "verification": {
            "description": "The document's verification (authenticity) result.",
            "$ref": "#/components/schemas/DocVerVerification"
          },
          "indicators": {
            "description": "Fraud/quality indicators computed for the document.",
            "$ref": "#/components/schemas/Indicators"
          },
          "isMaxRetryCountExceeded": {
            "type": "boolean",
            "description": "Whether this step reached its maximum allowed retry count."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of a document-verification step: submitted document images and extraction/verification results."
      },
      "DocVerWorkflowStepState_InputState": {
        "type": "object",
        "properties": {
          "imageFront": {
            "description": "Image of the front of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "imageBack": {
            "description": "Image of the back of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "imageBarcode": {
            "description": "Image of the document's barcode.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "isInteractivePhaseSkipped": {
            "type": "boolean",
            "description": "Whether the interactive feedback phase was skipped for this submission."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "Document images submitted for a document-verification step."
      },
      "DocumentLivenessChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "screenCheck": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "photocopyCheck": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "handPresenceCheck": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DocumentValidityChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "expired": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "EndWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "additionalProperties": false,
        "description": "State of the workflow's terminal step; carries no data of its own beyond the base step state."
      },
      "ErrorExtServiceTraceEventModel": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ExtServiceTraceEventModel"
          }
        ],
        "properties": {
          "errorMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Message describing the error."
          }
        },
        "additionalProperties": false,
        "description": "Trace event recording an error that occurred during an external-service call."
      },
      "ExtServiceTraceEventModel": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Discriminator identifying the concrete event subtype.",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name of the event."
          },
          "isSuccess": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the event completed successfully."
          },
          "isRetriable": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the underlying operation can be safely retried."
          },
          "timeOffset": {
            "type": [
              "null",
              "number"
            ],
            "description": "Time elapsed, in seconds, since the start of the parent trace.",
            "format": "double"
          },
          "startedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the event started.",
            "format": "date-time"
          },
          "finishedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the event finished.",
            "format": "date-time"
          },
          "elapsed": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Duration of the event, in milliseconds.",
            "format": "int64"
          }
        },
        "additionalProperties": false,
        "description": "Single event within an external-service call trace.",
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "ExtServiceTraceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the trace.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "transactionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the transaction the traced call belongs to."
          },
          "workflowId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the workflow the traced call belongs to."
          },
          "workflowVersionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the workflow version the traced call belongs to."
          },
          "partnerId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the owning partner."
          },
          "companyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the owning company."
          },
          "organizationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the owning organization."
          },
          "workflowStepType": {
            "type": [
              "null",
              "string"
            ],
            "description": "Type of the workflow step that made the call."
          },
          "workflowStepVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "Version of the workflow step that made the call."
          },
          "isSuccess": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the call completed successfully."
          },
          "isRetriable": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the call can be safely retried."
          },
          "startedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the call started.",
            "format": "date-time"
          },
          "finishedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the call finished.",
            "format": "date-time"
          },
          "elapsed": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Duration of the call, in milliseconds.",
            "format": "int64"
          },
          "traceId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Distributed tracing identifier correlating this trace with telemetry systems."
          },
          "events": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "oneOf": [
                {
                  "description": "Single event within an external-service call trace.",
                  "$ref": "#/components/schemas/ExtServiceTraceEventModel"
                },
                {
                  "$ref": "#/components/schemas/HttpExtServiceTraceEventModel"
                },
                {
                  "$ref": "#/components/schemas/ErrorExtServiceTraceEventModel"
                }
              ],
              "description": "Single event within an external-service call trace."
            },
            "description": "Individual sub-events (HTTP calls, errors) that occurred during the call."
          }
        },
        "additionalProperties": false,
        "description": "Trace of a single workflow-step call to an external verification service."
      },
      "ExtServiceTraceRef": {
        "type": "object",
        "properties": {
          "serviceTraceId": {
            "type": [
              "null",
              "string"
            ]
          },
          "serviceName": {
            "type": [
              "null",
              "string"
            ]
          },
          "isSuccess": {
            "type": "boolean"
          },
          "workflowStepExecutionIndex": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "FaceCaptureIntegrityChecks": {
        "type": "object",
        "properties": {
          "injectionAttackCheck": {
            "$ref": "#/components/schemas/LivenessCheck"
          },
          "manInTheMiddleCheck": {
            "$ref": "#/components/schemas/LivenessCheck"
          },
          "untrustedDeviceCheck": {
            "$ref": "#/components/schemas/LivenessCheck"
          }
        },
        "additionalProperties": false
      },
      "FaceMatchResult": {
        "type": "object",
        "properties": {
          "probability": {
            "type": [
              "null",
              "number"
            ],
            "description": "The probability that the selfie and document face belong to the same person.",
            "format": "float"
          },
          "documentFaceImageTemplate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Biometric template computed from the document's face image."
          },
          "selfieImageTemplate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Biometric template computed from the captured selfie."
          },
          "passesAtOrBelowSensitivity": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The strictest sensitivity level at or below which the match would still have passed.",
            "format": "int32"
          },
          "untrustedPayloadCheck": {
            "description": "Whether the capture signatures of both matched images were valid.",
            "$ref": "#/components/schemas/V2LivenessCheckResult"
          },
          "isComplete": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "FaceMatchWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "input": {
            "description": "The selfie image (and its encrypted source file) submitted for this step.",
            "$ref": "#/components/schemas/FaceMatchWorkflowStepState_InputState"
          },
          "liveness": {
            "description": "Liveness/anti-spoofing check results for the captured selfie.",
            "$ref": "#/components/schemas/LivenessResult"
          },
          "faceMatch": {
            "description": "The result of matching the captured selfie against the document's face image.",
            "$ref": "#/components/schemas/FaceMatchResult"
          },
          "faceCaptureIntegrityChecks": {
            "description": "Integrity checks performed on the face capture itself (e.g. tampering, replay detection).",
            "$ref": "#/components/schemas/FaceCaptureIntegrityChecks"
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          },
          "isMaxRetryCountExceeded": {
            "type": "boolean",
            "description": "Whether this step reached its maximum allowed retry count."
          },
          "stepInputHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "The selfie image and its encrypted source file submitted for a FaceMatch step.",
              "$ref": "#/components/schemas/FaceMatchWorkflowStepState_InputState"
            },
            "description": "Prior submissions of Idv.Cogs.Contract.FaceMatchWorkflowStepState.Input across step restarts."
          }
        },
        "additionalProperties": false,
        "description": "State of a FaceMatch step: the captured selfie, liveness checks, and the match result against the document face."
      },
      "FaceMatchWorkflowStepState_InputState": {
        "type": "object",
        "properties": {
          "capturedImage": {
            "description": "The captured selfie image.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "encryptedFile": {
            "description": "The encrypted source file backing the captured image.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "livenessFrames": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Result of matching a captured selfie against a document's face image.",
              "$ref": "#/components/schemas/LivenessFrameInput"
            }
          },
          "sessionNumber": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int64"
          },
          "faceMatchSignatureMetadata": {
            "type": [
              "null",
              "string"
            ]
          },
          "traceId": {
            "type": [
              "null",
              "string"
            ]
          },
          "livenessSignatureMetadata": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false,
        "description": "The selfie image and its encrypted source file submitted for a FaceMatch step."
      },
      "FormFieldValue": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "linkField": {
            "enum": [
              "Unknown",
              "FirstName",
              "LastName",
              "MiddleName",
              "FullName",
              "DateOfBirth",
              "DocumentNumber",
              "Country",
              "CountryIso3",
              "Region",
              "DocumentType",
              "Address",
              "PlaceOfBirth",
              "PersonalIdNumber",
              "DocumentFaceImage",
              "SelfieImage",
              "Email",
              "Phone",
              "SSN",
              "RawDocumentImageFront",
              "RawDocumentImageBack",
              "RawDocumentImageBarcode",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "enum": [
              "Unknown",
              "String",
              "Integer",
              "Decimal",
              "DateTime",
              "Boolean",
              "Guid",
              "Enum",
              "Date",
              "Time",
              "Blob"
            ],
            "type": "string",
            "format": "string"
          },
          "stringValue": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "FormWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "formValues": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormFieldValue"
            },
            "description": "The submitted form field values, keyed by the workflow's field definition name."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of a custom form step: the submitted field values."
      },
      "FormatChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfBirth": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfExpiry": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfIssue": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentAdditionalNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentOptionalAdditionalNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "personalIdNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "additionalPersonalIdNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "sex": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "nationality": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "issuingAuthority": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "maritalStatus": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "religion": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "classEffectiveDate": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "classExpiryDate": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "HttpExtServiceTraceEventModel": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ExtServiceTraceEventModel"
          }
        ],
        "properties": {
          "requestUri": {
            "type": [
              "null",
              "string"
            ],
            "description": "Request URI that was called."
          },
          "verb": {
            "type": [
              "null",
              "string"
            ],
            "description": "HTTP verb used for the request."
          },
          "statusCode": {
            "type": [
              "null",
              "integer"
            ],
            "description": "HTTP status code returned by the call.",
            "format": "int32"
          },
          "reasonPhrase": {
            "type": [
              "null",
              "string"
            ],
            "description": "HTTP reason phrase returned by the call."
          }
        },
        "additionalProperties": false,
        "description": "Trace event for a single outbound HTTP call to an external service."
      },
      "HttpValidationProblemDetails": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ProblemDetails"
          }
        ],
        "properties": {
          "errors": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": { }
      },
      "I20DocumentData": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/NonIdDocumentData"
          }
        ],
        "properties": {
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "expirationDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "issuingAuthority": {
            "type": [
              "null",
              "string"
            ]
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "preferredName": {
            "type": [
              "null",
              "string"
            ]
          },
          "passportName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "givenName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "I797CDocumentData": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/NonIdDocumentData"
          }
        ],
        "properties": {
          "documentTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "noaCategory": {
            "type": [
              "null",
              "string"
            ]
          },
          "noaReceiptNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "noaReceivedDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "beneficiaryName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "I94DocumentData": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/NonIdDocumentData"
          }
        ],
        "properties": {
          "alienNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "expirationDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "issueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "issuingAuthority": {
            "type": [
              "null",
              "string"
            ]
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "Indicators": {
        "type": "object",
        "properties": {
          "handPresence": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "imageQualityClarity": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "cropped": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "Pass",
              "Fail",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "LinkedFieldParams": {
        "type": "object",
        "properties": {
          "linkField": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "type": [
              "null",
              "string"
            ]
          },
          "normalizedValue": {
            "type": [
              "null",
              "string"
            ]
          },
          "error": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "LivenessCheck": {
        "type": "object",
        "properties": {
          "result": {
            "enum": [
              "Unknown",
              "NotPerformed",
              "Pass",
              "Fail"
            ],
            "type": "string",
            "format": "string"
          }
        },
        "additionalProperties": false
      },
      "LivenessFrameInput": {
        "type": "object",
        "properties": {
          "image": {
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "frameNumber": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Result of matching a captured selfie against a document's face image."
      },
      "LivenessResult": {
        "type": "object",
        "properties": {
          "faceLiveness": {
            "type": [
              "null",
              "number"
            ],
            "description": "Score indicating whether the captured face is a live person rather than a spoof.",
            "format": "float"
          },
          "captureLiveness": {
            "type": [
              "null",
              "number"
            ],
            "description": "Score indicating whether the capture itself (not just the face) appears live.",
            "format": "float"
          },
          "captureScore": {
            "type": [
              "null",
              "number"
            ],
            "description": "Overall quality score of the capture.",
            "format": "float"
          },
          "presentationAttackCheck": {
            "$ref": "#/components/schemas/V2LivenessBoundaryCheckResult"
          },
          "deepfakeCheck": {
            "$ref": "#/components/schemas/V2LivenessCheckResult"
          },
          "untrustedContentCheck": {
            "$ref": "#/components/schemas/V2LivenessCheckResult"
          },
          "untrustedPayloadCheck": {
            "$ref": "#/components/schemas/V2LivenessCheckResult"
          },
          "faceOcclusionCheck": {
            "$ref": "#/components/schemas/V2LivenessCheckResult"
          },
          "isComplete": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Liveness/anti-spoofing check scores for a captured selfie."
      },
      "LogicChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "date": {
            "$ref": "#/components/schemas/DateLogicChecks"
          },
          "documentNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "personalIdNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "inventoryControlNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentDiscriminator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "customerIdNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "MatchChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "firstName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "fullName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "address": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "placeOfBirth": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "race": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "religion": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "profession": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "maritalStatus": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "residentialStatus": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "employer": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfBirth": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfIssue": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateOfExpiry": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "personalIdNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentAdditionalNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "documentOptionalAdditionalNumber": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "additionalNameInformation": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "localizedName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "fathersName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "mothersName": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "additionalAddressInformation": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "additionalOptionalAddressInformation": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "nationality": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "sex": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "MonitorSearchOptionsModel": {
        "type": "object",
        "properties": {
          "pepSettings": {
            "oneOf": [
              {
                "description": "Enablement and country scoping for a single PEP/watchlist/negative-media search category.",
                "$ref": "#/components/schemas/PepWlsNmSettings"
              },
              {
                "$ref": "#/components/schemas/PepSettings"
              },
              {
                "$ref": "#/components/schemas/WlsSettings"
              },
              {
                "type": "null"
              }
            ],
            "description": "Settings for the PEP (politically exposed persons) search."
          },
          "wlsSettings": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/PepWlsNmSettings"
              },
              {
                "$ref": "#/components/schemas/PepSettings"
              },
              {
                "$ref": "#/components/schemas/WlsSettings"
              },
              {
                "type": "null"
              }
            ],
            "description": "Settings for the watchlist/sanctions search."
          },
          "nmSettings": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/PepWlsNmSettings"
              },
              {
                "$ref": "#/components/schemas/PepSettings"
              },
              {
                "$ref": "#/components/schemas/WlsSettings"
              },
              {
                "type": "null"
              }
            ],
            "description": "Settings for the negative-media search."
          }
        },
        "additionalProperties": false,
        "description": "Per-category search options for a PEP/AML/watchlist monitor."
      },
      "MonitorSearchParameters": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "pepsCountryCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "amlCountryCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "pepsLevels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "None",
                "ProfileName",
                "ProfileAlias",
                "FamilyMembers",
                "Social",
                "BusinessRelations",
                "BusinessPartnerships",
                "Lobbying",
                "Stakeholders"
              ],
              "type": "string",
              "format": "string"
            }
          },
          "amlCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "Unknown",
                "AllWls",
                "Activist",
                "AmlKycCompliance",
                "ExclusionDebarment",
                "Financial",
                "GlobalCriminal",
                "GlobalHealthcare",
                "GlobalWatchListsAndSanctions",
                "ImportExport",
                "NationalCriminalFile",
                "NationalHealthcare",
                "OfficeOfTheInspectorGeneral",
                "RealEstate",
                "SamGovExclusions",
                "SamGov",
                "SexOffenders",
                "Corruption",
                "Ofac",
                "Terrorism"
              ],
              "type": "string",
              "format": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "MonitorStatsModel": {
        "type": "object",
        "properties": {
          "totalMonitors": {
            "type": "integer",
            "description": "Total number of monitors.",
            "format": "int32"
          },
          "activeMonitorWorkflows": {
            "type": "integer",
            "description": "Number of distinct workflows that have at least one active monitor.",
            "format": "int32"
          },
          "clearMonitors": {
            "type": "integer",
            "description": "Number of monitors with no flagged matches.",
            "format": "int32"
          },
          "flaggedMonitors": {
            "type": "integer",
            "description": "Number of monitors with at least one flagged match.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Aggregate counts of PEP/AML monitors within a scope."
      },
      "MrzChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "parsed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "checkDigits": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "NmResult": {
        "type": "object",
        "properties": {
          "score": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "highlights": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "text": {
            "type": [
              "null",
              "string"
            ]
          },
          "url": {
            "type": [
              "null",
              "string"
            ]
          },
          "confidenceLevel": {
            "type": [
              "null",
              "string"
            ]
          },
          "subjectMatched": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "NonIdClassificationData": {
        "type": "object",
        "properties": {
          "isMatch": {
            "type": "boolean"
          },
          "expectedType": {
            "enum": [
              "Unknown",
              "BirthCertificate",
              "FormI94",
              "FormDs2019",
              "FormI20",
              "FormDs1350",
              "FormI797C",
              "FormFS240",
              "FormFS545",
              "FormI94TemporaryI551",
              "FormI94OAR",
              "FormI94Refugee",
              "FSMRMIPassport",
              "FSMRMIPassportWithI94",
              "FormI179",
              "FormI197",
              "MilitaryDependentIDCard",
              "MerchantMarinerCard",
              "MilitaryDraftRecord"
            ],
            "type": "string",
            "format": "string"
          },
          "detectedType": {
            "enum": [
              "Unknown",
              "BirthCertificate",
              "FormI94",
              "FormDs2019",
              "FormI20",
              "FormDs1350",
              "FormI797C",
              "FormFS240",
              "FormFS545",
              "FormI94TemporaryI551",
              "FormI94OAR",
              "FormI94Refugee",
              "FSMRMIPassport",
              "FSMRMIPassportWithI94",
              "FormI179",
              "FormI197",
              "MilitaryDependentIDCard",
              "MerchantMarinerCard",
              "MilitaryDraftRecord"
            ],
            "type": "string",
            "format": "string"
          },
          "confidenceScore": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "NonIdDocumentData": {
        "required": [
          "$type"
        ],
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/I94DocumentData"
          },
          {
            "$ref": "#/components/schemas/I20DocumentData"
          },
          {
            "$ref": "#/components/schemas/DS1350DocumentData"
          },
          {
            "$ref": "#/components/schemas/DS2019DocumentData"
          },
          {
            "$ref": "#/components/schemas/I797CDocumentData"
          }
        ],
        "properties": {
          "$type": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "confidenceScore": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "$type",
          "mapping": {
            "I94DocumentData": "#/components/schemas/I94DocumentData",
            "I20DocumentData": "#/components/schemas/I20DocumentData",
            "DS1350DocumentData": "#/components/schemas/DS1350DocumentData",
            "DS2019DocumentData": "#/components/schemas/DS2019DocumentData",
            "I797CDocumentData": "#/components/schemas/I797CDocumentData"
          }
        }
      },
      "PageResponse_ExtServiceTraceModel": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Trace of a single workflow-step call to an external verification service.",
              "$ref": "#/components/schemas/ExtServiceTraceModel"
            }
          },
          "total": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "hasMore": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "PageResponse_TransactionModel": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Represents a verification transaction, including its workflow context, status, state, and associated metadata.",
              "$ref": "#/components/schemas/TransactionModel"
            }
          },
          "total": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "hasMore": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "PageResponse_UserProfileModel": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Aggregated view of a user across all their transactions and monitors.",
              "$ref": "#/components/schemas/UserProfileModel"
            }
          },
          "total": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "hasMore": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "PageResponse_UserProfileMonitorModel": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Summary of a single PEP/AML/watchlist monitor as seen from a user profile.",
              "$ref": "#/components/schemas/UserProfileMonitorModel"
            }
          },
          "total": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "hasMore": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "PepAmlExtServiceResult_SearchRequest": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "documentNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "pepsCountryCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "amlCountryCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "pepsLevels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "None",
                "ProfileName",
                "ProfileAlias",
                "FamilyMembers",
                "Social",
                "BusinessRelations",
                "BusinessPartnerships",
                "Lobbying",
                "Stakeholders"
              ],
              "type": "string",
              "format": "string"
            }
          },
          "amlCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "Unknown",
                "AllWls",
                "Activist",
                "AmlKycCompliance",
                "ExclusionDebarment",
                "Financial",
                "GlobalCriminal",
                "GlobalHealthcare",
                "GlobalWatchListsAndSanctions",
                "ImportExport",
                "NationalCriminalFile",
                "NationalHealthcare",
                "OfficeOfTheInspectorGeneral",
                "RealEstate",
                "SamGovExclusions",
                "SamGov",
                "SexOffenders",
                "Corruption",
                "Ofac",
                "Terrorism"
              ],
              "type": "string",
              "format": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "PepAmlWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "pep": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult"
            },
            "description": "Politically-exposed-person matches found for the subject."
          },
          "pepScore": {
            "type": [
              "null",
              "number"
            ],
            "description": "Aggregate PEP screening score.",
            "format": "double"
          },
          "aml": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AmlResult"
            },
            "description": "Anti-money-laundering matches found for the subject."
          },
          "amlScore": {
            "type": [
              "null",
              "number"
            ],
            "description": "Aggregate AML screening score.",
            "format": "double"
          },
          "nm": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/NmResult"
            },
            "description": "Negative-media matches found for the subject."
          },
          "nmScore": {
            "type": [
              "null",
              "number"
            ],
            "description": "Aggregate negative-media screening score.",
            "format": "double"
          },
          "fullResults": {
            "description": "Reference to the full, unabridged screening results.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "totalPeps": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Total number of PEP matches found.",
            "format": "int32"
          },
          "totalNm": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Total number of negative-media matches found.",
            "format": "int32"
          },
          "totalAml": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Total number of AML matches found.",
            "format": "int32"
          },
          "searchParameters": {
            "$ref": "#/components/schemas/PepAmlExtServiceResult_SearchRequest"
          }
        },
        "additionalProperties": false,
        "description": "State of a PEP/AML/negative-media screening step: matches found and their scores."
      },
      "PepResult": {
        "type": "object",
        "properties": {
          "score": {
            "type": [
              "null",
              "number"
            ],
            "format": "double"
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "countryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "gender": {
            "type": [
              "null",
              "string"
            ]
          },
          "placeOfBirth": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateOfBirth": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "birthName": {
            "type": [
              "null",
              "string"
            ]
          },
          "nativeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "profileLevel": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "professionalHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "employers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "relationships": {
            "$ref": "#/components/schemas/PepResult_Relationship"
          },
          "memberships": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "awards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "education": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "aliases": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "convictions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "notableWork": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "sourceInfoUrls": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "PepResult_BaseRelationship": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "relationshipType": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PepResult_Relationship": {
        "type": "object",
        "properties": {
          "familyMembers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult_BaseRelationship"
            }
          },
          "businessRelations": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult_BaseRelationship"
            }
          },
          "businessPartnerships": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult_BaseRelationship"
            }
          },
          "social": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult_BaseRelationship"
            }
          },
          "stakeholders": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult_BaseRelationship"
            }
          }
        },
        "additionalProperties": false
      },
      "PepSettings": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PepWlsNmSettings"
          }
        ],
        "properties": {
          "levels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "None",
                "ProfileName",
                "ProfileAlias",
                "FamilyMembers",
                "Social",
                "BusinessRelations",
                "BusinessPartnerships",
                "Lobbying",
                "Stakeholders"
              ],
              "type": "string",
              "format": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "PepWlsNmSettings": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": "string"
          },
          "isEnabled": {
            "type": "boolean",
            "description": "Whether this search category is enabled."
          },
          "countryCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "ISO country codes the search is restricted to; empty means all countries."
          }
        },
        "additionalProperties": false,
        "description": "Enablement and country scoping for a single PEP/watchlist/negative-media search category.",
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "ProblemDetails": {
        "required": [
          "$type"
        ],
        "type": "object",
        "properties": {
          "$type": {
            "type": "string"
          }
        },
        "additionalProperties": { },
        "discriminator": {
          "propertyName": "$type"
        }
      },
      "StartWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "formValues": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormFieldValue"
            },
            "description": "The form field values supplied on transaction creation."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false,
        "description": "State of the workflow's start step: the form values supplied when the transaction was created."
      },
      "SuspiciousDataChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "$ref": "#/components/schemas/DetailedCheck"
          },
          "sampleString": {
            "$ref": "#/components/schemas/DetailedCheck"
          },
          "suspiciousNumber": {
            "$ref": "#/components/schemas/DetailedCheck"
          }
        },
        "additionalProperties": false
      },
      "TieredCheck": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/Check"
          }
        ],
        "properties": {
          "matchLevel": {
            "enum": [
              "Unknown",
              "Level1",
              "Level2",
              "Level3",
              "Level4",
              "Level5",
              "Level6",
              "Level7",
              "Level8",
              "Level9",
              "Level10",
              "Disabled",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "TransactionAnonymizeModel": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "The name of the transaction field that was anonymized."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "A human-readable explanation of what this anonymized field represents."
          }
        },
        "additionalProperties": false,
        "description": "Identifies a transaction field that was anonymized during retention/deletion processing."
      },
      "TransactionBlobRef": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseBlobRef"
          }
        ],
        "additionalProperties": false
      },
      "TransactionConsentCreateModel": {
        "required": [
          "isProcessingStoringAllowed",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The identifier of the end user giving consent."
          },
          "note": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ],
            "description": "An optional free-text note providing additional context for the consent."
          },
          "givenOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the consent was given; defaults to the current time when omitted.",
            "format": "date-time"
          },
          "isProcessingStoringAllowed": {
            "type": "boolean",
            "description": "Whether the user allowed their data to be processed and stored; required, and must be true for consent to be accepted."
          },
          "isTrainingAllowed": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the user allowed their data to be used for training purposes."
          }
        },
        "additionalProperties": false,
        "description": "Consent given by an end user for processing/storing (and optionally training on) their data, submitted when starting a transaction."
      },
      "TransactionConsentModel": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "givenOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the consent was given.",
            "format": "date-time"
          },
          "userId": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The identifier of the end user who gave consent."
          },
          "ipAddress": {
            "type": [
              "null",
              "string"
            ],
            "description": "The (anonymized) IP address of the client that gave consent."
          },
          "userAgent": {
            "type": [
              "null",
              "string"
            ],
            "description": "The User-Agent header of the client that gave consent."
          },
          "note": {
            "maxLength": 1000,
            "type": [
              "null",
              "string"
            ],
            "description": "An optional free-text note providing additional context for the consent."
          },
          "isProcessingStoringAllowed": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the user allowed their data to be processed and stored."
          },
          "isTrainingAllowed": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the user allowed their data to be used for training purposes."
          }
        },
        "additionalProperties": false,
        "description": "Consent recorded against a transaction, describing what the end user agreed to and when."
      },
      "TransactionEncodedPositionModel": {
        "type": "object",
        "properties": {
          "sdkConfiguration": {
            "type": [
              "null",
              "string"
            ],
            "description": "An opaque, Base64-encoded string containing this transaction position. Store and return this value\nas-is; do not attempt to parse or modify it.",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Wraps a transaction position as a single opaque, Base64-encoded string, intended to be handed to\nan SDK as a portable configuration token. Unlike Idv.Api.Agent.Models.V2.TransactionPositionModel, this only\never serializes to Idv.Api.Agent.Models.V2.TransactionEncodedPositionModel.SdkConfiguration - the position's individual fields are not\nexposed directly, only encoded inside that token."
      },
      "TransactionInitializationInfo": {
        "type": "object",
        "properties": {
          "workflowVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The SDK version the workflow's active version is built for, as a semantic version. A client SDK\nwhose major.minor version is greater than this must not run the workflow: the workflow has to be\nupdated to that SDK version first. A lower client SDK version is supported.",
            "example": "2.0.0"
          },
          "stepCount": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The total number of steps in the workflow.",
            "format": "int32"
          },
          "interactiveStepCount": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The number of steps in the workflow that require user interaction.",
            "format": "int32"
          },
          "hasConditionalInteractiveStep": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the workflow contains an interactive step that only runs conditionally."
          },
          "interactiveSteps": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "The names of the steps in the workflow that require user interaction."
          },
          "steps": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Describes a single step within a workflow.",
              "$ref": "#/components/schemas/WorkflowStepInfoModel"
            },
            "description": "The ordered list of steps that make up the workflow."
          },
          "isKioskModeEnabled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the workflow is running in kiosk mode."
          },
          "isD2DModeEnabled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the workflow has enabled D2D mode."
          },
          "isD2DModeForced": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the workflow D2D mode is forced."
          }
        },
        "additionalProperties": false,
        "description": "Summarizes the workflow that will drive a transaction, before the transaction has started executing."
      },
      "TransactionModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "The unique identifier of the transaction.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "workflowId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the workflow associated with this transaction."
          },
          "workflowVersionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the specific workflow version used for this transaction."
          },
          "companyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the company associated with this transaction."
          },
          "organizationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the organization associated with this transaction."
          },
          "platform": {
            "enum": [
              "None",
              "Android",
              "Ios",
              "Browser",
              "Backend",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The platform on which the transaction was initiated."
          },
          "createdOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the transaction was created.",
            "format": "date-time"
          },
          "modifiedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the transaction was last modified.",
            "format": "date-time"
          },
          "deletedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the user or system that deleted the transaction, if applicable."
          },
          "deletedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the transaction was deleted, if applicable.",
            "format": "date-time"
          },
          "processingStatus": {
            "enum": [
              "Unknown",
              "Pending",
              "Interactive",
              "InProgress",
              "Complete",
              "Retrying",
              "Error",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The current processing status of the transaction."
          },
          "verificationStatus": {
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The current verification status of the transaction."
          },
          "originalVerificationStatus": {
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The verification status originally assigned to the transaction, prior to any manual review updates."
          },
          "statusLog": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Represents a single entry in a transaction's status history, capturing the processing/verification status at a point in time along with who made the change and when.",
              "$ref": "#/components/schemas/TransactionStatusLogEntryModel"
            },
            "description": "The chronological log of status changes recorded for this transaction."
          },
          "state": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "required": [
                "$type"
              ],
              "oneOf": [
                {
                  "$ref": "#/components/schemas/BlinkCardWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/BlinkIdWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/ConditionWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/DbVerWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/DocVerWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/EndWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/FaceMatchWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/FormWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/PepAmlWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/StartWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/TrustScoreWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/UploadIdDocumentWorkflowStepState"
                },
                {
                  "$ref": "#/components/schemas/UploadNonIdDocumentWorkflowStepState"
                }
              ],
              "properties": {
                "$type": {
                  "type": "string",
                  "description": "Discriminator property indicating the concrete type."
                }
              },
              "description": "Base state for a single workflow step's execution, persisted per transaction. Concrete subtypes\n(one per step type - DocVer, BlinkId, FaceMatch, PepAml, ...) add their own capability-specific data.",
              "discriminator": {
                "propertyName": "$type",
                "mapping": {
                  "BlinkCard": "#/components/schemas/BlinkCardWorkflowStepState",
                  "BlinkId": "#/components/schemas/BlinkIdWorkflowStepState",
                  "Condition": "#/components/schemas/ConditionWorkflowStepState",
                  "DbVer": "#/components/schemas/DbVerWorkflowStepState",
                  "DocVer": "#/components/schemas/DocVerWorkflowStepState",
                  "End": "#/components/schemas/EndWorkflowStepState",
                  "FaceMatch": "#/components/schemas/FaceMatchWorkflowStepState",
                  "Form": "#/components/schemas/FormWorkflowStepState",
                  "PepAml": "#/components/schemas/PepAmlWorkflowStepState",
                  "Start": "#/components/schemas/StartWorkflowStepState",
                  "TrustScore": "#/components/schemas/TrustScoreWorkflowStepState",
                  "UploadIdDocument": "#/components/schemas/UploadIdDocumentWorkflowStepState",
                  "UploadNonIdDocument": "#/components/schemas/UploadNonIdDocumentWorkflowStepState"
                }
              }
            },
            "description": "The current state data associated with the transaction."
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "A collection of tags associated with the transaction."
          },
          "props": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "A set of custom key-value properties associated with the transaction."
          },
          "correlationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client-provided identifier used to match this transaction with the corresponding record in the client system."
          },
          "linkFields": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { },
            "description": "A set of resolved link field values derived from the transaction state.",
            "readOnly": true
          },
          "statusCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "A short status code describing the current outcome of the transaction."
          },
          "statusMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "A human-readable message describing the current status of the transaction."
          },
          "isD2dActive": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Indicates whether device-to-device (D2D) verification was currently used for this transaction."
          },
          "consent": {
            "description": "The consent information associated with this transaction.",
            "$ref": "#/components/schemas/TransactionConsentModel"
          }
        },
        "additionalProperties": false,
        "description": "Represents a verification transaction, including its workflow context, status, state, and associated metadata."
      },
      "TransactionStartModel": {
        "required": [
          "consent",
          "platform",
          "workflowId"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "minLength": 1,
            "type": "string",
            "description": "The identifier of the workflow to run."
          },
          "platform": {
            "minLength": 1,
            "enum": [
              "None",
              "Android",
              "Ios",
              "Browser",
              "Backend"
            ],
            "type": "string",
            "description": "The platform the transaction is being started for."
          },
          "formValues": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Initial values for workflow form fields, keyed by field name."
          },
          "props": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Custom key-value properties to associate with the transaction."
          },
          "correlationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional client-provided identifier used to match this transaction with the corresponding\nrecord in the client system. Stored as-is and never interpreted by the platform."
          },
          "consent": {
            "description": "The end user's consent to process/store their data, required to start the transaction.",
            "$ref": "#/components/schemas/TransactionConsentCreateModel"
          }
        },
        "additionalProperties": false,
        "description": "Request body used to start a new transaction for a given workflow."
      },
      "TransactionStatusLogEntryModel": {
        "type": "object",
        "properties": {
          "processing": {
            "enum": [
              "Unknown",
              "Pending",
              "Interactive",
              "InProgress",
              "Complete",
              "Retrying",
              "Error"
            ],
            "type": "string",
            "description": "The processing status recorded at this point in the transaction's history.",
            "format": "string",
            "example": "Interactive"
          },
          "verification": {
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The verification status recorded at this point in the transaction's history, if applicable.",
            "example": "Accept"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the user, system or service account that created this log entry."
          },
          "createdOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time this log entry was created.",
            "format": "date-time"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ],
            "description": "An optional comment providing additional context for this status change."
          },
          "workflowStepType": {
            "type": [
              "null",
              "string"
            ],
            "description": "Which step type was executed for this status log entry."
          }
        },
        "additionalProperties": false,
        "description": "Represents a single entry in a transaction's status history, capturing the processing/verification status at a point in time along with who made the change and when."
      },
      "TrustScoreWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "trustScore": {
            "type": [
              "null",
              "number"
            ],
            "description": "The computed aggregate trust score.",
            "format": "double"
          },
          "input": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TrustScoreWorkflowStep_InputWeight"
              }
            },
            "description": "The field weights used to compute Idv.Cogs.Contract.TrustScoreWorkflowStepState.TrustScore, keyed by the source step type."
          }
        },
        "additionalProperties": false,
        "description": "State of a trust-score step: the aggregated score and the per-field weights it was computed from."
      },
      "TrustScoreWorkflowStep_InputWeight": {
        "required": [
          "path"
        ],
        "type": "object",
        "properties": {
          "inverse": {
            "type": "boolean"
          },
          "weight": {
            "type": "number",
            "format": "double"
          },
          "path": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateTransactionVerificationStatusModel": {
        "required": [
          "verificationStatus"
        ],
        "type": "object",
        "properties": {
          "verificationStatus": {
            "minLength": 1,
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review"
            ],
            "type": "string",
            "description": "The verification status to assign to the transaction.",
            "format": "string"
          },
          "comment": {
            "maxLength": 1000,
            "type": [
              "null",
              "string"
            ],
            "description": "An optional comment explaining the reason for this status change."
          }
        },
        "additionalProperties": false,
        "description": "Request body used to manually set a transaction's verification status."
      },
      "UploadIdDocumentWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "input": {
            "description": "The document images submitted for this step.",
            "$ref": "#/components/schemas/UploadIdDocumentWorkflowStepState_InputState"
          },
          "isMaxRetryCountExceeded": {
            "type": "boolean",
            "description": "Whether this step reached its maximum allowed retry count."
          },
          "extraction": {
            "description": "The data extracted from the document.",
            "$ref": "#/components/schemas/DocVerExtraction"
          },
          "verification": {
            "description": "The document's verification (authenticity) result.",
            "$ref": "#/components/schemas/DocVerVerification"
          },
          "indicators": {
            "description": "Fraud/quality indicators computed for the document.",
            "$ref": "#/components/schemas/Indicators"
          },
          "stepInputHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Document images submitted for an upload-identity-document step.",
              "$ref": "#/components/schemas/UploadIdDocumentWorkflowStepState_InputState"
            },
            "description": "Prior submissions of Idv.Cogs.Contract.UploadIdDocumentWorkflowStepState.Input across step restarts."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of an upload-identity-document step: the uploaded document images and extraction/verification results."
      },
      "UploadIdDocumentWorkflowStepState_InputState": {
        "type": "object",
        "properties": {
          "front": {
            "description": "Image of the front of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "back": {
            "description": "Image of the back of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "barcode": {
            "description": "Image of barcode of the document.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "Document images submitted for an upload-identity-document step."
      },
      "UploadNonIdDocumentWorkflowStepState": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkflowStepState"
          }
        ],
        "properties": {
          "input": {
            "description": "The document type and image submitted for this step.",
            "$ref": "#/components/schemas/UploadNonIdDocumentWorkflowStepState_InputData"
          },
          "documentType": {
            "enum": [
              "Unknown",
              "BirthCertificate",
              "FormI94",
              "FormDs2019",
              "FormI20",
              "FormDs1350",
              "FormI797C",
              "FormFS240",
              "FormFS545",
              "FormI94TemporaryI551",
              "FormI94OAR",
              "FormI94Refugee",
              "FSMRMIPassport",
              "FSMRMIPassportWithI94",
              "FormI179",
              "FormI197",
              "MilitaryDependentIDCard",
              "MerchantMarinerCard",
              "MilitaryDraftRecord",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The type of supporting document that was submitted."
          },
          "image": {
            "description": "The submitted document image.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "extraction": {
            "required": [
              "$type"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/I94DocumentData"
              },
              {
                "$ref": "#/components/schemas/I20DocumentData"
              },
              {
                "$ref": "#/components/schemas/DS1350DocumentData"
              },
              {
                "$ref": "#/components/schemas/DS2019DocumentData"
              },
              {
                "$ref": "#/components/schemas/I797CDocumentData"
              },
              {
                "type": "null"
              }
            ],
            "properties": {
              "$type": {
                "type": "string",
                "description": "Discriminator property indicating the concrete type."
              }
            },
            "description": "The data extracted from the document.",
            "discriminator": {
              "propertyName": "$type",
              "mapping": {
                "I94DocumentData": "#/components/schemas/I94DocumentData",
                "I20DocumentData": "#/components/schemas/I20DocumentData",
                "DS1350DocumentData": "#/components/schemas/DS1350DocumentData",
                "DS2019DocumentData": "#/components/schemas/DS2019DocumentData",
                "I797CDocumentData": "#/components/schemas/I797CDocumentData"
              }
            }
          },
          "classification": {
            "description": "The document classification result (e.g. detected document type/subtype).",
            "$ref": "#/components/schemas/NonIdClassificationData"
          },
          "stepInputHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "The document type and image submitted for an upload-non-identity-document step.",
              "$ref": "#/components/schemas/UploadNonIdDocumentWorkflowStepState_InputData"
            },
            "description": "Prior submissions of Idv.Cogs.Contract.UploadNonIdDocumentWorkflowStepState.Input across step restarts."
          },
          "isMaxRetryCountExceeded": {
            "type": "boolean",
            "description": "Whether this step reached its maximum allowed retry count."
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "State of an upload-non-identity-document step: the uploaded supporting document and its extraction/classification results."
      },
      "UploadNonIdDocumentWorkflowStepState_InputData": {
        "type": "object",
        "properties": {
          "documentType": {
            "enum": [
              "Unknown",
              "BirthCertificate",
              "FormI94",
              "FormDs2019",
              "FormI20",
              "FormDs1350",
              "FormI797C",
              "FormFS240",
              "FormFS545",
              "FormI94TemporaryI551",
              "FormI94OAR",
              "FormI94Refugee",
              "FSMRMIPassport",
              "FSMRMIPassportWithI94",
              "FormI179",
              "FormI197",
              "MilitaryDependentIDCard",
              "MerchantMarinerCard",
              "MilitaryDraftRecord",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The type of supporting document that was submitted."
          },
          "image": {
            "description": "The submitted document image.",
            "$ref": "#/components/schemas/TransactionBlobRef"
          },
          "clientSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client SDK version that submitted this step's feedback."
          }
        },
        "additionalProperties": false,
        "description": "The document type and image submitted for an upload-non-identity-document step."
      },
      "UserProfileModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "Unique identifier of the user profile.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "description": "External identifier of the user the profile belongs to."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "User's first name."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "User's last name."
          },
          "middleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "User's middle name."
          },
          "createdOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the profile was first created.",
            "format": "date-time"
          },
          "lastActivityOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user was last active on any transaction or monitor.",
            "format": "date-time"
          },
          "transactionCount": {
            "type": "integer",
            "description": "Number of transactions associated with this profile.",
            "format": "int32",
            "readOnly": true
          },
          "transactions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Summary of a single transaction as seen from a user profile.",
              "$ref": "#/components/schemas/UserProfileTransactionModel"
            },
            "description": "Transactions associated with this profile."
          },
          "monitors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Summary of a single PEP/AML/watchlist monitor as seen from a user profile.",
              "$ref": "#/components/schemas/UserProfileMonitorModel"
            },
            "description": "PEP/AML monitors associated with this profile."
          }
        },
        "additionalProperties": false,
        "description": "Aggregated view of a user across all their transactions and monitors."
      },
      "UserProfileMonitorModel": {
        "type": "object",
        "properties": {
          "monitorId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the monitor."
          },
          "workflowId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the workflow that created the monitor."
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "description": "External identifier of the monitored user."
          },
          "workflowVersionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the workflow version that created the monitor."
          },
          "pepFlagged": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the latest run flagged a PEP match."
          },
          "wlsFlagged": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the latest run flagged a watchlist/sanctions match."
          },
          "nmFlagged": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Whether the latest run flagged a negative-media match."
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Full name being monitored."
          },
          "workflowName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name of the workflow that created the monitor."
          },
          "transactionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the transaction that created the monitor."
          },
          "createdOn": {
            "type": "string",
            "description": "When the monitor was created.",
            "format": "date-time"
          },
          "runs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Result of a single scheduled search performed by a monitor.",
              "$ref": "#/components/schemas/UserProfileMonitorModel_MonitorRunModel"
            },
            "description": "History of individual search runs performed by the monitor."
          },
          "monitorStatus": {
            "enum": [
              "Active",
              "Suspended",
              "Deleted"
            ],
            "type": "string",
            "description": "Current lifecycle status of the monitor.",
            "format": "string"
          },
          "monitorFrequency": {
            "enum": [
              "Daily",
              "Weekly",
              "Monthly",
              "Quarterly",
              "Annually"
            ],
            "type": "string",
            "description": "How often the monitor re-runs its search.",
            "format": "string"
          },
          "monitorOptions": {
            "description": "PEP/watchlist/negative-media search options used by the monitor.",
            "$ref": "#/components/schemas/MonitorSearchOptionsModel"
          }
        },
        "additionalProperties": false,
        "description": "Summary of a single PEP/AML/watchlist monitor as seen from a user profile."
      },
      "UserProfileMonitorModel_MonitorRunModel": {
        "type": "object",
        "properties": {
          "searchParameters": {
            "description": "Search parameters used for this run.",
            "$ref": "#/components/schemas/MonitorSearchParameters"
          },
          "pepFlagged": {
            "type": "boolean",
            "description": "Whether this run flagged a PEP match."
          },
          "wlsFlagged": {
            "type": "boolean",
            "description": "Whether this run flagged a watchlist/sanctions match."
          },
          "nmFlagged": {
            "type": "boolean",
            "description": "Whether this run flagged a negative-media match."
          },
          "runAt": {
            "type": "string",
            "description": "When this run executed.",
            "format": "date-time"
          },
          "pep": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PepResult"
            },
            "description": "PEP search results from this run."
          },
          "aml": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AmlResult"
            },
            "description": "AML search results from this run."
          },
          "nm": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/NmResult"
            },
            "description": "Negative-media search results from this run."
          }
        },
        "additionalProperties": false,
        "description": "Result of a single scheduled search performed by a monitor."
      },
      "UserProfileTransactionModel": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Identifier of the transaction.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the transaction was created.",
            "format": "date-time"
          },
          "hasDocuments": {
            "type": "boolean",
            "description": "Whether the transaction collected any documents."
          },
          "hasSelfies": {
            "type": "boolean",
            "description": "Whether the transaction collected any selfies."
          },
          "hasPaymentCards": {
            "type": "boolean",
            "description": "Whether the transaction collected any payment cards."
          },
          "hasTrustScores": {
            "type": "boolean",
            "description": "Whether the transaction produced any trust scores."
          },
          "hasDeviceDetails": {
            "type": "boolean",
            "description": "Whether the transaction collected any device details."
          }
        },
        "additionalProperties": false,
        "description": "Summary of a single transaction as seen from a user profile."
      },
      "V2LivenessBoundaryCheckResult": {
        "type": "object",
        "properties": {
          "passesAtOrBelowSensitivity": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "modelId": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "V2LivenessCheckResult": {
        "type": "object",
        "properties": {
          "result": {
            "enum": [
              "Pass",
              "Fail",
              "NotPerformed",
              null
            ],
            "type": [
              "null",
              "string"
            ]
          },
          "modelId": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "VerificationLinkCreateModel": {
        "required": [
          "expiresOn",
          "userId",
          "workflowId"
        ],
        "type": "object",
        "properties": {
          "expiresOn": {
            "minLength": 1,
            "type": "string",
            "description": "The date and time after which the link is no longer usable; must be in the future.",
            "format": "date-time"
          },
          "runAddress": {
            "type": [
              "null",
              "string"
            ],
            "description": "The base address the link should point to when run."
          },
          "workflowId": {
            "minLength": 1,
            "type": "string",
            "description": "The identifier of the workflow to run when the link is opened."
          },
          "formValues": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Initial values for workflow form fields, keyed by field name."
          },
          "props": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Custom key-value properties to associate with the resulting transaction."
          },
          "redirectUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "The URL to redirect the user to after the transaction completes."
          },
          "correlationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional client-provided identifier, propagated to the transaction started from this link,\nused to match it with the corresponding record in the client system."
          },
          "userId": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The identifier of the end user the link is intended for."
          }
        },
        "additionalProperties": false,
        "description": "Request body used to create a verification link that a user can open to run a transaction remotely."
      },
      "VerificationLinkCreatedModel": {
        "required": [
          "id",
          "url"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "The unique identifier of the verification link.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "The full URL to send to the user. Opening it starts the verification."
          }
        },
        "additionalProperties": false,
        "description": "A newly created verification link."
      },
      "VerificationLinkModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "The unique identifier of the verification link.",
            "example": "01988877-9797-7be0-a889-b071c4a13292"
          },
          "transactionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the transaction created when the link is opened."
          },
          "companyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the company that created the link."
          },
          "organizationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the organization that created the link."
          },
          "workflowId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the workflow to run when the link is opened."
          },
          "expiresOn": {
            "type": "string",
            "description": "The date and time after which the link is no longer usable.",
            "format": "date-time"
          },
          "executedOn": {
            "type": "string",
            "description": "The date and time the link was opened and its transaction started.",
            "format": "date-time"
          },
          "useGenericHost": {
            "type": "boolean",
            "description": "Whether the link opens through the generic hosted page rather than a custom run address."
          },
          "createdOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The date and time the link was created.",
            "format": "date-time"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the user or system that created the link."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "The full URL that can be opened to use the link."
          },
          "runAddress": {
            "type": [
              "null",
              "string"
            ],
            "description": "The base address the link points to when run."
          },
          "redirectUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "The URL to redirect the user to after the transaction completes."
          },
          "correlationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The client-provided identifier propagated to the transaction started from this link."
          }
        },
        "additionalProperties": false,
        "description": "A shareable link that a user can open to run a transaction remotely."
      },
      "VisualChecks": {
        "type": "object",
        "properties": {
          "overall": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Check"
              },
              {
                "$ref": "#/components/schemas/DetailedCheck"
              },
              {
                "$ref": "#/components/schemas/TieredCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "photoForgery": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "staticSecurityFeature": {
            "$ref": "#/components/schemas/TieredCheck"
          },
          "generativeAi": {
            "$ref": "#/components/schemas/TieredCheck"
          }
        },
        "additionalProperties": false
      },
      "WlsSettings": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PepWlsNmSettings"
          }
        ],
        "properties": {
          "categories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "enum": [
                "Unknown",
                "AllWls",
                "Activist",
                "AmlKycCompliance",
                "ExclusionDebarment",
                "Financial",
                "GlobalCriminal",
                "GlobalHealthcare",
                "GlobalWatchListsAndSanctions",
                "ImportExport",
                "NationalCriminalFile",
                "NationalHealthcare",
                "OfficeOfTheInspectorGeneral",
                "RealEstate",
                "SamGovExclusions",
                "SamGov",
                "SexOffenders",
                "Corruption",
                "Ofac",
                "Terrorism"
              ],
              "type": "string",
              "format": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "WorkflowEventModel": {
        "required": [
          "platform",
          "reason",
          "sdkVersion",
          "workflowId"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "minLength": 1,
            "type": "string",
            "description": "Identifier of the workflow the event relates to."
          },
          "platform": {
            "minLength": 1,
            "enum": [
              "None",
              "Android",
              "Ios",
              "Browser",
              "Backend"
            ],
            "type": "string",
            "description": "Client platform that reported the event."
          },
          "sdkVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Version of the client SDK that reported the event.",
            "example": "1.9.0"
          },
          "reason": {
            "minLength": 1,
            "type": "string",
            "description": "Reason for the event."
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "description": "External identifier of the user the event relates to."
          }
        },
        "additionalProperties": false,
        "description": "Client-reported event about a workflow's lifecycle (e.g. abandonment) outside a transaction."
      },
      "WorkflowStepInfoModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The identifier of the step within the workflow.",
            "format": "int32"
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "The type of step (e.g. the verification/action it performs)."
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "The name of the step."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "A human-readable description of what the step does."
          }
        },
        "additionalProperties": false,
        "description": "Describes a single step within a workflow."
      },
      "WorkflowStepRuleMatch": {
        "required": [
          "ruleName"
        ],
        "type": "object",
        "properties": {
          "ruleId": {
            "type": "integer",
            "format": "int32"
          },
          "ruleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "isMatched": {
            "type": "boolean"
          },
          "verificationStatus": {
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review"
            ],
            "type": "string",
            "format": "string"
          },
          "errorMessage": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowStepState": {
        "required": [
          "$type"
        ],
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/BlinkCardWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/BlinkIdWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/ConditionWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/DbVerWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/DocVerWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/EndWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/FaceMatchWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/FormWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/PepAmlWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/StartWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/TrustScoreWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/UploadIdDocumentWorkflowStepState"
          },
          {
            "$ref": "#/components/schemas/UploadNonIdDocumentWorkflowStepState"
          }
        ],
        "properties": {
          "$type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Discriminator identifying the concrete step state type (e.g. \"DocVer\", \"BlinkId\").",
            "readOnly": true
          },
          "workflowStepId": {
            "type": "integer",
            "description": "The identifier of the workflow step definition this state belongs to.",
            "format": "int32"
          },
          "workflowStepName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The name of the workflow step definition this state belongs to."
          },
          "processingStatus": {
            "enum": [
              "Unknown",
              "Pending",
              "Interactive",
              "InProgress",
              "Complete",
              "Retrying",
              "Error"
            ],
            "type": "string",
            "description": "The current processing status of this step.",
            "format": "string"
          },
          "verificationStatus": {
            "enum": [
              "Unknown",
              "Accept",
              "Reject",
              "Review",
              null
            ],
            "type": [
              "null",
              "string"
            ],
            "description": "The verification outcome this step contributed, if any."
          },
          "createdOn": {
            "type": "string",
            "description": "When this step's state was first created.",
            "format": "date-time"
          },
          "modifiedOn": {
            "type": "string",
            "description": "When this step's state was last modified.",
            "format": "date-time"
          },
          "completedOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "When this step completed, if it has.",
            "format": "date-time"
          },
          "executionIndex": {
            "type": "integer",
            "description": "Not related to retries, simple count how many times this step was started.\nEach time step is fully restarted (with clear state) - this is incremented.",
            "format": "int32"
          },
          "statusCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Deprecated status code describing why this step is in its current state, if applicable."
          },
          "statusMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Deprecated human-readable message accompanying Idv.Cogs.Contract.WorkflowStepState.StatusCode."
          },
          "ruleMatches": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowStepRuleMatch"
            },
            "description": "Workflow rules that matched while evaluating this step."
          },
          "serviceTraces": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ExtServiceTraceRef"
            },
            "description": "References to the external-service call traces recorded for this step; also used to base retry attempts on."
          }
        },
        "additionalProperties": false,
        "description": "Base state for a single workflow step's execution, persisted per transaction. Concrete subtypes\n(one per step type - DocVer, BlinkId, FaceMatch, PepAml, ...) add their own capability-specific data.",
        "discriminator": {
          "propertyName": "$type",
          "mapping": {
            "BlinkCard": "#/components/schemas/BlinkCardWorkflowStepState",
            "BlinkId": "#/components/schemas/BlinkIdWorkflowStepState",
            "Condition": "#/components/schemas/ConditionWorkflowStepState",
            "DbVer": "#/components/schemas/DbVerWorkflowStepState",
            "DocVer": "#/components/schemas/DocVerWorkflowStepState",
            "End": "#/components/schemas/EndWorkflowStepState",
            "FaceMatch": "#/components/schemas/FaceMatchWorkflowStepState",
            "Form": "#/components/schemas/FormWorkflowStepState",
            "PepAml": "#/components/schemas/PepAmlWorkflowStepState",
            "Start": "#/components/schemas/StartWorkflowStepState",
            "TrustScore": "#/components/schemas/TrustScoreWorkflowStepState",
            "UploadIdDocument": "#/components/schemas/UploadIdDocumentWorkflowStepState",
            "UploadNonIdDocument": "#/components/schemas/UploadNonIdDocumentWorkflowStepState"
          }
        }
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      },
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "tags": [
    {
      "name": "ExtServiceTrace"
    },
    {
      "name": "Monitor"
    },
    {
      "name": "MonitorBlob"
    },
    {
      "name": "Transaction",
      "description": "Start transactions and read, update, anonymize, or delete them"
    },
    {
      "name": "TransactionBlob"
    },
    {
      "name": "TransactionInit"
    },
    {
      "name": "UserProfile"
    },
    {
      "name": "VerificationLink",
      "description": "Create single-use links that send end users to a hosted page where they verify their identity"
    }
  ],
  "externalDocs": {
    "description": "Microblink Platform documentation",
    "url": "https://docs.microblink.com/platform"
  }
}