{
  "x-generator": "NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "C1Plus.WebApi",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://dev.c1plus.idsdoc.com"
    }
  ],
  "paths": {
    "/api/v1/accounts/{accountId}/loans/{loanId}/actions/copy": {
      "post": {
        "tags": [
          "Actions"
        ],
        "summary": "Copies an existing loan transaction.",
        "description": "Creates a copy of an existing loan transaction including all in-scope data while\nexcluding: Credit/Flood order results, Event Logs, DGS orders, document packages.\nDocViewer data is included in the copy. No duplicate validation is applied (wiki §1.3).\nFor Mortgage LOB the request is forwarded to the configured IDS endpoint (wiki §4.3).",
        "operationId": "ActionsCopyLoanTransaction",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier to copy.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "request",
          "description": "Optional request body. LoanNumber is the only user-editable\nfield in the copy modal (wiki §1.2). All other modal fields are pre-filled and disabled.\nIf omitted or LoanNumber is null/empty, the copied loan file has no loan number.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CopyRequest"
              }
            }
          },
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the new copied loan file including its generated ID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — authorization policy failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — caller lacks permission to copy loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Loan file not found for the specified accountId and loanId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/{loanId}/actions/archive": {
      "post": {
        "tags": [
          "Actions"
        ],
        "summary": "Archives an existing loan transaction.",
        "description": "Sets IsArchive, ArchivedBy, ArchivedOn, UpdatedBy, and UpdatedOn on the loan file (wiki §5.3)\nvia Archive.\nPersists the mutated loan via HandleUpdateLoanFileAsync (direct DB, no function app) (wiki §5.2).\nFor Mortgage LOB delegates to the configured IDS endpoint (wiki §5.4).\nReplaces the removed PATCH {loanId}/archive endpoint (wiki §21.2).",
        "operationId": "ActionsArchiveLoanTransaction",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier to archive.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file with archive fields set.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Loan file is already archived.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — authorization policy failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — caller lacks permission to archive loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Loan file not found for the specified accountId and loanId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/{loanId}/actions/delete": {
      "delete": {
        "tags": [
          "Actions"
        ],
        "summary": "Deletes an archived loan transaction.",
        "description": "Only loans that are already archived may be deleted — returns 400 if not archived (wiki §6.5).\nExecutes DeleteAsync to validate archived state and\nclean up blob storage packages, then calls ExecuteDeleteCommandAsync for direct DB delete.\n403 is returned by the authorization framework when the caller lacks the\nCAN DELETE A FILE IN ARCHIVE permission (wiki §6.4).\nFor Mortgage LOB delegates to the configured IDS endpoint (wiki §6.3).\nReplaces the removed POST {loanId}/delete endpoint (wiki §21.3).",
        "operationId": "ActionsDeleteLoanTransaction",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier to delete.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the result of the delete command.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "Loan file is not archived and cannot be deleted (wiki §6.5).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — authorization policy failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — caller lacks the CAN DELETE A FILE IN ARCHIVE permission (wiki §6.4).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Loan file not found for the specified accountId and loanId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/{loanId}/actions/restore": {
      "post": {
        "tags": [
          "Actions"
        ],
        "summary": "Restores (unarchives) an archived loan transaction.",
        "description": "Clears IsArchive, ArchivedBy, ArchivedOn and updates UpdatedBy, UpdatedOn on the loan file (wiki §7.3)\nvia Restore.\nPersists the mutated loan via HandleUpdateLoanFileAsync (direct DB, no function app).\nFor Mortgage LOB delegates to the configured IDS endpoint (wiki §7.4).\nReplaces the removed PATCH {loanId}/unarchive endpoint (wiki §21.4).",
        "operationId": "ActionsRestoreLoanTransaction",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier to restore.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file with archive fields cleared.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Loan file is not archived.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — authorization policy failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — caller lacks permission to restore loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Loan file not found for the specified accountId and loanId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/{loanId}/actions/copy/viewmodel": {
      "get": {
        "tags": [
          "Actions"
        ],
        "summary": "Get List of PropertyState for the Copy Loan smoke screen view.\nReturns the UI configuration (PropertyStates) for the Create Copy dialog,\nenabling the frontend to render the smoke screen with pre-filled fields.\nAll fields are disabled except Loan Number.",
        "operationId": "ActionsCopyViewModel",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of PropertyState for the copy loan smoke screen.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized if the authorization policy fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden if the user does not have access.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the view model state could not be generated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/list/viewmodel": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get List of Applications.",
        "operationId": "ApplicationListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": " Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": " Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/state": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get application properties.",
        "operationId": "ApplicationState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/viewmodel": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get application View Midel.",
        "operationId": "ApplicationViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "applicationId",
            "in": "query",
            "description": "Application Identifier",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications": {
      "post": {
        "tags": [
          "Application"
        ],
        "summary": "Create Application.",
        "operationId": "CreateApplication",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "applicationInfo",
          "description": "The application Info detail",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Application was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Application was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/{applicationId}": {
      "delete": {
        "tags": [
          "Application"
        ],
        "summary": "Delete Application.",
        "description": "Delete a transaction.",
        "operationId": "DeleteApplication",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "description": "The application identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the application was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if application was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Update Loan Party.",
        "description": "Update a new Transaction.",
        "operationId": "UpdateApplication",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "description": "The application identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "applicationInfo",
          "description": "The Application detail information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the application party was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if application was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/information/viewmodel": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get the application General Information ViewModel.",
        "operationId": "GetApplicationInformationViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/applications/information": {
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Update Application General Information.",
        "operationId": "UpdateApplicationInformation",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "applicationGeneralInfo",
          "description": "application General Info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationGeneralInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Application General Information was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Application General Information was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Application"
        ],
        "summary": "Update Application General Information viewed flag",
        "operationId": "UpdateApplicationGeneralInformationStatus",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the Application General Information viewed flag was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationGeneralInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Application General Information viewed flag was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/archivegrid/viewmodel": {
      "get": {
        "tags": [
          "ArchiveGrid"
        ],
        "summary": "Get the Archive Files Grid.",
        "operationId": "ArchiveGridViewModel",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the archive grid view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArchiveGridViewModel"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized if the authorization policy fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden if the user does not have access.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/assets/state": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Gets the state model for all assets associated with the specified client and loan.",
        "operationId": "AssetsState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset state model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/assets/list/viewmodel": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Gets a list of assets in a view model format for the specified client and loan.",
        "operationId": "AssetListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/assets/{assetId}/viewmodel": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Gets a specific asset's view model by its identifier.",
        "operationId": "AssetViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the asset",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/assets": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Creates a new asset for the specified client and loan.",
        "operationId": "CreateAsset",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "assetInfo",
          "description": "The asset information to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssetInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the asset was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the client or loan doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/assets/{assetId}": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Updates an existing asset for the specified client and loan.",
        "operationId": "UpdateAsset",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the asset to update",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "assetInfo",
          "description": "The updated asset information",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssetInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the asset was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the asset was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Asset"
        ],
        "summary": "Deletes a specific asset by its identifier.",
        "operationId": "DeleteAsset",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the asset to delete",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the asset was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the asset was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orders": {
      "get": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Get List of Orders.",
        "operationId": "Orders",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditAndOrderInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditAndOrderInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Create Order.",
        "operationId": "CreateOrder",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuditAndOrderInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Order was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Order was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orders/viewmodel": {
      "get": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Returns a view model.",
        "operationId": "OrdersView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orders/state": {
      "put": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Get List of Orders.",
        "operationId": "OrdersState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditAndOrderInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditAndOrderInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderDocuments": {
      "post": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Create Order.",
        "operationId": "OrderDocuments",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuditAndOrderInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Order was created."
          },
          "202": {
            "description": "status."
          },
          "404": {
            "description": "Returns an empty response if Order was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderDocuments/package/{packageId}/result/{instanceId}": {
      "get": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Orders the documents result.",
        "operationId": "OrderDocumentsResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "path",
            "required": true,
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "202": {
            "description": ""
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orders/validate": {
      "get": {
        "tags": [
          "AuditOrder"
        ],
        "summary": "Gets the orders validation.",
        "operationId": "OrdersValidate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditValidationInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/user/permission": {
      "get": {
        "tags": [
          "ClientUser"
        ],
        "summary": "Gets the user permissions resolved via IPermissionResolver.\nIn STS/OIDC mode this returns the scopes mapped from the user's\nwk-account.PermissionCodes for the supplied clientId;\nin legacy IDS mode the resolver delegates to IIdsPermissionResolver.\nSee LLD §2.4.2 / §2.5.",
        "operationId": "GetUserPermissions",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier (bound from route).",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "The effective set of permission scopes for the authenticated user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/user/profile": {
      "get": {
        "tags": [
          "ClientUser"
        ],
        "summary": "Gets the user profile.",
        "operationId": "ClientUser_GetUserProfile",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfile"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Collaterals.",
        "operationId": "Collaterals",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "the ids client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralListInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Collateral"
        ],
        "summary": "Create Collateral.",
        "operationId": "CreateCollateral",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralInfo",
          "description": "The collateral Info detail",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Collateral was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral was not created..",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/view": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Property State for collateral view.",
        "operationId": "CollateralsView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/insurances/viewmodel": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Property State for Insurance view.",
        "operationId": "InsuranceViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/state": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Collaterals State.",
        "operationId": "CollateralsState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/list/viewmodel": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Collaterals State.",
        "operationId": "CollateralsListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the ModelState object if the operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the ModelState object if the operation is accepted but not yet completed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns a NotFound result if the specified loan or client does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/insurances/list/viewmodel": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of insurance State.",
        "operationId": "CollateralsInsuranceListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the ModelState object if the operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the ModelState object if the operation is accepted but not yet completed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns a NotFound result if the specified loan or client does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/{collateralId}/state": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get Collateral State based on collateral Id.",
        "operationId": "CollateralState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/insurances/{insuranceId}/state": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get Collateral State based on collateral Id.",
        "operationId": "InsuranceDetailsState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "insuranceId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceDetailsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceDetailsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/{collateralId}/viewmodel": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get List of Property State for view based on collateralId.",
        "operationId": "CollateralView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral was not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/{collateralId}": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get Collateral Details Info based on collateral Id .",
        "operationId": "Collateral",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Collateral"
        ],
        "summary": "Update Collateral.",
        "operationId": "UpdateCollateral",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralDetailsInfo",
          "description": "collateral Details Info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralDetailsInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Collateral was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Collateral"
        ],
        "summary": "Delete collateral.",
        "operationId": "DeleteCollateral",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the collateral was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if collateral was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/insurances": {
      "post": {
        "tags": [
          "Collateral"
        ],
        "summary": "Create Insurance",
        "operationId": "CreateInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralInsuranceInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralInsuranceInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/insurances/{insuranceId}": {
      "put": {
        "tags": [
          "Collateral"
        ],
        "summary": "Update Insurance.",
        "operationId": "UpdateInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "insuranceId",
            "in": "path",
            "required": true,
            "description": "The insurance Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralInsuranceInfo",
          "description": "Insurance Details Info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralInsuranceDetailInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Insurance was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Insurance was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Collateral"
        ],
        "summary": "Delete Application.",
        "description": "Delete a transaction.",
        "operationId": "DeleteInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "insuranceId",
            "in": "path",
            "required": true,
            "description": "The insurance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the insurance was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if insurance was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/securityAgreements/{securityAgreementId}/viewmodel": {
      "get": {
        "tags": [
          "Collateral"
        ],
        "summary": "Get CollateralDetailsViewModel State based on collateral Id.",
        "operationId": "CollateralDetailsViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "securityAgreementId",
            "in": "path",
            "required": true,
            "description": "From Alpha2 onwords we need to pass the SecurityAgreement Id",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collaterals/securityAgreements/{securityAgreementId}": {
      "delete": {
        "tags": [
          "Collateral"
        ],
        "summary": "Delete collaterals.",
        "operationId": "DeleteCollaterals",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "securityAgreementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the collateral was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if collateral was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Collateral"
        ],
        "summary": "Update Collateral..",
        "operationId": "UpdateCollaterals",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "securityAgreementId",
            "in": "path",
            "required": true,
            "description": "The securityAgreement Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralDetailsInfo",
          "description": "collateral Details Info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralDetailsInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Collateral was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralDetailsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/collateralCosts/state": {
      "get": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Gets the state model for all collateral costs associated with the specified client and loan.",
        "operationId": "CollateralCostState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the disbursement credit state model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/collateralCosts/list/viewmodel": {
      "get": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Gets a list of collateral costs in a view model format for the specified client and loan.",
        "operationId": "CollateralCostListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the CollateralCost list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/collateralCosts/viewmodel": {
      "get": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Gets a specific collateral cost's view model by its identifier.",
        "operationId": "CollateralCostViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralCostId",
            "in": "query",
            "description": "The unique identifier of the CollateralCost",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the collateral cost view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralCostInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/collateralCosts": {
      "post": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Creates a new collateral cost for the specified client and loan.",
        "operationId": "CreateCollateralCost",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralCostInfo",
          "description": "The collateral cost information to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralCostInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the collateral cost was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the client or loan doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/collateralCosts/{collateralCostId}": {
      "put": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Updates an existing collateral cost for the specified client and loan.",
        "operationId": "UpdateCollateralCost",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralCostId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the collateral cost to update",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralCostInfo",
          "description": "The updated collateral cost information",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralCostInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the collateral cost was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the collateral cost was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "CollateralCost"
        ],
        "summary": "Deletes a specific collateral cost by its identifier.",
        "operationId": "DeleteCollateralCost",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralCostId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the collateral cost to delete",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the collateral cost was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the collateral cost was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collateralmodificationsummary/viewmodel": {
      "get": {
        "tags": [
          "CollateralModificationSummary"
        ],
        "summary": "Get Hazard Insurance ViewModel for a specific collateral.",
        "operationId": "CollateralModificationSummaryViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/collateralmodificationsummary": {
      "put": {
        "tags": [
          "CollateralModificationSummary"
        ],
        "summary": "Update Collateral Modification Summary for a specific collateral item.",
        "operationId": "UpdateCollateralModificationSummary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "modificationSummaryListInfo",
          "description": "The modification summary info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModificationSummaryListInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Modification Summary was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryListInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryListInfo"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Modification Summary was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/configuration": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Gets this instance.",
        "operationId": "GetConfiguration",
        "responses": {
          "200": {
            "description": "Url Mapping.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UrlMapping"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/list/viewmodel": {
      "get": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Retrieves the core upload list view",
        "description": "This method retrieves the core upload list view.",
        "operationId": "CoreUploadListView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a CoreUploadListInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoreUploadListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a CoreUploadListInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoreUploadListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/viewmodel/party/{partyId}": {
      "get": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Retrieves the sdc information for party",
        "description": "This method retrieves the sdc information for a specific party.",
        "operationId": "SdcInformationForParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the party. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a CustomerCreateUploadInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed,  or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCreateUploadInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a CustomerCreateUploadInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed,  or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCreateUploadInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/party/{partyId}": {
      "post": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Uploads the party to core.",
        "operationId": "CustomerCreate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "customerCreateUploadInfo",
          "description": "The customer create upload information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerCreateRequestModel"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing the updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing the updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/requestresponse/party/{partyId}": {
      "get": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Retrieves the request response for party.",
        "operationId": "RequestResponseForParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the request/response JSON string when retrieval is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "202": {
            "description": "Returns accepted when the request is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/viewmodel": {
      "get": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Retrieves the sdc information for loan..",
        "description": "This method retrieves the sdc information for a specific party.",
        "operationId": "SdcInformationForLoan",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a LoanCreateUploadInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanCreateUploadInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a LoanCreateUploadInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanCreateUploadInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload": {
      "post": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Uploads the loan to core.",
        "operationId": "LoanCreate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanCreateUploadInfo",
          "description": "The loan create upload information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanCreateRequestModel"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/requestresponse": {
      "get": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Retrieves the request response for loan.",
        "operationId": "RequestResponseForLoan",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the request/response JSON string when retrieval is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "202": {
            "description": "Returns accepted when the request is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/coreupload/uploadall": {
      "post": {
        "tags": [
          "CoreUpload"
        ],
        "summary": "Uploads the all parties and loan to core.",
        "description": "All parties are uploaded first. The loan is only uploaded after all parties have been uploaded successfully.\nIf any party upload fails, the operation is short-circuited and a Status422UnprocessableEntity is returned.",
        "operationId": "UploadAllToCore",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "uploadAllToCoreInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CoreUploadAllToCoreInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing the updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing the updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "422": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit": {
      "post": {
        "tags": [
          "Credit"
        ],
        "summary": "Creates a credit request for a specific client and loan, and initiates the credit report ordering process.",
        "operationId": "CreateCreditRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "creditReportItemInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditReportItemInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/{requestId}": {
      "delete": {
        "tags": [
          "Credit"
        ],
        "summary": "Deletes a credit report item for a specific client and loan based on the request ID.",
        "operationId": "DeleteCreditReport",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/{creditReportReferenceNumber}": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Gets the status of a credit request for a specific client and loan based on the credit report reference number.",
        "operationId": "GetCreditReportPdf",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "creditReportReferenceNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/list/viewmodel": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "/ Gets the liabilities list view model for a specific client and loan.",
        "operationId": "OrderResultsListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOrderResultListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOrderResultListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/{partyId}/viewmodel": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Gets the credit report item view model for a specific client and loan.",
        "operationId": "CreditReportItemViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReportItemInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReportItemInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/business-report": {
      "post": {
        "tags": [
          "Credit"
        ],
        "summary": "Creates a business report request for a specific client and loan, persisting\nthe BusinessReportItem on the loan file. Mirrors the\nPost credit-report flow.",
        "operationId": "CreateBusinessReportRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "businessReportItemInfo",
          "description": "The inbound business report payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessReportItemInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "A CreditResponse with the assigned business report header id and status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "202": {
            "description": "A CreditResponse with the assigned business report header id and status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/business-report/{partyId}/viewmodel": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Gets the business report item view model for the Order Business Report side window (Commercial, Milestone 6+).",
        "operationId": "BusinessReportItemViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The optional legal entity (organization) party identifier to pre-select.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "The business report item view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessReportItemInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "The business report item view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessReportItemInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the loan is not Commercial.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/business-report/{requestId}": {
      "delete": {
        "tags": [
          "Credit"
        ],
        "summary": "Deletes a business report item for a specific client and loan based on the request id.",
        "operationId": "DeleteBusinessReport",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The business report item identifier to delete.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "The updated LoanFile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the loan is not Commercial.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/business-report/list/viewmodel": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Gets the business order results list view model for a specific client and loan.\nMirrors GetOrderResultsListViewModel but is sourced from\nLoanFile.BusinessReportItems.",
        "operationId": "BusinessOrderResultsListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "The business order results list view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOrderResultListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "The business order results list view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOrderResultListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the loan is not Commercial.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/business-report/{businessReportReferenceNumber}": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Retrieves a business report file (PDF for Equifax, HTML for Experian)\nby its BusinessReportReferenceNumber.",
        "operationId": "GetBusinessReportFile",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "businessReportReferenceNumber",
            "in": "path",
            "required": true,
            "description": "The provider-assigned reference number.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "The business report response (200 with content, or 202 with callback).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessReportResponse"
                }
              }
            }
          },
          "202": {
            "description": "The business report response (200 with content, or 202 with callback).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessReportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the loan is not Commercial.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan or Business Report does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/credit/entity/base/entityId/{entityId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Credit"
        ],
        "summary": "Gets the credit report result for a specific client, loan, entity, and instance.",
        "description": "This method validates the input parameters to ensure they are not null or whitespace.\n            If any parameter is invalid, an exception is thrown.",
        "operationId": "GetCreditReportResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter is required and cannot be null or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan file. This parameter is required and cannot be null or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the credit report item. This parameter is required and cannot be null or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the instance. This parameter is required and cannot be null or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a CreditResponse object with the credit\n            report result. Returns a status code of Status200OK if the operation is\n            successful, or Status202Accepted if the request is accepted but not yet processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a CreditResponse object with the credit\n            report result. Returns a status code of Status200OK if the operation is\n            successful, or Status202Accepted if the request is accepted but not yet processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/dgs/select-document": {
      "get": {
        "tags": [
          "Dgs"
        ],
        "summary": "Get List of the documents returned by the dgs.",
        "operationId": "GetSelectDocumentAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageType",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageDocument"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageDocument"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/dgs/entity/base/entityId/0/result/{instanceId}": {
      "get": {
        "tags": [
          "Dgs"
        ],
        "summary": "Get List of the documents returned by the dgs.",
        "operationId": "GetSelectDocumentResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageDocument"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageDocument"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements": {
      "get": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Get the Disbursements.",
        "operationId": "Disbursements",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementListInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementListInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Create Disbursement.",
        "operationId": "CreateDisbursement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "disbursementInfo",
          "description": "The Disbursement",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisbursementInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Disbursement was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Disbursement was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/viewmodel": {
      "get": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Get List of Property State for Disbursement view.",
        "operationId": "DisbursementViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/list/viewmodel": {
      "get": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Gets a list of disbursements in a view model format for the specified client and loan.",
        "operationId": "DisbursementListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the disbursement list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/{disbursementId}/state": {
      "get": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Get Disbursement state.",
        "operationId": "DisbursementState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "disbursementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/{disbursementId}": {
      "put": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Update disbursement.",
        "operationId": "UpdateDisbursement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "disbursementId",
            "in": "path",
            "required": true,
            "description": "The disbursement Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "disbursementInfo",
          "description": "The disbursement",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisbursementInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Disbursement was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Disbursement was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Disbursement"
        ],
        "summary": "Delete disbursement.",
        "operationId": "DeleteDisbursement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "disbursementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/credits/viewmodel": {
      "get": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Gets the state model for all disbursement credits associated with the specified client and loan.",
        "operationId": "DisbursementCreditsState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the disbursement credit state model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/credits/list/viewmodel": {
      "get": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Gets a list of disbursement credits in a view model format for the specified client and loan.",
        "operationId": "DisbursementCreditListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the disbursement credit list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementCreditListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementCreditListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/credits/{creditId}/viewmodel": {
      "get": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Gets a specific disbursement credit's view model by its identifier.",
        "operationId": "DisbursementCreditViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "creditId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the disbursement credit",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the disbursement credit view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementCreditInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementCreditInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/credits": {
      "post": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Creates a new disbursement credit for the specified client and loan.",
        "operationId": "CreateDisbursementCredit",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "creditInfo",
          "description": "The disbursement credit information to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisbursementCreditInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the disbursement credit was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the client or loan doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Updates the Cash Down Payment field for the specified client and loan.",
        "operationId": "UpdateDisbursementCashDownPayment",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "creditInfo",
          "description": "The credit information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisbursementCreditListInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "The updated loan file containing the modified disbursement credit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "The updated loan file containing the modified disbursement credit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursements/credits/{creditId}": {
      "put": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Updates an existing disbursement credit for the specified client and loan.",
        "operationId": "UpdateDisbursementCredit",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "creditId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the disbursement credit to update",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "creditInfo",
          "description": "The updated disbursement credit information",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisbursementCreditInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the disbursement credit was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the disbursement credit was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DisbursementCredit"
        ],
        "summary": "Deletes a specific disbursement credit by its identifier.",
        "operationId": "DeleteDisbursementCredit",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "creditId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the disbursement credit to delete",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the disbursement credit was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the disbursement credit was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/disbursementssummary/list/viewmodel": {
      "get": {
        "tags": [
          "DisbursementsSummary"
        ],
        "summary": "Get the disbursements summary.",
        "operationId": "DisbursementsSummaryViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementsSummaryInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisbursementsSummaryInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/isdocumentsavailable": {
      "put": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Determines whether [is documents available] [the specified client identifier].",
        "operationId": "IsDocumentsAvailable",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckDocumentStatus"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckDocumentStatus"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/entity/base/entityId/0/isdocumentsavailable/result/{instanceId}": {
      "get": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Determines whether [is documents available result] [the specified client identifier].",
        "operationId": "IsDocumentsAvailableResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckDocumentStatus"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckDocumentStatus"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/opendocumentandbeginsession": {
      "get": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Opens the document and begin session.",
        "operationId": "OpenDocumentAndBeginSession",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DgsBeginSessionApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DgsBeginSessionApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/entity/base/entityId/0/beginsession/result/{instanceId}": {
      "get": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Begins the session result.",
        "operationId": "BeginSessionResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DgsBeginSessionApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DgsBeginSessionApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/endsession/{sessionId}": {
      "get": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Ends the session.",
        "operationId": "EndSession",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "description": "The session identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentWithStatus"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentWithStatus"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/docViewer/entity/base/entityId/0/endsession/result/{instanceId}": {
      "get": {
        "tags": [
          "DocViewer"
        ],
        "summary": "Ends the session result.",
        "operationId": "EndSessionResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentWithStatus"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentWithStatus"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/feature-flags": {
      "get": {
        "tags": [
          "FeatureFlags"
        ],
        "summary": "Gets evaluated states for feature flags exposed to authenticated clients.",
        "operationId": "GetFeatureFlags",
        "responses": {
          "200": {
            "description": "Returns the evaluated feature-flag states.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeatureFlagState"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Returns when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get List of fees.",
        "operationId": "FeesData",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Fee"
        ],
        "summary": "Create Fee.",
        "operationId": "CreateFee",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "feeInfo",
          "description": "The Fee",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeeInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Fee was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Fee was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/viewmodel": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get List of fees.",
        "operationId": "FeesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/state": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get List of fees.",
        "operationId": "FeesState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/{feeId}/state": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get fee.",
        "operationId": "GetFeeState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/{feeId}/viewmodel": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get Fee.",
        "operationId": "FeeView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Fee was not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/{feeId}": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "Get Fee.",
        "operationId": "Fee",
        "parameters": [
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Fee was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Fee"
        ],
        "summary": "Update Fee.",
        "description": "Saving the fee edit is the primary operation of this endpoint. Recalculating prepaid\ninterest is a best-effort side effect, so a recalculation failure must not fail the save\nand the endpoint still returns success (200/202). This differs from the recalculate\nendpoint (Patch), where recalculation is the primary operation and a\nfailure is therefore reported as a 400.",
        "operationId": "UpdateFee",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "feeInfo",
          "description": "The Fee",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeeInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Fee was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Fee was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Fee"
        ],
        "summary": "Re-calculate Fee Amount.",
        "description": "Recalculating prepaid interest is the primary operation of this endpoint, so a\nrecalculation failure means the request could not be fulfilled and is reported to the\ncaller in the response body as a 400. This differs from the fee-update endpoint\n(Put), where recalculation is only a best-effort side effect of saving.",
        "operationId": "updatePrepaidInterestFeeAmount",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a fee details if the amount was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/Fee"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Returns a bad request if prepaid interest could not be calculated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Fee"
        ],
        "summary": "Delete Fee.",
        "operationId": "DeleteFee",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/fromFeeIds": {
      "post": {
        "tags": [
          "Fee"
        ],
        "summary": "Create fees from a list of Fee Library fee IDs.\nFetches all library fees, filters by the provided IDs, and applies them to the loan file.",
        "operationId": "CreateFeesByFeeIds",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "feeIds",
          "description": "The list of Fee Library fee IDs to apply.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if all matching fees were created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if feeIds is empty or no matching fees are found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if the loan was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/fromGroupId/{libraryFeeGroupId}": {
      "post": {
        "tags": [
          "Fee"
        ],
        "summary": "Create fees from a Fee Library group.\nFetches all fees for the specified group and applies them to the loan file.",
        "operationId": "CreateFeesByFeeGroupId",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "libraryFeeGroupId",
            "in": "path",
            "required": true,
            "description": "The Fee Library group ID whose fees will be applied.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file if all group fees were created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if no fees exist for the given group ID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if the loan was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/list/viewmodel": {
      "get": {
        "tags": [
          "Fee"
        ],
        "summary": "GetFeesList",
        "operationId": "FeesListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeeListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/{lob}/feegroups": {
      "get": {
        "tags": [
          "FeeGroupsSettings"
        ],
        "summary": "Gets Commercial Fee Groups.",
        "operationId": "GetAccountFeeGroups",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The Line of Business.",
            "schema": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Commercial Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "The Commercial Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "The account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller is not authorized to read Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "304": {
            "description": ""
          },
          "404": {
            "description": "Fee Groups are not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FeeGroupsSettings"
        ],
        "summary": "Upserts a Commercial Fee Group.",
        "operationId": "UpsertFeeGroupPOST",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The Line of Business.",
            "schema": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The Fee Group payload.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FeeGroupInfo"
                }
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the created Commercial Fee Group.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "The Commercial Fee Group creation was accepted for asynchronous processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The Fee Group payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller is not authorized to create Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Fee Groups are not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "A Fee Group with the requested name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "FeeGroupsSettings"
        ],
        "summary": "Upserts a Commercial Fee Group.",
        "operationId": "UpsertFeeGroupPUT",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The Line of Business.",
            "schema": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The Fee Group payload.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FeeGroupInfo"
                }
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the created Commercial Fee Group.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "The Commercial Fee Group creation was accepted for asynchronous processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The Fee Group payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller is not authorized to create Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Fee Groups are not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "A Fee Group with the requested name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/{lob}/feegroups/result/{id}": {
      "get": {
        "tags": [
          "FeeGroupsSettings"
        ],
        "summary": "Upserts a Commercial Fee Group.",
        "operationId": "UpsertFeeGroupResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The Line of Business.",
            "schema": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            },
            "x-position": 2
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The identifier of the Fee Group result.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the created Commercial Fee Group.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "The Commercial Fee Group creation was accepted for asynchronous processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeeGroupInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The Fee Group payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller is not authorized to create Fee Groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Fee Groups are not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "A Fee Group with the requested name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/library": {
      "get": {
        "tags": [
          "FeeLibrary"
        ],
        "summary": "Get all fees from the Fee Library.",
        "operationId": "GetLibraryFees",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a LibraryFeeListInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LibraryFeeListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request if clientId is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/groups": {
      "get": {
        "tags": [
          "FeeLibrary"
        ],
        "summary": "Get all fee groups from the Fee Library.",
        "operationId": "GetFeeGroups",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of fee groups.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LibraryFeeGroupInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request if clientId is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/groups/viewmodel": {
      "get": {
        "tags": [
          "FeeLibrary"
        ],
        "summary": "Gets the Fee Groups view model with no group selected.",
        "operationId": "GetFeeGroupsViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Fee Groups view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LibraryFeeListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request if clientId or loanId is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/groups/{groupId}": {
      "get": {
        "tags": [
          "FeeLibrary"
        ],
        "summary": "Get all fees for a specific fee group from the Fee Library.",
        "operationId": "GetFeesByGroup",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "The fee group id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a LibraryFeeListInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LibraryFeeListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request if clientId or groupId is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/fees/library/{feeId}/state": {
      "get": {
        "tags": [
          "FeeLibrary"
        ],
        "summary": "Gets the read-only property state for a library fee.\nReturns property states with all fields disabled since library fees come from an external system.",
        "operationId": "GetLibraryFeeState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a LibraryFeeInfoViewModel with read-only state.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LibraryFeeInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the fee state cannot be retrieved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/commercial/fees": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets all Commercial fee entries for the specified account.",
        "operationId": "GetCommercialFeeLibraryFees",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of fee entries, or an empty list when none exist.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Creates a new Commercial fee entry for the specified account.\nRequires commercial-fee-library.write.",
        "operationId": "CreateCommercialFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The fee entry data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the created fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when the account identifier or payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the commercial write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/consumer/fees": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets all Consumer fee entries for the specified account.",
        "operationId": "GetConsumerFeeLibraryFees",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of fee entries, or an empty list when none exist.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Creates a new Consumer fee entry for the specified account.\nRequires consumer-fee-library.write.",
        "operationId": "CreateConsumerFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The fee entry data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the created fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when the account identifier or payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the consumer write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/commercial/fees/{feeId}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets a single Commercial fee entry for the specified account and fee identifier.",
        "operationId": "GetCommercialFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when any identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Updates an existing Commercial fee entry for the specified account.\nRequires commercial-fee-library.write.",
        "operationId": "UpdateCommercialFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The updated fee data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when any identifier or payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the commercial write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      },
      "delete": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Deletes the specified Commercial fee entry for the given account.\nNo area JSON mapping is required for the delete operation.\nRequires commercial-fee-library.write.",
        "operationId": "DeleteCommercialFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a confirmation message when the fee entry is successfully deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when any identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the commercial write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/consumer/fees/{feeId}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets a single Consumer fee entry for the specified account and fee identifier.",
        "operationId": "GetConsumerFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when any identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Updates an existing Consumer fee entry for the specified account.\nRequires consumer-fee-library.write.",
        "operationId": "UpdateConsumerFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The updated fee data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when any identifier or payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the consumer write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      },
      "delete": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Deletes the specified Consumer fee entry for the given account.\nNo area JSON mapping is required for the delete operation.\nRequires consumer-fee-library.write.",
        "operationId": "DeleteConsumerFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a confirmation message when the fee entry is successfully deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "Returns a callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when any identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the consumer write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the fee does not exist for the specified account and LOB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions accepts the operation without a valid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/commercial/newfee": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the empty \"new fee\" view model used to render the Commercial Add Fee panel.",
        "operationId": "GetNewCommercialFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the blank fee entry view model carrying the field schema.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/consumer/newfee": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the empty \"new fee\" view model used to render the Consumer Add Fee panel.",
        "operationId": "GetNewConsumerFeeLibraryFee",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the blank fee entry view model carrying the field schema.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/commercial/fees/{feeId}/result/{id}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the result of a previously accepted Commercial Fee Library create or update operation.",
        "operationId": "GetCommercialFeeLibrarySaveResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The protected result callback identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when an identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the commercial write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the callback or fee does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions returns an invalid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/consumer/fees/{feeId}/result/{id}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the result of a previously accepted Consumer Fee Library create or update operation.",
        "operationId": "GetConsumerFeeLibrarySaveResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The protected result callback identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed fee entry view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when an identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the consumer write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the callback or fee does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions returns an invalid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/commercial/fees/{feeId}/delete/result/{id}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the result of a previously accepted Commercial Fee Library delete operation.",
        "operationId": "GetCommercialFeeLibraryDeleteResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The deleted fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The protected result callback identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a deletion confirmation.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "Returns the callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when an identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the commercial write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the callback does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions returns an invalid callback location."
          }
        }
      }
    },
    "/api/accounts/{accountId}/lobs/consumer/fees/{feeId}/delete/result/{id}": {
      "get": {
        "tags": [
          "FeeLibrarySettings"
        ],
        "summary": "Gets the result of a previously accepted Consumer Fee Library delete operation.",
        "operationId": "GetConsumerFeeLibraryDeleteResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "feeId",
            "in": "path",
            "required": true,
            "description": "The deleted fee entry identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The protected result callback identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a deletion confirmation.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "Returns the callback location when the durable save remains in progress."
          },
          "400": {
            "description": "Returns bad request when an identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the consumer write policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the callback does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns when Functions returns an invalid callback location."
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/feesAndPayoffs": {
      "get": {
        "tags": [
          "FeesAndPayoffsSummary"
        ],
        "summary": "Get the Fees, Payoffs and disbursement summary.",
        "operationId": "FeesAndPayoffsSummary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeesAndPayoffsSummaryInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeesAndPayoffsSummaryInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood/viewmodel": {
      "get": {
        "tags": [
          "Flood"
        ],
        "summary": "Retrieves the flood information view model for the specified loan.",
        "operationId": "GetFloodInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "reorder",
            "in": "query",
            "description": "Indicates whether the flood determination should be reordered.",
            "schema": {
              "type": "boolean"
            },
            "x-position": 3
          },
          {
            "name": "collateralId",
            "in": "query",
            "description": "The optional collateral identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "addressId",
            "in": "query",
            "description": "The optional collateral address identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 5
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the flood information view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood/list/viewmodel": {
      "get": {
        "tags": [
          "Flood"
        ],
        "summary": "Retrieves the state information for all flood determinations associated with a specific client and loan.",
        "operationId": "GetFloodListInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the state information for all flood determinations as a FloodListInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood": {
      "post": {
        "tags": [
          "Flood"
        ],
        "summary": "Submits a flood determination request to the external flood service.",
        "operationId": "SubmitFloodDeterminationRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "floodDeterminationRequest",
          "description": "The flood determination request details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FloodDeterminationRequest"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the flood determination response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received from the flood service.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood/entity/base/entityId/0/flooddetermination/result/{instanceId}": {
      "get": {
        "tags": [
          "Flood"
        ],
        "summary": "Retrieves the result of a previously submitted flood determination request.",
        "operationId": "SubmitFloodDeterminationRequestResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The durable function instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed flood determination response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood/collateral/{collateralId}/address/{addressId}/viewmodel": {
      "get": {
        "tags": [
          "Flood"
        ],
        "summary": "Retrieves the flood determination view model for the specified collateral and address.",
        "operationId": "GetFloodDeterminationViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "description": "The collateral address identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the flood determination view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/flood/collateral/{collateralId}/address/{addressId}": {
      "put": {
        "tags": [
          "Flood"
        ],
        "summary": "Updates the flood determination details for the specified collateral and address.",
        "operationId": "UpdateFloodDetermination",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "description": "The collateral address identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "floodDeterminationInfo",
          "description": "The flood determination information to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FloodDeterminationInfo"
              }
            }
          },
          "required": true,
          "x-position": 5
        },
        "responses": {
          "200": {
            "description": "Returns the updated flood determination information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FloodDeterminationInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if incoming data fails the validity check.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Flood"
        ],
        "summary": "Deletes the flood determination data for the specified collateral address.",
        "operationId": "DeleteFloodDetermination",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "description": "The collateral address identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/CollateralGeocoding/viewModel": {
      "get": {
        "tags": [
          "Geocoding"
        ],
        "summary": "Gets the collateral geocoding view model for a loan.",
        "operationId": "CollateralGeocodingViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the geocoding view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeocodingInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/CollateralGeocoding": {
      "put": {
        "tags": [
          "Geocoding"
        ],
        "summary": "Updates the collateral geocoding information for a loan.\nThe collateral identified by HMDAReportableCollateralItem is designated\nas the HMDA-reported collateral (HMDAReportedCollateralInd = true). All other real\nestate collaterals will have their flag cleared to false to enforce the single-collateral\ninvariant. The incoming geocoding fields are mapped and derived fields are recalculated.",
        "operationId": "UpdateCollateralGeocoding",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "geocodingInfo",
          "description": "The geocoding information payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GeocodingInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated geocoding information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeocodingInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the payload fails validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the loan file or selected collateral does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Get List of guaranties.",
        "operationId": "Guaranties",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Create Guaranty.",
        "description": "Created a new Guaranty.",
        "operationId": "CreateGuaranty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "the clientId",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "guarantyAgreementInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GuarantyAgreementInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Guaranty was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Guaranty"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Guaranty"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Guaranty was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/list/viewmodel": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Gets guaranty agreements list view model.",
        "operationId": "GetGuarantyAgreementListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns state and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/viewmodel": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Guaranties View.",
        "operationId": "GuarantiesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/state": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Get List of Guaranties.",
        "operationId": "GuarantiesState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "clientId",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/{guarantyId}/state": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Get Guaranty.",
        "operationId": "GuarantyState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "guarantyId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/{guarantyId}/viewmodel": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Get Guaranty view.",
        "operationId": "GuarantyView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "guarantyId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Guaranty was not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guaranties/{guarantyId}": {
      "get": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Get Guaranty.",
        "operationId": "Guaranty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "guarantyId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Guaranty was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Update Guaranty.",
        "operationId": "UpdateGuaranty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "guarantyId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "guarantyAgreementInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GuarantyAgreementInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Guaranty was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Guaranty was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "GuarantyAgreement"
        ],
        "summary": "Delete Guaranty.",
        "description": "Delete a Guaranty.",
        "operationId": "DeleteGuaranty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "guarantyId",
            "in": "path",
            "required": true,
            "description": "The guaranty Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the Guaranty was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Guaranty was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guarantyAgreementModificationSummary/viewmodel": {
      "get": {
        "tags": [
          "GuarantyAgreementModificationSummary"
        ],
        "summary": "Gets the guaranty agreement modification summary view model and data for the specified loan.",
        "operationId": "GetGuarantyAgreementModificationSummaryViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the modification summary view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/guarantyAgreementModificationSummary": {
      "put": {
        "tags": [
          "GuarantyAgreementModificationSummary"
        ],
        "summary": "Updates the guaranty agreement modification summary confirmation indicators for guarantors.",
        "operationId": "PutGuarantyAgreementModificationSummary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "modificationSummary",
          "description": "The list of modification summary items.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryInfo"
                }
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated modification summary state.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the input is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/HazardInsurance": {
      "get": {
        "tags": [
          "HazardInsurance"
        ],
        "summary": "Get List of Hazard Insurance.",
        "operationId": "HazardInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HazardInsuranceInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HazardInsuranceInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "HazardInsurance"
        ],
        "summary": "Update Hazard Insurance Collateral.",
        "operationId": "UpdateHazardInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "insuranceInfo",
          "description": "collateral Hazard Insurance Info",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HazardInsuranceInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Hazard Insurance was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Hazard Insurance was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/HazardInsurance/viewmodel": {
      "get": {
        "tags": [
          "HazardInsurance"
        ],
        "summary": "Get Hazard Insurance ViewModel for a specific collateral.",
        "operationId": "HazardInsuranceViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The ids client id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HazardInsuranceInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HazardInsuranceInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/viewmodel": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the HMDA information view model for the specified loan.\nPopulates the HMDA Wiz File Name dropdown with LAR files sorted by Activity Year descending.",
        "operationId": "GetHmdaInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the HMDA information view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaInfoViewModel"
                }
              }
            }
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the LAR files retrieval is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda": {
      "put": {
        "tags": [
          "Hmda"
        ],
        "summary": "Updates the HMDA information for the specified loan.",
        "operationId": "SaveHmdaInfo",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "hmdaInfo",
          "description": "The HMDA information to save.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HmdaInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated HMDA information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if incoming data fails the validity check.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/{collateralId}/geocode": {
      "post": {
        "tags": [
          "Hmda"
        ],
        "summary": "Initiates geocoding for the specified loan.",
        "operationId": "GeocodeHmda",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the geocode data for the loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaGeocodeResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when geocoding is being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaGeocodeAcceptedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/entity/base/entityId/0/geocode/result/{instanceId}": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the result of a previously submitted HMDA geocode request.",
        "operationId": "GeocodeResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The durable function instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed geocode response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaGeocodeResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaGeocodeResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          },
          "502": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/lar": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the list of available LAR data files for the organization from HMDA Wiz\nto populate the HMDA Wiz File Name dropdown on the HMDA page.",
        "operationId": "GetLarFiles",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the LAR files list.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LarFilesResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the request is being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptedRequest"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist or no LAR files are found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/entity/base/entityId/0/larfiles/result/{instanceId}": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the result of a previously submitted HMDA LAR files request.",
        "operationId": "GetLarFilesResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The durable function instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed LAR files response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LarFilesResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptedRequest"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns a bad gateway result when the HMDA Wiz integration returns an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/lar/download": {
      "put": {
        "tags": [
          "Hmda"
        ],
        "summary": "Downloads the HMDA LAR file for the specified loan.",
        "operationId": "DownloadOfflineLar",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "localDate",
            "in": "query",
            "description": "The user's local date in yyyyMMdd format used to name the file. Defaults to the current UTC date if not provided or invalid.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the pipe-delimited LAR file.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns an internal server error if the cleared HMDA validation message could not be persisted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/preview-report": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the HMDA Preview Report for the specified loan.\nGathers LAR field values from the loan file stored in Cosmos DB and formats\nthem into a Field/Value/Description table. No external service calls are required.",
        "operationId": "GetHmdaPreviewReport",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the HMDA Preview Report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmdaPreviewReportListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/Insertlar": {
      "post": {
        "tags": [
          "Hmda"
        ],
        "summary": "Submits the loan's collected HMDA data as a new LAR record into the selected HMDA Wiz LAR file.",
        "operationId": "InsertLar",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "insertLarRequest",
          "description": "The LAR insert request payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsertLarRequest"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the insert LAR result including the assigned row identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsertLarResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsertLarAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the request payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist or no result is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns a bad gateway result when the HMDA Wiz integration returns an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/entity/base/entityId/0/insertlar/result/{instanceId}": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the result of a previously submitted InsertLar request.",
        "operationId": "InsertLarResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The durable function instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "hmdaWizFileName",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed insert LAR response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsertLarResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsertLarAcceptedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          },
          "502": {
            "description": "Returns a bad gateway result when the HMDA Wiz integration returns an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/UpdateLar": {
      "post": {
        "tags": [
          "Hmda"
        ],
        "summary": "Submits the updated HMDA data to the specified Row Id to update the existing LAR record.",
        "operationId": "UpdateLar",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "updateLarRequest",
          "description": "The LAR update request payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLarRequest"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the update LAR result including the row identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLarResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLarAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the request payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist or no result is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Returns a bad gateway result when the HMDA Wiz integration returns an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/hmda/entity/base/entityId/0/updatelar/result/{instanceId}": {
      "get": {
        "tags": [
          "Hmda"
        ],
        "summary": "Retrieves the result of a previously submitted UpdateLar request.",
        "operationId": "UpdateLarResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The durable function instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "hmdaWizFileName",
            "in": "query",
            "description": "The optional HMDA Wiz file name passed through from the original request.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the completed update LAR response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLarResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLarAcceptedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no response is received.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          },
          "502": {
            "description": "Returns a bad gateway result when the HMDA Wiz integration returns an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/list/viewmodel": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Retrieves the state information for all iLien file requests associated with a specific client and loan.",
        "operationId": "LienFileRequestsListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the state information for all iLien file requests as an IlienFileRequestListInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFileRequestListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the state information for all iLien file requests as an IlienFileRequestListInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFileRequestListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/{requestId}/state": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Retrieves the state information for a specific iLien file request.",
        "operationId": "LienFileRequestState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the iLien file request.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the state information for the specified iLien file request as an IlienFileRequestInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFileRequestInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the state information for the specified iLien file request as an IlienFileRequestInfoViewModel.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFileRequestInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien": {
      "post": {
        "tags": [
          "Ilien"
        ],
        "summary": "Creates a new iLien file request for the specified client and loan.",
        "operationId": "CreateLienFileRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "lienFileRequestInfo",
          "description": "The information for the new iLien file request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IlienFileRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns an ApiResponse indicating the result of the creation operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an ApiResponse indicating the result of the creation operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/{requestId}": {
      "put": {
        "tags": [
          "Ilien"
        ],
        "summary": "Updates an existing iLien file request for the specified client, loan, and request ID.",
        "operationId": "UpdateLienFileRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the iLien file request.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "ilienFileRequestInfo",
          "description": "The updated information for the iLien file request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IlienFileRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns an ApiResponse indicating the result of the update operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an ApiResponse indicating the result of the update operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      },
      "delete": {
        "tags": [
          "Ilien"
        ],
        "summary": "Deletes an existing iLien file request for the specified client, loan, and request ID.",
        "operationId": "DeleteLienFileRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the iLien file request.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns an ApiResponse indicating the result of the delete operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an ApiResponse indicating the result of the delete operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/{requestId}/copy": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Copies an existing iLien file request for the specified client, loan, and request ID.",
        "operationId": "CopyLienFileRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the iLien file request to copy.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns an ApiResponse indicating the result of the copy operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an ApiResponse indicating the result of the copy operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/{requestId}/uccfile": {
      "post": {
        "tags": [
          "Ilien"
        ],
        "summary": "SubmitLienFileRequest",
        "operationId": "SubmitLienFileRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFilingApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFilingApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/{requestId}/uccstatus": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "GetLienFileRequestStatus",
        "operationId": "GetLienFileRequestStatus",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienRequestStatusResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienRequestStatusResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/entity/base/entityId/{requestId}/uccfiling/result/{instanceId}": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Submits the lien file request result asynchronous.",
        "operationId": "SubmitLienFileRequestResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The request identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFilingApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienFilingApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/entity/base/entityId/{requestId}/uccstatus/result/{instanceId}": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Gets the lien file request status result asynchronous.",
        "operationId": "GetLienFileRequestStatusResultAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "description": "The request identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienRequestStatusResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IlienRequestStatusResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/viewmodel": {
      "get": {
        "tags": [
          "Ilien"
        ],
        "summary": "Retrieves the view model state for all iLien file requests associated with a specific client and loan.\nThis endpoint returns the complete view model state including field properties and validation rules.",
        "operationId": "LienFileRequestsViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the view model state as a ModelState containing all iLien file request fields and their properties.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/ilien/notifications/dismiss": {
      "put": {
        "tags": [
          "Ilien"
        ],
        "summary": "Dismisses the iLien notification for the specified loan by updating the appropriate notification flag.",
        "operationId": "DismissILienNotification",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the client.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for the loan.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "request",
          "description": "The request containing the filing status to determine which notification flag to dismiss (InProgress or InPreparation).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DismissILienNotificationRequest"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns an ApiResponse indicating the result of the dismiss operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an ApiResponse indicating the result of the dismiss operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/session/{clientId}/initialize": {
      "post": {
        "tags": [
          "Initialize"
        ],
        "summary": "The initialize end-point will be used by IDS to create a new loan request in Commercial system.\nAnd, established a session between IDS and Commercial.",
        "operationId": "Initialize",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "Authorization",
            "x-originalName": "sessionToken",
            "in": "header",
            "description": "The session token.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "transactionRequest",
          "description": "The transaction request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTransactionRequest"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntializeApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntializeApiResponse"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/lenders/state": {
      "get": {
        "tags": [
          "Lender"
        ],
        "summary": "Get Loan Parties.",
        "description": "Get Loan Parties",
        "operationId": "LenderPartiesState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LenderInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LenderInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/lenders": {
      "post": {
        "tags": [
          "Lender"
        ],
        "summary": "Save Lender Party.",
        "description": "Save a new Transaction.",
        "operationId": "SaveLenderParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "lendingPartyInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LendingPartyInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the lender party was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LendingPartyInfo"
                }
              }
            }
          },
          "202": {
            "description": "LendingPartyInfo.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LendingPartyInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if lender was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/liabilities/list/viewmodel": {
      "get": {
        "tags": [
          "Liability"
        ],
        "summary": "Gets a list of liabilities in a view model format for the specified client and loan.",
        "operationId": "LiabilityListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the liability list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiabilityListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiabilityListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/liabilities/state": {
      "get": {
        "tags": [
          "Liability"
        ],
        "summary": "Gets the state model for all liabilities associated with the specified client and loan.",
        "operationId": "LiabilitiesState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the liability state model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/liabilities/{liabilityId}/viewmodel": {
      "get": {
        "tags": [
          "Liability"
        ],
        "summary": "Gets a specific liability's view model by its identifier.",
        "operationId": "LiabilityViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "liabilityId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the liability",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the liability view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiabilityInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiabilityInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/liabilities": {
      "post": {
        "tags": [
          "Liability"
        ],
        "summary": "Creates a new liability for the specified client and loan.",
        "operationId": "CreateLiability",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "liabilityInfo",
          "description": "The liability information to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LiabilityInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the liability was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the client or loan doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/liabilities/{liabilityId}": {
      "put": {
        "tags": [
          "Liability"
        ],
        "summary": "Updates an existing liability for the specified client and loan.",
        "operationId": "UpdateLiability",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "liabilityId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the liability to update",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "liabilityInfo",
          "description": "The updated liability information",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LiabilityInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the liability was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the liability was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Liability"
        ],
        "summary": "Deletes a specific liability by its identifier.",
        "operationId": "DeleteLiability",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "liabilityId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the liability to delete",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the liability was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the liability was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/options/viewmodel": {
      "get": {
        "tags": [
          "LoanAgreementAdditionalOptions"
        ],
        "summary": "Gets the options view.",
        "operationId": "OptionsView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/options": {
      "get": {
        "tags": [
          "LoanAgreementAdditionalOptions"
        ],
        "summary": "Gets the options.",
        "operationId": "Options",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementOptionsInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      },
      "put": {
        "tags": [
          "LoanAgreementAdditionalOptions"
        ],
        "summary": "Creates the options.",
        "operationId": "CreateOptions",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "request",
          "description": "The request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanAgreementOptionsInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/options/state": {
      "get": {
        "tags": [
          "LoanAgreementAdditionalOptions"
        ],
        "summary": "Gets the state of the options.",
        "operationId": "OptionsState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementOptionsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Get List of Agreements.",
        "description": "Get agreements.",
        "operationId": "Agreements",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementListInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Create Agreement.",
        "description": "Created a new Agreement.",
        "operationId": "CreateAgreement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanAgreementInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanAgreementInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Agreement was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Agreement was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/list/viewmodel": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Gets loan agreements list view model.",
        "operationId": "GetLoanAgreementListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns state and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/viewmodel": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Get viewmodel of Agreement.",
        "description": "Get Agreements.",
        "operationId": "AgreementsView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/{agreementId}/state": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Get Agreement.",
        "description": "Get an Agreement.",
        "operationId": "AgreementState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "description": "The agreement Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/{agreementId}": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Get Agreement.",
        "description": "Get an Agreement.",
        "operationId": "Agreement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "description": "The agreement identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if agreement was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Update Agreement.",
        "description": "Update an Agreement.",
        "operationId": "UpdateAgreement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "description": "The agreement Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanAgreementInfo",
          "description": "The loan Agreement Info.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanAgreementInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Agreement was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Agreement was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Delete Loan Agreement.",
        "operationId": "DeleteAgreement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/agreements/construction": {
      "get": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Retrieves the state of a construction loan agreement for the specified client, loan, and agreement\nidentifiers.",
        "description": "This endpoint requires the caller to have the LoanAgreementsRead permission\n            scope.",
        "operationId": "ConstructionAgreementState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter is required.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. This parameter is required.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a ConstructionLoanAgreementViewModel representing\n            the state of the construction loan agreement. Returns Status200OK if the agreement\n            state is successfully retrieved. Returns Status202Accepted if the request is\n            accepted but processing is not yet complete. Returns Status404NotFound if the\n            specified agreement is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConstructionLoanAgreementViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a ConstructionLoanAgreementViewModel representing\n            the state of the construction loan agreement. Returns Status200OK if the agreement\n            state is successfully retrieved. Returns Status202Accepted if the request is\n            accepted but processing is not yet complete. Returns Status404NotFound if the\n            specified agreement is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConstructionLoanAgreementViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "LoanAgreement"
        ],
        "summary": "Updates the construction agreement for a specified loan file.",
        "description": "This method validates the provided construction agreement information and updates the\n            corresponding agreement in the loan file. If the loan file does not exist, a 404 Not Found response is\n            returned. The method requires the caller to have the \"LoanAgreementsWrite\" permission.",
        "operationId": "UpdateConstructionAgreement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. Cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. Cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "constructionAgreementInfo",
          "description": "The updated construction agreement information. Cannot be null.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConstructionAgreementInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing the updated LoanFile if the operation succeeds.\n            Returns a 200 OK status if the update is successful, a 202 Accepted status if the update is queued for\n            processing, a 400 Bad Request status if the input data fails validation, or a 404 Not Found status if the\n            loan file or construction agreement is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConstructionAgreementInfo"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing the updated LoanFile if the operation succeeds.\n            Returns a 200 OK status if the update is successful, a 202 Accepted status if the update is queued for\n            processing, a 400 Bad Request status if the input data fails validation, or a 404 Not Found status if the\n            loan file or construction agreement is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConstructionAgreementInfo"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/loanAgreementModificationSummary/viewmodel": {
      "get": {
        "tags": [
          "LoanAgreementModificationSummary"
        ],
        "summary": "Gets the loan agreement modification summary view model and data for the specified loan.",
        "operationId": "GetLoanAgreementModificationSummaryViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the modification summary view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns accepted when operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/loanAgreementModificationSummary": {
      "put": {
        "tags": [
          "LoanAgreementModificationSummary"
        ],
        "summary": "Updates the loan agreement modification summary data (date of previous agreement).",
        "operationId": "PutLoanAgreementModificationSummary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "modificationSummary",
          "description": "The list of loan agreement modification summary items.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryInfo"
                }
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns updated modification summary state.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns accepted when operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/contacts": {
      "get": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Gets all loan contacts for the specified account.",
        "operationId": "GetLoanContacts",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of loan contacts for the account, or an empty list when the account has no loan contacts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the account identifier is null, empty, or whitespace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Creates one or more loan contacts for the specified account.",
        "operationId": "CreateContact",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The loan contact data as a list of JSON objects.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {}
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the created contact view models.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AreaInfoModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the account identifier or payload is null or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs."
          }
        }
      }
    },
    "/api/accounts/{accountId}/contacts/{contactId}": {
      "get": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Gets a single loan contact for the specified account.",
        "operationId": "GetContact",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "description": "The contact identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the contact view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the account or contact identifier is null or whitespace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the contact does not exist or does not belong to the specified account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs."
          }
        }
      },
      "put": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Updates an existing loan contact for the specified account.",
        "operationId": "UpdateContact",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "description": "The contact identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payload",
          "description": "The updated loan contact data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated contact view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if any identifier or payload is null or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the contact does not exist or does not belong to the specified account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs."
          }
        }
      },
      "delete": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Deletes the specified loan contact for the specified account.",
        "operationId": "DeleteContact",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "description": "The contact identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a confirmation message when the contact is successfully deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if any identifier is null or whitespace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the authenticated client lacks the required policy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the contact does not exist or does not belong to the specified account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if the deletion fails at the Functions level."
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/importcontacts": {
      "get": {
        "tags": [
          "LoanContacts"
        ],
        "summary": "Gets importable loan contacts from STS Administration for the specified account.",
        "operationId": "GetImportLoanContacts",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The STS account unique identifier.",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "The optional one-based page number.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "The optional page size.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns importable loan contacts for the account.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when paging parameters are invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized when the request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the user does not have access to the account or lacks the required permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found when the account does not exist in STS.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanDecision/viewmodel": {
      "get": {
        "tags": [
          "LoanDecision"
        ],
        "summary": "Get Loan Decision View only.",
        "description": "Get loan term details.",
        "operationId": "GetLoanDecisionViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDecisionInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDecisionInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanDecision/UpdateLoanDecision": {
      "put": {
        "tags": [
          "LoanDecision"
        ],
        "summary": "Update Loan Decision",
        "operationId": "UpdateLoanDecision",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanDecisionInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanDecisionInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDecisionInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDecisionInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans": {
      "get": {
        "tags": [
          "LoanFile"
        ],
        "summary": "Retrieves the list of loan files for the specified client, excluding loan templates\n(i.e. only loan files where IsTemplate is not true).",
        "operationId": "GetLoans",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "query",
            "description": "Optional line of business filter to apply when retrieving loans.",
            "schema": {
              "oneOf": [
                {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/LineOfBusinessType"
                    }
                  ]
                }
              ]
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of non-template loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LoanFile"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no loan files are found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/copy": {
      "post": {
        "tags": [
          "LoanFile"
        ],
        "summary": "Copies an existing loan transaction.",
        "description": "Creates a copy of an existing loan transaction including all in-scope data while excluding out-of-scope data.\nExcluded data includes: Credit/Flood order results, Event Logs, DGS orders, and document packages.\nDocViewer data is included in the copy.",
        "operationId": "CopyLoanTransaction",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the new copied loan file including its generated ID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "401": {
            "description": "Returns unauthorized if the authorization policy fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no transaction exists for the specified clientId and loanId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/archive": {
      "patch": {
        "tags": [
          "LoanFile"
        ],
        "summary": "Archives the loan transaction.",
        "operationId": "ArchiveLoanTransaction",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/unarchive": {
      "patch": {
        "tags": [
          "LoanFile"
        ],
        "summary": "Unarchives the loan transaction.",
        "operationId": "UnarchiveLoanTransaction",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}": {
      "delete": {
        "tags": [
          "LoanFile"
        ],
        "summary": "Deletes the loan transaction.",
        "operationId": "DeleteLoanTransaction",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/grid/viewmodel": {
      "get": {
        "tags": [
          "LoanGrid"
        ],
        "summary": "Get the Loan Files Grid.",
        "operationId": "LoanGridViewModel",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanGridViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanGridViewModel"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/advancedFiltering/viewmodel": {
      "get": {
        "tags": [
          "LoanGrid"
        ],
        "summary": "Gets the advanced filtering view model for the specified account.",
        "operationId": "GetAdvancedFilteringViewModel",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "The advanced filtering view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardAdvancedFilterViewModel"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/summary": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Gets the specified loan identifier.",
        "operationId": "Summary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "loan summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanSummary"
                }
              }
            }
          },
          "202": {
            "description": "loan summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanSummary"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/policy": {
      "put": {
        "tags": [
          "Loans"
        ],
        "summary": "Update Loan Policy.",
        "description": "Updagte Loan Policy.",
        "operationId": "UpdateLoanPolicy",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanPolicyInfo",
          "description": "The loan policy information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanPolicyInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a success if the loan policy was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Get Loan Policy Data only.",
        "description": "Get loan policy details.",
        "operationId": "GetLoanPolicyDataModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanPolicyInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanPolicyInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/policy/state": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Get Loan Policy.",
        "description": "Get loan policy details.",
        "operationId": "GetLoanPolicy",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanPolicyInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanPolicyInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/policy/viewmodel": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Get Loan Policy View only.",
        "description": "Get loan policy details.",
        "operationId": "GetLoanPolicyViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/modification": {
      "post": {
        "tags": [
          "Loans"
        ],
        "summary": "Creates a new modification loan file, copied from a source loan file.",
        "operationId": "CreateModification",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "transactionRequest",
          "description": "The new transaction request. SourceLoanId is required.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTransactionRequest"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the created loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "The request was accepted for asynchronous processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "The request payload is invalid (e.g. missing SourceLoanId).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The caller is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller is not authorized for this operation or branch context.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "The source loan file was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/export-txn": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Updated methods: ExportTxn and ExportTxn withMaskedData - enforce environment check (DEV, QA, Pre-Stage)",
        "operationId": "ExportTxn",
        "parameters": [
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/export": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Exports Transaction as TXN",
        "description": "Returns TXN for a given transaction internal",
        "operationId": "Export",
        "parameters": [
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The transaction id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the loan exists",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/export-loanfile": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Retrieves the loan file associated with the specified loan and client identifiers.",
        "description": "The returned loan file will have sensitive personal information masked for privacy.\n            If no loan file is found for the provided identifiers, a 404 Not Found response is returned.",
        "operationId": "ExportLoanFile",
        "parameters": [
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan file to export. Cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client associated with the loan file. Cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing the masked loan file if found; otherwise, a 404 Not Found\n            response. If an error occurs, a 200 OK response with an error message is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/search": {
      "post": {
        "tags": [
          "Loans"
        ],
        "summary": "Searches all loan files for the given account. Applies the provided search criteria to filter the results and returns\na list of matching loan files and a continuation token if there are more results to return.",
        "operationId": "SearchLoans",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the account to search. Cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "waitSeconds",
            "in": "query",
            "description": "The optional per-request wait time in seconds. Overrides the configured wait time when supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "searchCriteria",
          "description": "The loan search criteria.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanSearchCriteria"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns matching loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultOfLoanSearchResult"
                }
              }
            }
          },
          "202": {
            "description": "Returns callback details for an asynchronous search.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultOfLoanSearchResult"
                }
              }
            }
          },
          "400": {
            "description": "Returns when the request is invalid or waitSeconds is not positive.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the request lacks an authenticated principal or usable user identity.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns when the user is not authorized to search the requested loans.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns when ownership cannot be persisted."
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/search/result/{instanceId}": {
      "get": {
        "tags": [
          "Loans"
        ],
        "summary": "Gets the search results for a previously initiated loan search operation. The search results are returned in a paginated format, and a continuation token is included if there are more results to retrieve.",
        "operationId": "SearchLoansResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the account to search. Cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "An orchestration instance Id of the previously submitted loan search operation. Cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns matching loan files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultOfLoanSearchResult"
                }
              }
            }
          },
          "202": {
            "description": "Returns callback details when result processing remains asynchronous."
          },
          "400": {
            "description": "Returns when the request is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the request lacks an authenticated principal or usable user identity.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns when the ownership record is absent or does not match the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns when ownership cannot be determined."
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTerms": {
      "put": {
        "tags": [
          "LoanTerms"
        ],
        "summary": "Update Loan Term",
        "description": "Updates the Transaction",
        "operationId": "UpdateLoanTerm",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanTermsInfo",
          "description": "The loan terms info.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanTermsInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the loan term was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan term was not updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "LoanTerms"
        ],
        "summary": "Get Loan Term Data only.",
        "description": "Get loan term details.",
        "operationId": "GetLoanTermDataModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTerms/state": {
      "get": {
        "tags": [
          "LoanTerms"
        ],
        "summary": "Get Loan Term",
        "description": "Get loan term details",
        "operationId": "GetLoanTerm",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTermsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTerms/viewmodel": {
      "get": {
        "tags": [
          "LoanTerms"
        ],
        "summary": "Get Loan Term View only.",
        "description": "Get loan term details.",
        "operationId": "GetLoanTermViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTerms/calculationsummary": {
      "get": {
        "tags": [
          "LoanTerms"
        ],
        "summary": "Get Calculation Summary.",
        "description": "Get loan term details.",
        "operationId": "GetCalculationSummaryModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculationSummaryInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculationSummaryInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTermsInsurance": {
      "put": {
        "tags": [
          "LoanTermsInsurance"
        ],
        "summary": "Update Loan Term GAP Insurance",
        "description": "Updates the Transaction",
        "operationId": "UpdateLoanTermInsurance",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "gapInsuranceId",
            "in": "query",
            "description": "The gap Insurance identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "insuranceInfo",
          "description": "The loan terms info.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsuranceInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the loan term was updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan term was not updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/LoanTermsInsurance/state": {
      "get": {
        "tags": [
          "LoanTermsInsurance"
        ],
        "summary": "Get Loan Term",
        "description": "Get loan term details",
        "operationId": "GetInsuranceState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "gapInsuranceId",
            "in": "query",
            "description": "The gap insurance identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans/viewmodel": {
      "get": {
        "tags": [
          "LoanViewModel"
        ],
        "summary": "Returns the Loan Detail view model configuration (ModelState and PropertyStates).\nThis endpoint provides dynamic UI configuration for the Loan Detail screen,\nenabling the frontend to render the page without hardcoded layout logic.\nThe response includes a Line of Business field filtered by the licenses in the\nuser's token, and a Branch field populated from the account's configured branches.\nNo loan data is returned by this endpoint.",
        "operationId": "GetLoanViewModel",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Loan view ModelState containing PropertyStates for the Loan Detail screen.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "401": {
            "description": "The caller is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller does not have access to the specified account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "The loan view model state could not be generated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/loans": {
      "post": {
        "tags": [
          "LoanViewModel"
        ],
        "summary": "Creates a new Commercial or Consumer loan file.",
        "operationId": "PostLoan",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "request",
          "description": "The new loan request specifying the line of business.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLoanRequest"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": "Returns the ID of the newly created loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "The request payload is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "The caller is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "The caller does not have access, the required license, or the required permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/migration/logs": {
      "get": {
        "tags": [
          "Migration"
        ],
        "summary": "Gets the migration logs (history) for the loan file in CSV format.",
        "operationId": "DownloadMigrationLogs",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the CSV file with migration history.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/migration/errors": {
      "get": {
        "tags": [
          "Migration"
        ],
        "summary": "Gets the migration errors (non-dismissed notifications) for the loan file in CSV format.",
        "operationId": "DownloadMigrationErrors",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the CSV file with migration errors.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/migration/notifications/dismiss": {
      "put": {
        "tags": [
          "Migration"
        ],
        "summary": "Dismisses a specific migration notification.",
        "operationId": "DismissNotification",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns success if the notification was dismissed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file or notification does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/migration/notifications": {
      "get": {
        "tags": [
          "Migration"
        ],
        "summary": "Gets the migration notifications for the loan file.",
        "operationId": "GetMigrationNotifications",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of migration notifications.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MigrationNotificationItemInfo"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/NavigationMenu/clients/{clientId}/loans/{loanId}": {
      "get": {
        "tags": [
          "NavigationMenu"
        ],
        "summary": "Gets this Navigation menu.",
        "operationId": "GetNavigationMenu",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NavigationMenuInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/NavigationMenu/clients/{clientId}/settings": {
      "get": {
        "tags": [
          "NavigationMenu"
        ],
        "summary": "Gets the settings navigation menu for the specified client. Currently, the menu is the same for all clients.",
        "operationId": "GetSettingsNavigationMenu",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the settings navigation menu.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NavigationMenuInfo"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden if the user does not have permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Oidc/signin": {
      "get": {
        "tags": [
          "Oidc"
        ],
        "summary": "Starts the OIDC sign-in flow.",
        "operationId": "Signin",
        "parameters": [
          {
            "name": "returnUrl",
            "in": "query",
            "description": "The local return URL.",
            "schema": {
              "type": "string",
              "default": "/app"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "302": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/Oidc/signout": {
      "post": {
        "tags": [
          "Oidc"
        ],
        "summary": "Signs the current user out of the local cookie and the OIDC provider.",
        "operationId": "Signout",
        "parameters": [
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "returnUrl": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "302": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "GetOrderStatus",
        "operationId": "getorderstatus",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackagesInfo"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackagesInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/entity/base/entityId/0/result/{instanceId}": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Retrieves the order status result for a instance.",
        "description": "This method validates the input parameters to ensure they are not null or empty. It\n            logs the request details and invokes the order status request to retrieve the result. If the request is still\n            being processed, an accepted response is returned with a callback mechanism.",
        "operationId": "GetOrderStatusResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan file. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the  instance. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a PackagesInfo object. Returns a 200 OK\n            the order status result is successfully retrieved, or a 202 Accepted status if the request is\n            being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackagesInfo"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a PackagesInfo object. Returns a 200 OK\n            the order status result is successfully retrieved, or a 202 Accepted status if the request is\n            being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackagesInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/state": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Gets the current status information for a SmartSign package associated with the specified client and loan.",
        "operationId": "GetOrderStatusState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. Cannot be null, empty, or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. Cannot be null, empty, or whitespace.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSignPackageInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSignPackageInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/eventlogs": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Gets the document event logs.",
        "operationId": "GetDocumentEventLogs",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageEventLogInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackageEventLogInfo"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/eventlog/list/viewmodel": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Gets the document event logs.",
        "operationId": "GetDocumentPackageEventLogs",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackageEventLogListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackageEventLogListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/downloadpackage": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Downloads the package.",
        "operationId": "DownloadPackage",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/downloadsnapshot": {
      "post": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Downloads the JSON snapshot associated with the specified package.",
        "operationId": "DownloadSnapshot",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the snapshot JSON file.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result with a polling callback."
          },
          "204": {
            "description": "The snapshot JSON file, or an accepted result while the loan file update is in flight."
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/downloadsnapshot/{packageId}/result/{instanceId}": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Returns the snapshot download result for a pending loan file update instance.",
        "operationId": "OrderStatusDownloadSnapshotResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "path",
            "required": true,
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the snapshot JSON file.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result while the update is still in flight."
          },
          "204": {
            "description": "The snapshot JSON file, or an accepted result while the update is still in flight."
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/download/{packageId}/result/{instanceId}": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Orders the status download package result.",
        "operationId": "OrderStatusDownloadPackageResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "path",
            "required": true,
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/list/viewmodel": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "GetOrderStatus",
        "operationId": "GetAllOrdersListInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllOrdersListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllOrdersListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/renamepackage": {
      "put": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Renames the package.",
        "operationId": "RenamePackage",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "packageName",
            "in": "query",
            "description": "Name of the package.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "True-Client-IP",
            "x-originalName": "clientIp",
            "in": "header",
            "description": "The client ip.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 5
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/copypackage": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Copies the package.",
        "operationId": "CopyPackage",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/deletepackage": {
      "delete": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Deletes the package.",
        "operationId": "DeletePackage",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "True-Client-IP",
            "x-originalName": "clientIp",
            "in": "header",
            "description": "The client ip.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/{packageId}/result/{instanceId}": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Orders the status delete package result.",
        "operationId": "OrderStatusCRDPackageResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "packageId",
            "in": "path",
            "required": true,
            "description": "The package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/deletesmartsignpackage/{smartSignInstanceId}": {
      "delete": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Deletes the smart sign package.",
        "operationId": "DeleteSmartSignPackage",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "smartSignInstanceId",
            "in": "path",
            "required": true,
            "description": "The smart sign instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EoriginalResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EoriginalResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/orderstatus/deletesmartsignpackage/entity/{smartSignPackageName}/entityId/{smartSignPackageId}/result/{instanceId}": {
      "get": {
        "tags": [
          "OrderStatus"
        ],
        "summary": "Gets the delete smart sign package result.",
        "operationId": "GetDeleteSmartSignPackageResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "smartSignPackageName",
            "in": "path",
            "required": true,
            "description": "Name of the smart sign package.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "smartSignPackageId",
            "in": "path",
            "required": true,
            "description": "The smart sign package identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 5
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EoriginalResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EoriginalResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Parties Data only.",
        "operationId": "GetLoanPartiesDataModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "query",
            "description": "Optional party identifier used to filter the duplicate review messages.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfo"
                }
              }
            }
          },
          "202": {
            "description": "status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Parties"
        ],
        "summary": "Create Loan Party.",
        "description": "Created a new Transaction.",
        "operationId": "CreateLoanParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "partyInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the loan party was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/view": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Parties.",
        "description": "Get Parties.",
        "operationId": "GetLoanPartiesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/state": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Parties.",
        "description": "Get Loan Parties",
        "operationId": "LoanPartiesState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/state": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Party.",
        "description": "Get a Loan Party.",
        "operationId": "LoanPartyState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/modification-summary": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Updates the modification summary for all parties on the loan.\nPersists changes to party modification statuses during loan modification.\nOnly applicable for modification loans (Commercial LOB, milestone >= 6).",
        "description": "Updates the modification summary for all parties with transaction roles of Borrower, Guarantor, and Collateral Owner.",
        "operationId": "UpdateModificationSummary",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "modificationSummaryListInfo",
          "description": "The modification summary list information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModificationSummaryPartiesListInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated modification summary data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryPartiesListInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryPartiesListInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Update Loan Party.",
        "description": "Created a new Transaction.",
        "operationId": "UpdateLoanParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "partyDetailInfo",
          "description": "The party detail information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyDetailInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the loan party was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Parties"
        ],
        "summary": "Delete Loan Party.",
        "description": "Delete a transaction.",
        "operationId": "DeleteLoanParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the loan party was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Party Data only.",
        "description": "Get loan party details.",
        "operationId": "LoanParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/applypartydbparty/{partyServiceId}": {
      "post": {
        "tags": [
          "Parties"
        ],
        "summary": "Applies a party from the Party Management database to the loan transaction.",
        "operationId": "ApplyPartyDbParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The loan party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "partyServiceId",
            "in": "path",
            "required": true,
            "description": "The Party Management database party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated party detail information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the party could not be applied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/applypartydbpartyresult/entity/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Polls/processes the long-running ApplyPartyDbParty result.",
        "operationId": "ApplyPartyDbPartyResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The loan party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated party detail information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the party could not be applied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/updateloanpartyresult/token/{token}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Polls/processes the queued loan file update started by Put and, once completed,\ncontinues with the Party Management database synchronization.",
        "operationId": "UpdateLoanPartyResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "The protected callback context created when the update was queued.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated party detail information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the callback context is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/deleteloanpartyresult/token/{token}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Polls/processes the queued loan file update started by DeleteLoanParty and, once completed,\ncontinues with the Party Management database unlink.",
        "operationId": "DeleteLoanPartyResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "The protected callback context created when the update was queued.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the callback context is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/unlinkpartiesresult/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Polls/processes the long-running result of the parent-parties update in the Party Management database.",
        "operationId": "UnlinkPartiesInPartyDbResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLoanPartyResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/viewmodel": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Loan Party View only.",
        "description": "Get loan Party details.",
        "operationId": "LoanPartyView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loanparty was not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/linkedparties/state": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Gets the state of the linked party.",
        "operationId": "LinkedPartyState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/linkedparties": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Linked Parties Data only.",
        "description": "Get Linked Parties",
        "operationId": "GetLinkedPartiesDataModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Parties"
        ],
        "summary": "Create Linked Party.",
        "description": "Created a new Transaction.",
        "operationId": "CreateLinkedParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "relatedPartyDetailsInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Linked party was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Linked was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/linkedparties/view": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get Linked Parties.",
        "description": "Get Parties.",
        "operationId": "GetLinkedPartiesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/linkedparties/{linkedPartyId}": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Update Linked Party.",
        "description": "Update a new Transaction.",
        "operationId": "UpdateLinkedParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "linkedPartyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "relatedPartyDetailsInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
              }
            }
          },
          "required": true,
          "x-position": 5
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Linked party was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Linked was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/list/viewmodel": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get borrower parties list view model.",
        "operationId": "GetBorrowerPartiesListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan file Id",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns state and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/modification-summary/state": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Gets the modification summary state including view model and data.\nDisplays a summary of all party-related changes made during loan modification.\nOnly applicable for modification loans (Commercial LOB, milestone >= 6, Modification package type).",
        "description": "Gets the modification summary for all parties with transaction roles of Borrower, Guarantor, and Collateral Owner.\nEach party-role combination is displayed as a separate row with a Party Transaction Role and Modification Status.\nReturns an empty view model (null Model) with HTTP 200 when the package type is not Modification or the\nmilestone is less than 6, signaling the frontend to hide the tab while keeping the response deserializable by typed clients.",
        "operationId": "GetModificationSummaryState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the modification summary view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModificationSummaryListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/{partyId}/reviewduplicateoptionsviewmodel": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Get review duplicate options view model.",
        "operationId": "GetReviewDuplicateOptionsViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the review duplicate options view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDuplicateOptionsViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDuplicateOptionsViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/createparty": {
      "post": {
        "tags": [
          "Parties"
        ],
        "summary": "Create a duplicate party in the Party Management database.",
        "operationId": "CreatePartyInPartyDB",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "query",
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model if the party was created in the Party Management database.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyCreateResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/createpartyresult/entity/base/entityId/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Puts the result.",
        "operationId": "CreatePartyResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyCreateResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyCreateResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/update-party": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Modify a party in the Party Management database.",
        "operationId": "UpdatePartyInPartyDB",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "updateRequest",
          "description": "PartyUpdate RequestInfo party service id and partyId ",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyUpdateRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the party was updated in the Party Management database.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyUpdateResponse"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyUpdateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan or party was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/updatepartyresult/entity/base/entityId/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Polls/processes the long-running UpdatePartyInPartyDB result.",
        "operationId": "UpdatePartyInPartyDbResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The party identifier (Loan file party Id used as entityId in the callback).",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "202 while still running; otherwise the PartyUpdateResponse projected from the\nupdated loan file when the party was updated successfully, or the raw function result when it was not.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyUpdateResponse"
                }
              }
            }
          },
          "202": {
            "description": "202 while still running; otherwise the PartyUpdateResponse projected from the\nupdated loan file when the party was updated successfully, or the raw function result when it was not.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyUpdateResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/dismissduplicatereview/{partyId}": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Dismiss duplicate review for a party.",
        "operationId": "DismissDuplicateReview",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the loan party was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if loan was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/reviewduplicateoptionsviewmodelforparty": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Gets the review duplicate options view model for a specific party.",
        "operationId": "GetReviewDuplicateOptionsViewModelGrid",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyServiceId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDuplicateOptionsViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDuplicateOptionsViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/reviewduplicatesearch": {
      "post": {
        "tags": [
          "Parties"
        ],
        "summary": "Searches for a party",
        "description": "the Core Integration helper or the Party Management helper.",
        "operationId": "ReviewDuplicateSearchParties",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "customerSearchRequestInfo",
          "description": "The customer search request information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DuplicateReviewSearchRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a CustomerSearchResponseInfo.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSearchResponseInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/refreshpartiesfrompartydb": {
      "put": {
        "tags": [
          "Parties"
        ],
        "summary": "Refreshes the parties from party database.",
        "operationId": "RefreshPartiesFromPartyDb",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshPartiesResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshPartiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/refreshpartiesfrompartydbresult/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Refreshes the parties from party database result.",
        "operationId": "RefreshPartiesFromPartyDbResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshPartiesResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshPartiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/createpartydetailresult/entity/base/entityId/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "processes the long-running create-party result for the loan-file edit sync flow.",
        "operationId": "CreatePartyDetailResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The loan party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated party detail information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/updatepartydetailresult/entity/base/entityId/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "processes the long-running update-party result for the loan-file edit sync flow.",
        "operationId": "UpdatePartyDetailResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "description": "The loan party identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier returned by the long-running function.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated party detail information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is still queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/parties/updatepartiesresult/entity/{partyId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Parties"
        ],
        "summary": "Update Parties In PartyDb Result",
        "operationId": "UpdatePartiesInPartyDbResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyDetailInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/partiesgrid/partiesgridviewmodel": {
      "get": {
        "tags": [
          "PartiesGrid"
        ],
        "summary": "Gets the parties grid view model for a client (no loan context).",
        "operationId": "GetPartiesGridViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Party list view model for grid rendering.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Party list view model for grid rendering.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/partiesgrid/parties": {
      "post": {
        "tags": [
          "PartiesGrid"
        ],
        "summary": "Search parties in Party Database for a client and loan.\nThis endpoint returns parties from the Party Database filtered by searchText.\nThe partySearchScreen parameter controls whether linked parties are returned only at level 1 (PartyGrid)\nor at all available levels (PartySearch).\nIf searchText is empty the endpoint should return all parties for the client.",
        "operationId": "GetPartiesFromPartyDatabase",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "partyGridSearchRequestInfo",
          "description": "The party grid search criteria.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyGridSearchRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "List of parties matching criteria.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyGridSearchResponseInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/partiesgrid/{partyServiceId}": {
      "delete": {
        "tags": [
          "PartiesGrid"
        ],
        "summary": "Delete a party from the Party Database (Party Management) for a client.",
        "operationId": "DeletePartyInPartyManagement",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "partyServiceId",
            "in": "path",
            "required": true,
            "description": "The Party Service Id (PartyDatabase id) to delete.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 with Party_DeletePartyResponse on success,\n202 with callback wiring when the operation is queued,\n400 when the input is invalid, 404 when no response is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party_DeletePartyResponse"
                }
              }
            }
          },
          "202": {
            "description": "200 with Party_DeletePartyResponse on success,\n202 with callback wiring when the operation is queued,\n400 when the input is invalid, 404 when no response is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party_DeletePartyResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/partysearch/state": {
      "get": {
        "tags": [
          "PartySearch"
        ],
        "summary": "Retrieves the customer search view for a specified client, loan, and party.",
        "description": "This method retrieves the customer search view by combining loan file information,\n            party details, and core integration settings. The response includes the state of the customer search\n            request.",
        "operationId": "CustomerSearchView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "partyId",
            "in": "query",
            "description": "The unique identifier of the party. This parameter cannot be null.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a CustomerSearchRequestInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSearchRequestInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a CustomerSearchRequestInfoViewModel if the\n            operation is successful. Returns a 200 (OK) status code if the request is processed successfully, a 202\n            (Accepted) status code if the request is accepted but not yet processed, or a 404 (Not Found) status code if\n            the specified resources are not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSearchRequestInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/partysearch": {
      "post": {
        "tags": [
          "PartySearch"
        ],
        "summary": "Posts the specified client identifier.",
        "operationId": "SearchParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "customerSearchRequestInfo",
          "description": "The customer search request information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerSearchRequestInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSearchResult"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSearchResult"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/paymentschedule/list/viewmodel": {
      "get": {
        "tags": [
          "PaymentSchedule"
        ],
        "summary": "Retrieves the payment schedule list view model for a specified client and loan file.",
        "description": "This endpoint requires the caller to have the PaymentScheduleRead permission scope.",
        "operationId": "PaymentScheduleListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter is required.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan file. This parameter is required.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a PaymentScheduleListInfoViewModel if the operation is\n            successful. Returns a 200 OK status if the data is available, a 202 Accepted status if the request is being\n            processed, or a 404 Not Found status if the specified loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentScheduleListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a PaymentScheduleListInfoViewModel if the operation is\n            successful. Returns a 200 OK status if the data is available, a 202 Accepted status if the request is being\n            processed, or a 404 Not Found status if the specified loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentScheduleListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/payoffs": {
      "get": {
        "tags": [
          "Payoff"
        ],
        "summary": "Get the payoffs info",
        "operationId": "Payoffs",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffListInfo"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffListInfo"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Payoff"
        ],
        "summary": "Create Payoff.",
        "operationId": "CreatePayoff",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payoffInfo",
          "description": "The Payoff",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoffInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the Payoff was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Payoff was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/payoffs/viewmodel": {
      "get": {
        "tags": [
          "Payoff"
        ],
        "summary": "Get List of Property State for Payoff view.",
        "operationId": "PayoffViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/payoffs/list/viewmodel": {
      "get": {
        "tags": [
          "Payoff"
        ],
        "summary": "Gets a list of payoffs in a view model format for the specified client and loan.",
        "operationId": "PayoffListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the payoff list view model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the record doesn't exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/payoffs/{payoffId}/state": {
      "get": {
        "tags": [
          "Payoff"
        ],
        "summary": "Get Payoff state.",
        "operationId": "PayoffState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "payoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoffInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/payoffs/{payoffId}": {
      "put": {
        "tags": [
          "Payoff"
        ],
        "summary": "Update Payoff.",
        "operationId": "UpdatePayoff",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The Client Id",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "payoffId",
            "in": "path",
            "required": true,
            "description": "The payoff Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "payoffInfo",
          "description": "The payoff",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoffInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Payoff was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Payoff was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Payoff"
        ],
        "summary": "Delete Payoff.",
        "operationId": "DeletePayoff",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "payoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "A Task`1 representing the result of the asynchronous operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Ping/GetLoanFile": {
      "get": {
        "tags": [
          "Ping"
        ],
        "summary": "Gets the loan file.",
        "operationId": "GetLoanFile",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "The identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "clientId",
            "in": "query",
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "loan.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Ping/sts": {
      "get": {
        "tags": [
          "Ping"
        ],
        "summary": "Pings the STS Administration API to verify connectivity.",
        "operationId": "Sts",
        "responses": {
          "200": {
            "description": "Returns OK if the STS Administration API is reachable."
          },
          "502": {
            "description": "The STS API returned a non-success response."
          }
        }
      }
    },
    "/api/v1/Ping/sts/users": {
      "get": {
        "tags": [
          "Ping"
        ],
        "summary": "Searches for STS users scoped to the caller's account via the POST api/users/search\nendpoint to verify that scope and token configuration is working end-to-end for the\nauthenticated client.\nThe wk-system claim required by the STS policy is satisfied by the\nclient_credentials token that StsApiHandler attaches automatically.",
        "operationId": "Users",
        "responses": {
          "200": {
            "description": "Returns the paged user search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPagedResult"
                }
              }
            }
          },
          "400": {
            "description": "The caller's account claim is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "The STS API returned a non-success response."
          }
        }
      }
    },
    "/api/v1/index-rates": {
      "post": {
        "tags": [
          "RateGrabbers"
        ],
        "summary": "Creates the specified index rate.",
        "operationId": "CreateBulk",
        "requestBody": {
          "x-name": "indexRateData",
          "description": "The index rate data.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IndexRateData"
                }
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/index-rates/{partitionKey}": {
      "get": {
        "tags": [
          "RateGrabbers"
        ],
        "summary": "Gets the by partitionKey.",
        "operationId": "GetByPartitionKey",
        "parameters": [
          {
            "name": "partitionKey",
            "in": "path",
            "required": true,
            "description": "The partitionKey.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/index-rates/{indexType}/dates/{closingDate}": {
      "get": {
        "tags": [
          "RateGrabbers"
        ],
        "summary": "Indexes the type by query partition key.",
        "operationId": "GetFirstOrDefault",
        "parameters": [
          {
            "name": "indexType",
            "in": "path",
            "required": true,
            "description": "Type of the index.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "closingDate",
            "in": "path",
            "required": true,
            "description": "The date.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "terms",
            "in": "query",
            "description": "The term.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/CollateralRelatedParty/state": {
      "get": {
        "tags": [
          "RelatedParty"
        ],
        "summary": "Get Collateral Related Party State.",
        "operationId": "CollateralRelatedPartyState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedPartyInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedPartyInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/CollateralRelatedParty/viewmodel": {
      "get": {
        "tags": [
          "RelatedParty"
        ],
        "summary": "Get Collateral Related Party ViewModel.",
        "operationId": "CollateralRelatedPartyViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/CollateralRelatedParty": {
      "get": {
        "tags": [
          "RelatedParty"
        ],
        "summary": "Get Collateral Related Party.",
        "operationId": "GetCollateralRelatedParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedParty"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedParty"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "RelatedParty"
        ],
        "summary": "Update Collateral Related Party.",
        "operationId": "UpdateCollateralRelatedParty",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "collateralRelatedPartyInfo",
          "description": "Collateral Related Party Info.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollateralRelatedPartyInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the Collateral Related Party was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedPartyInfo"
                }
              }
            }
          },
          "202": {
            "description": "Status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollateralRelatedPartyInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if Collateral Related Party was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/entity/{entity}/entityId/{entityId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Result"
        ],
        "summary": "Bases the result for CUD operatoins.",
        "operationId": "Result",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "entity",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "The Entity Id",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 5
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/entity/{entity}/entityId/{entityId}/getresult/{instanceId}": {
      "get": {
        "tags": [
          "Result"
        ],
        "summary": "Bases the result for GET/READ operatoins.",
        "operationId": "Getresult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "entity",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "The Entity Id",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The instance identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 5
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/session/{clientId}/logout": {
      "post": {
        "tags": [
          "Session"
        ],
        "summary": "Logout from IDS page.",
        "operationId": "Logout",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Api response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/session/heartbeat": {
      "get": {
        "tags": [
          "Session"
        ],
        "summary": "Keeps the session alive while the user is actively working inside the\ncross-origin Document Viewer iframe.",
        "description": "Activity inside the Document Viewer iframe is not observable by C1Plus and produces no\ncalls to this API, so the sliding authentication cookie is never renewed and the OIDC\naccess token is never refreshed. This endpoint intentionally performs no work: simply\nreaching it authenticated is enough for the cookie middleware to slide the ticket and\nfor cookie validation to refresh the access token when it is close to expiry.",
        "operationId": "SessionHeartbeat",
        "responses": {
          "204": {
            "description": "No content."
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/settings": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the settings navigation information.",
        "operationId": "GetSettingsNavigation",
        "responses": {
          "200": {
            "description": "Returns the settings navigation information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsNavInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsNavInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets all accounts.",
        "operationId": "GetAccounts",
        "responses": {
          "200": {
            "description": "Returns the list of accounts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountInfo"
                  }
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/areas/{area}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the settings for a specific account and area, optionally scoped to a branch.",
        "operationId": "GetAccountSettings",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the settings information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the branch identifier format is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the area is missing/invalid, the caller's resolved C1Plus permission scopes do not include the area's configured GetPermissions constant (enforced by the area authorization filter), or when the Organization area is requested and no matching wk-account claim is present on the caller's token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the account does not exist, or if a branch is supplied and no settings document exists for that branch.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Updates the settings for a specific account and area, optionally scoped to a branch.",
        "operationId": "UpdateAccountSettings",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "model",
          "description": "The inbound settings data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated settings view model including model data and properties.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result with a retry GET URL when the save operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the input is invalid (including a malformed branch identifier, a failed pre-validation, or an invalid watermark payload for the watermark areas).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the area is missing/invalid, or the caller's resolved C1Plus permission scopes do not include the area's configured SetPermissions constant; the write-permission gate rejects the request before the action body runs (enforced by the area authorization filter).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the account or area does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs while updating the settings."
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/{branchId}/areas/{area}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the settings for a specific account and area, optionally scoped to a branch.",
        "operationId": "GetAccountSettings2",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The optional branch identifier. When supplied, the branch-scoped settings document is returned.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the settings information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request when the branch identifier format is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the area is missing/invalid, the caller's resolved C1Plus permission scopes do not include the area's configured GetPermissions constant (enforced by the area authorization filter), or when the Organization area is requested and no matching wk-account claim is present on the caller's token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the account does not exist, or if a branch is supplied and no settings document exists for that branch.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Updates the settings for a specific account and area, optionally scoped to a branch.",
        "operationId": "UpdateAccountSettings2",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The optional branch identifier. When supplied, the branch-scoped settings document is persisted instead of the account-level one.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "model",
          "description": "The inbound settings data as a JSON object.",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated settings view model including model data and properties.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result with a retry GET URL when the save operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the input is invalid (including a malformed branch identifier, a failed pre-validation, or an invalid watermark payload for the watermark areas).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Returns forbidden when the area is missing/invalid, or the caller's resolved C1Plus permission scopes do not include the area's configured SetPermissions constant; the write-permission gate rejects the request before the action body runs (enforced by the area authorization filter).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the account or area does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs while updating the settings."
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets all branches for the specified account.",
        "operationId": "GetBranches",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of branches for the account, or an empty list if the account exists but has no branches.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BranchInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the account identifier is null or whitespace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no account settings exist for the specified account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      },
      "post": {
        "tags": [
          "Settings"
        ],
        "summary": "Creates a new branch for the specified account.",
        "operationId": "CreateBranch",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "branchRequest",
          "description": "The branch request payload. Must not include an Id.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BranchSettingsRequest"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the full list of branches for the account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns the full list of branches for the account when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the payload contains an Id or if the branch code already exists for the account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/accounts/{accountId}/newcontact": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the default admin-state payload for a new loan contact for the specified account.",
        "operationId": "GetNewContact",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the default loan contact admin-state payload.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the account identifier is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error when payload generation fails."
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/{branchId}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets a single branch by its identifier for the specified account.",
        "operationId": "GetBranchById",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the single branch information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the account or branch identifier is null or whitespace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no account settings exist for the account, or if the branch does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Returns internal server error if an unexpected error occurs while retrieving the branch."
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Updates an existing branch for the specified account.",
        "operationId": "UpdateBranch",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "branchRequest",
          "description": "The branch request payload. Must include an Id.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BranchSettingsRequest"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the full list of branches for the account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns the full list of branches for the account when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the payload does not include an Id, or if the branch code already exists on another branch.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      },
      "delete": {
        "tags": [
          "Settings"
        ],
        "summary": "Deletes an existing branch for the specified account.",
        "operationId": "DeleteBranch",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a success response when the branch is removed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the branch does not exist for the account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": ""
          }
        }
      }
    },
    "/api/user/{area}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the user settings for a specific area.",
        "operationId": "GetUserSettings",
        "parameters": [
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the user settings information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the area does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Updates the user settings for a specific area.",
        "operationId": "UpdateUserSettings",
        "parameters": [
          {
            "name": "area",
            "in": "path",
            "required": true,
            "description": "The area identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "userSettingsDto",
          "description": "The user settings data to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserSettingsDTO"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the updated user settings information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the input is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the area does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/result/{instanceId}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Retrieves the result of a branch creation orchestration.",
        "operationId": "CreateBranchResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The orchestration instance identifier returned in the 202 callback URL.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the created branch account settings.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/{branchId}/result/{instanceId}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Retrieves the result of a branch update orchestration.",
        "operationId": "UpdateBranchResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The orchestration instance identifier returned in the 202 callback URL.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated branch account settings.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if a required parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/{branchId}/delete/result/{instanceId}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Retrieves the result of a branch deletion orchestration.",
        "operationId": "DeleteBranchResult",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The orchestration instance identifier returned in the 202 callback URL.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a success response when the orchestration completes.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the Functions orchestration is still processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BranchInfo"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if a required parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/logo/{lob}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the logo image for the specified account and line of business.",
        "operationId": "LogoFetchAccount",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the logo image bytes with the appropriate content type.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "204": {
            "description": "Returns no content if no logo exists for the specified account and line of business."
          },
          "400": {
            "description": "Returns bad request if the account identifier or line of business is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Uploads a logo image for the specified account and line of business.",
        "operationId": "LogoUploadAccount",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns success when the logo is uploaded successfully."
          },
          "400": {
            "description": "Returns bad request ProblemDetails if the file is invalid, too large, or of an unsupported type (title \"Validation error\"), or if its content disagrees with its declared type or is not a structurally valid PNG or JPEG (title \"Potentially harmful file\").",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Settings"
        ],
        "summary": "Deletes the logo image for the specified account and line of business.",
        "operationId": "LogoDeleteAccount",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns success when the logo is deleted successfully."
          },
          "400": {
            "description": "Returns bad request if the account identifier or line of business is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts/{accountId}/branches/{branchId}/logo/{lob}": {
      "get": {
        "tags": [
          "Settings"
        ],
        "summary": "Gets the logo image for the specified account and line of business.",
        "operationId": "LogoFetchAccount2",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier (optional, for branch-level logos).",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the logo image bytes with the appropriate content type.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "204": {
            "description": "Returns no content if no logo exists for the specified account and line of business."
          },
          "400": {
            "description": "Returns bad request if the account identifier or line of business is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Settings"
        ],
        "summary": "Uploads a logo image for the specified account and line of business.",
        "operationId": "LogoUploadAccount2",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier (optional, for branch-level logos).",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns success when the logo is uploaded successfully."
          },
          "400": {
            "description": "Returns bad request ProblemDetails if the file is invalid, too large, or of an unsupported type (title \"Validation error\"), or if its content disagrees with its declared type or is not a structurally valid PNG or JPEG (title \"Potentially harmful file\").",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Settings"
        ],
        "summary": "Deletes the logo image for the specified account and line of business.",
        "operationId": "LogoDeleteAccount2",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "path",
            "required": true,
            "description": "The line of business (e.g., \"Commercial\" or \"Consumer\").",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "branchId",
            "in": "path",
            "required": true,
            "description": "The branch identifier (optional, for branch-level logos).",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns success when the logo is deleted successfully."
          },
          "400": {
            "description": "Returns bad request if the account identifier or line of business is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/statedocument/state/{stateName}": {
      "get": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Get state specific states.",
        "operationId": "StateDocumentState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "stateName",
            "in": "path",
            "required": true,
            "description": "State name.",
            "schema": {
              "$ref": "#/components/schemas/StateAbbr"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDocumentsInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDocumentsInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/statedocument/viewmodel": {
      "get": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Get List of state document view model.",
        "operationId": "StateDocumentView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/statedocument": {
      "get": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Get State Document.",
        "operationId": "StateDocumentData",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The ids loan id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a data model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDocumentsInfo"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanDocumentsInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if State document was not available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Update State Document.",
        "operationId": "UpdateStateDocument",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanDocumentsInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanDocumentsInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns a view model if the State was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if State was not updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Delete State Document.",
        "operationId": "DeleteStateDocument",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model if the state documrnt was deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if state document was not deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/statedocument/{stateName}": {
      "post": {
        "tags": [
          "StateDocument"
        ],
        "summary": "Create State Document.",
        "operationId": "CreateStateDocument",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "stateName",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/StateAbbr"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "loanDocumentsInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanDocumentsInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns a data model if the state was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if state was not created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/subordinatedDebts": {
      "get": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Retrieves the list of subordinated debts associated with a loan.",
        "operationId": "SubordinatedDebts",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of subordinated debts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubordinatedDebtListInfo"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Creates a new subordinated debt agreement on a loan.",
        "operationId": "CreateSubordinatedDebt",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "subordinateDebtInfo",
          "description": "The subordinated debt payload to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubordinatedDebtInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the agreement was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/subordinatedDebts/viewmodel": {
      "get": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Retrieves the view model for a subordinated debt associated with a loan.",
        "operationId": "SubordinatedDebtView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelState"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/subordinatedDebts/{debtId}/state": {
      "get": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Retrieves the state of a specific subordinated debt agreement.",
        "operationId": "SubordinateDebtState",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "debtId",
            "in": "path",
            "required": true,
            "description": "The subordinated debt identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a view model and data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubordinatedDebtInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubordinatedDebtInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns an empty response if record not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/subordinatedDebts/list/viewmodel": {
      "get": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Retrieves the list of subordinated debt view models for the specified loan.",
        "operationId": "SubordinatedDebtListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan's unique identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the ModelState object if the operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubordinatedDebtListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "Returns the ModelState object if the operation is accepted but not yet completed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubordinatedDebtListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns a NotFound result if the specified loan or client does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/subordinatedDebts/{debtId}": {
      "put": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Updates a subordinated debt on a loan.",
        "operationId": "UpdateSubordinatedDebt",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "debtId",
            "in": "path",
            "required": true,
            "description": "The subordinated debt identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "subordinatedDebtInfo",
          "description": "The subordinated debt payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubordinatedDebtInfo"
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Returns the updated loan file if the subordinated debt was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SubordinatedDebt"
        ],
        "summary": "Deletes a subordinated debt agreement from a loan.",
        "operationId": "DeleteSubordinatedDebt",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "debtId",
            "in": "path",
            "required": true,
            "description": "The subordinated debt identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the updated loan file after deletion.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the loan file or subordinated debt does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/SyncSettings/SetSettings": {
      "post": {
        "tags": [
          "SyncSettings"
        ],
        "summary": "Apply settings to client(s)",
        "operationId": "SetSettings",
        "requestBody": {
          "x-name": "requestModel",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "ApiResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "202": {
            "description": "ApiResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/viewmodel": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Gets the view model for a single loan template.",
        "operationId": "GetTemplateView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing the list of template property states.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates": {
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Creates a new loan template.",
        "operationId": "CreateTemplate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "loanTemplateInfo",
          "description": "The loan template info payload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanTemplateInfo"
              }
            }
          },
          "required": true,
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "Returns the created template.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails or a template with the same name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/rename/viewmodel": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Gets the rename view model for a single loan template.",
        "operationId": "RenameTemplatesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The template identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the rename view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTemplateInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/update": {
      "put": {
        "tags": [
          "Templates"
        ],
        "summary": "Updates an existing loan template (rename or status change).",
        "operationId": "UpdateTemplate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The template identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "loanTemplateInfo",
          "description": "The update request containing the template fields to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanTemplateInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the updated template.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails or a template with the same name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/copy/viewmodel": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Gets the copy view model for a single loan template.",
        "operationId": "CopyTemplatesView",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The template identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the copy view model.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTemplateInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/copy": {
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Copies an existing loan as a new template transaction.",
        "operationId": "CopyTemplate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The source template identifier to copy from.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "loanTemplateInfo",
          "description": "Template metadata (required when creating template).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoanTemplateInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the created template copy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if validation fails or a template with the same name already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the source template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/createloan": {
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Creates a new loan file from an existing template.\nCopies the template data and field attributes to a new loan file.",
        "operationId": "CreateLoanFromTemplate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The source template identifier to create the loan from.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "createLoanFromTemplateInfo",
          "description": "The parameters used to customize the new loan file created from the template.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLoanFromTemplateInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "Returns the created loan file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the source document is not a template or validation fails.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/list/viewmodel": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Gets the list view model for loan templates, including column definitions, property states, and template data from Cosmos DB.\nQueries all loan file documents where IsTemplate is true for the specified client.",
        "operationId": "TemplateListViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "lob",
            "in": "query",
            "description": "Optional line of business filter to apply when retrieving templates.",
            "schema": {
              "oneOf": [
                {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/LineOfBusinessType"
                    }
                  ]
                }
              ]
            },
            "x-position": 2
          },
          {
            "name": "searchTerm",
            "in": "query",
            "description": "Optional search term to filter templates by Template Name, Loan Type, or Branch (case-insensitive substring match).",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the loan template list view model with template data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanTemplateListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if no templates are found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}": {
      "delete": {
        "tags": [
          "Templates"
        ],
        "summary": "Deletes an existing loan template.",
        "operationId": "DeleteTemplate",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The template identifier to delete.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the deleted template identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/templates/{templateId}/action-attributes": {
      "patch": {
        "tags": [
          "Templates"
        ],
        "summary": "Update action attributes (edit/delete row restrictions) for template mode.\nReplaces only the action attributes that match the specified viewModelType,\npreserving attributes for other entity types and field-level attributes.",
        "operationId": "UpdateTemplateActionAttributes",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "description": "The template Id.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "viewModelType",
            "in": "query",
            "description": "The view model type that owns the attributes (e.g. FeeListInfo, DisbursementListInfo).",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "attributes",
          "description": "The action attributes to save.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FieldAttributeEntry"
                }
              }
            }
          },
          "required": true,
          "x-position": 4
        },
        "responses": {
          "200": {
            "description": "Action attributes saved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "Returns an accepted result when the operation is queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "400": {
            "description": "Returns bad request if the document is not a template, an attribute has an invalid AppliesTo or Attribute type, or a ViewModelType does not match the query parameter.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Returns not found if the template does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/user/permission": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Gets the permissions.",
        "operationId": "GetPermissions",
        "responses": {
          "200": {
            "description": "permissions.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/user/profile": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Gets the current user profile.",
        "operationId": "UserProfile",
        "responses": {
          "200": {
            "description": "The user profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfile"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/user/accountsInfo": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Gets the list of accounts the current authenticated user can access.",
        "operationId": "GetAccountsInfo",
        "responses": {
          "200": {
            "description": "Returns the list of accessible accounts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAccountInfo"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The request is not authenticated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/user/accounts/all": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Gets every account licensed for a C1Plus product, for Support Line users only. See AC 2.",
        "operationId": "GetAllAccounts",
        "parameters": [
          {
            "name": "pagingOffset",
            "in": "query",
            "description": "The STS search paging offset.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "pagingSize",
            "in": "query",
            "description": "The STS search paging size.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Returns every C1Plus-licensed account.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AllAccountsResultItem"
                  }
                }
              }
            }
          },
          "403": {
            "description": "The caller is not a Support Line user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "The STS Administration API returned an error."
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/valuation": {
      "post": {
        "tags": [
          "Valuation"
        ],
        "summary": "Creates a valuation request for a specific client and loan, and initiates the valuation process.",
        "operationId": "CreateValuationRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "valuationOrderSummaryInfo",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValuationOrderSummaryInfo"
              }
            }
          },
          "required": true,
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationResponse"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/valuation/{collateralId}/valuationid/{valuationId}": {
      "delete": {
        "tags": [
          "Valuation"
        ],
        "summary": "Deletes the specified client identifier.",
        "operationId": "DeleteValuationRequest",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "collateralId",
            "in": "path",
            "required": true,
            "description": "The collateral identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "valuationId",
            "in": "path",
            "required": true,
            "description": "The valuation identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag value for optimistic concurrency. Required for update and delete operations to ensure the resource has not changed since it was last retrieved. The server will only process the request if the current ETag matches the value provided in this header.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoanFile"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/valuation/list/viewmodel": {
      "get": {
        "tags": [
          "Valuation"
        ],
        "summary": "Gets the valuation order list information view model.",
        "operationId": "GetValuationOrderListInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The client identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The loan identifier.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationOrderListInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationOrderListInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/valuation/viewmodel": {
      "get": {
        "tags": [
          "Valuation"
        ],
        "summary": "Gets the credit report item view model for a specific client and loan.",
        "operationId": "GetValuationOrderInfoViewModel",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "valuationOrderId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationOrderSummaryInfoViewModel"
                }
              }
            }
          },
          "202": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationOrderSummaryInfoViewModel"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/clients/{clientId}/loans/{loanId}/valuation/entity/{entity}/entityId/{entityId}/type/{type}/result/{instanceId}": {
      "get": {
        "tags": [
          "Valuation"
        ],
        "summary": "Retrieves the valuation report result for a specified entity and instance.",
        "description": "This method validates the input parameters to ensure they are not null or empty. It\n            logs the request details and invokes the valuation request to retrieve the result. If the request is still\n            being processed, an accepted response is returned with a callback mechanism.",
        "operationId": "GetValuationReportResult",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the client. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "loanId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the loan file. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          },
          {
            "name": "entity",
            "in": "path",
            "required": true,
            "description": "The  unique identifier of the valuation type",
            "schema": {
              "type": "string"
            },
            "x-position": 3
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the valuation entity. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 4
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the order type.",
            "schema": {
              "type": "string"
            },
            "x-position": 5
          },
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the valuation instance. This parameter is required and cannot be null or empty.",
            "schema": {
              "type": "string"
            },
            "x-position": 6
          }
        ],
        "responses": {
          "200": {
            "description": "An ActionResult`1 containing a ValuationResponse object. Returns a 200 OK\n            status if the valuation report result is successfully retrieved, or a 202 Accepted status if the request is\n            being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationResponse"
                }
              }
            }
          },
          "202": {
            "description": "An ActionResult`1 containing a ValuationResponse object. Returns a 200 OK\n            status if the valuation report result is successfully retrieved, or a 202 Accepted status if the request is\n            being processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValuationResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LoanFile": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "modelVersion": {
                "type": "integer",
                "description": "Model Version",
                "format": "int32"
              },
              "client": {
                "type": "string",
                "description": "Client ID"
              },
              "loans": {
                "type": "array",
                "description": "List of Loans.  At this time we are supporting 1 loan but Expere content can support up to 3 loans.  You can use Loan() function to get the first loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Loan"
                }
              },
              "parties": {
                "type": "array",
                "description": "List of Parties.  These are the borrowing parties and includes Borrowers, Guarantors, Collateral Owners, Subordinating Creditors and related parties such as owners, officers, signers, etc. for borrowing parties.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BorrowingParty"
                }
              },
              "cp_partyName": {
                "type": "string",
                "description": "Computed property. First party's display name.",
                "nullable": true
              },
              "cp_partyNameSort": {
                "type": "string",
                "description": "Computed property. First party's sort value.",
                "nullable": true
              },
              "cp_loanNumberSort": {
                "type": "string",
                "description": "Computed property. Loan number's sort value.",
                "nullable": true
              },
              "policy": {
                "description": "Policy at the loan file level.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanFilePolicy"
                  }
                ]
              },
              "collateralItems": {
                "type": "array",
                "description": "Collateral Items",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralItem"
                }
              },
              "documents": {
                "description": "Loan Documents",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDocuments"
                  }
                ]
              },
              "lender": {
                "description": "Lenders",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LendingParty"
                  }
                ]
              },
              "createdBy": {
                "type": "string",
                "description": "Name of user who created this object"
              },
              "createdById": {
                "type": "string"
              },
              "createdOn": {
                "type": "string",
                "description": "Date and time when object was created",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string",
                "description": "Name of user who updated this object",
                "nullable": true
              },
              "updatedById": {
                "type": "string",
                "nullable": true
              },
              "updatedOn": {
                "type": "string",
                "description": "Date and time when object was updated",
                "format": "date-time",
                "nullable": true
              },
              "isDeleted": {
                "type": "boolean",
                "description": "Indicate object is soft deleted or not",
                "nullable": true
              },
              "isArchived": {
                "type": "boolean",
                "description": "Indicate object is archived or not",
                "nullable": true
              },
              "archivedBy": {
                "type": "string",
                "description": "Name of user who archived this object",
                "nullable": true
              },
              "archivedOn": {
                "type": "string",
                "description": "Date and time when object was archived",
                "format": "date-time",
                "nullable": true
              },
              "version": {
                "type": "string",
                "description": "Versioning of document ensure data integrity and consistency during concurrent update situation.",
                "nullable": true
              },
              "loanSettings": {
                "description": "Loan Settings",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanSettings"
                  }
                ]
              },
              "lineOfBusiness": {
                "description": "Line of business",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "isLoanFileRead": {
                "type": "boolean",
                "description": "Indicates whether the loan file has been read after creation and this property is used only for the UI behavior based on the scenario and doesn't add any value to the LoanFile ",
                "nullable": true
              },
              "liabilities": {
                "type": "array",
                "description": "Liabilities relevant to the loan file.",
                "items": {
                  "$ref": "#/components/schemas/Liability"
                }
              },
              "creditReportItems": {
                "type": "array",
                "description": "Liabilities relevant to the loan file.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditReportItem"
                }
              },
              "businessReportItems": {
                "type": "array",
                "description": "Business reports ordered for parties on the loan file.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BusinessReportItem"
                }
              },
              "assets": {
                "type": "array",
                "description": "The Asset",
                "items": {
                  "$ref": "#/components/schemas/Asset"
                }
              },
              "loanTransactionHash": {
                "type": "string",
                "description": "Conatin the partial loan file hash of key LoanTransactionHash",
                "nullable": true
              },
              "insurance": {
                "type": "array",
                "description": "The insurance information for the collateral.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Insurance"
                }
              },
              "requestResponseInformations": {
                "type": "array",
                "description": "A collection of request and response information associated with the current context.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RequestResponseInformation"
                }
              },
              "subordinatedDebt": {
                "type": "array",
                "description": "Collection of subordinated debts for this borrowing party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SubordinatedDebt"
                }
              },
              "isCoreUploadServiceDown": {
                "type": "boolean",
                "description": "Indicates whether the core upload service is down.",
                "nullable": true
              },
              "auditValidations": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AuditValidation"
                }
              },
              "isTemplate": {
                "type": "boolean",
                "description": "Template flag to identify when a loan file is a template or not.",
                "nullable": true
              },
              "templateName": {
                "type": "string",
                "description": "For a template it is the name assigned during its creation. For a loan file it is the name of the template used to create it.",
                "nullable": true
              },
              "templateStatus": {
                "description": "The status of a template (active or inactive).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateStatusType"
                  }
                ]
              },
              "fieldAttributes": {
                "type": "array",
                "description": "Field attribute overrides defined in the template. Copied to loans created from this template.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FieldAttributeEntry"
                }
              }
            }
          }
        ]
      },
      "Loan": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "amortTerm": {
                "type": "integer",
                "description": "The number of periods over which the loan",
                "format": "int32",
                "nullable": true
              },
              "advanceMethods": {
                "type": "array",
                "description": "Personal line of credit may be accessed via debit or credit card.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AdvanceMethods"
                }
              },
              "disclosureDate": {
                "type": "string",
                "description": "The date the disclosure is printed or mailed.",
                "format": "date",
                "nullable": true
              },
              "discountRateChangeType": {
                "description": "This item indicates how the rate change will be applied if the customer is no longer eligible for the preferred rate.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscountRateChangeType"
                  }
                ]
              },
              "exampleRateIncrease": {
                "description": "The Loan Terms Rate Change Example values used by the truth-in-lending rate increase example.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ExampleRateIncrease"
                  }
                ]
              },
              "rateDiscountEmployeePercent": {
                "type": "number",
                "description": "This item is the discount percentage the employee is receiving on this loan.",
                "format": "decimal",
                "nullable": true
              },
              "rateDiscountAutoDebitPercent": {
                "type": "number",
                "description": "The discount percentage the customer is receiving for having loan payments automatically withdrawn from an account.",
                "format": "decimal",
                "nullable": true
              },
              "preferredRateInd": {
                "type": "boolean",
                "description": "There are employee, automatic debit or deposit account discounts to be applied.",
                "nullable": true
              },
              "automaticDebitAcc": {
                "type": "string",
                "description": "The transaction account number from which automatic payments will be made.",
                "nullable": true
              },
              "preferredRateAutoDebitInd": {
                "type": "boolean",
                "description": "If true the customer is eligible for a preferred rate for having their loan payments automatically deducted from an account.",
                "nullable": true
              },
              "rateDiscountDepositAccountPercent": {
                "type": "number",
                "description": "This item is the discount percentage the customer is receiving for having a qualifying deposit account with your organization.",
                "format": "decimal",
                "nullable": true
              },
              "rateDiscountDepositMinAmt": {
                "type": "number",
                "description": "The qualifying minimum balance amount for consumers who agree to maintain a qualifying minimum balance.",
                "format": "decimal",
                "nullable": true
              },
              "baseLoanTermsLoanAct": {
                "description": "This item identifies which jurisdictional loan act applies to the transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BaseLoanTermsLoanActType"
                  }
                ]
              },
              "crossCollateralInd": {
                "type": "boolean",
                "description": "If true, the loan is secured by existing collateral that already secures another obligation.",
                "nullable": true
              },
              "includeInitialRateInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the initial rate in the Date and Parties Summary section.",
                "nullable": true
              },
              "exportationExporting": {
                "type": "boolean",
                "description": "If true, the interest rate is exported from another jurisdiction.",
                "nullable": true
              },
              "preferredRateDepositAccountInd": {
                "type": "boolean",
                "description": "If true this customer is eligible for a preferred rate for having a qualifying deposit account with your organization.",
                "nullable": true
              },
              "preferredRateEmploymentInd": {
                "type": "boolean",
                "description": "If true the customer is eligible for a preferred rate for being an employee of your organization.",
                "nullable": true
              },
              "loanAmount": {
                "type": "number",
                "description": "The loan amount.",
                "format": "decimal",
                "nullable": true
              },
              "requestedLoanAmount": {
                "type": "number",
                "description": "The requested loan amount entered by the user; the Total Loan Amount is held in LoanAmount.",
                "format": "decimal",
                "nullable": true
              },
              "applications": {
                "type": "array",
                "description": "The Application List",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Application"
                }
              },
              "loanNumber": {
                "type": "string",
                "description": "The loan number.",
                "nullable": true
              },
              "purposeOther": {
                "type": "string",
                "description": "The purpose other.",
                "nullable": true
              },
              "closingDate": {
                "type": "string",
                "description": "The date that appears on documents in the closing package. This date is determined by the lender and, for example, can be the date the documents are printed or the date the documents will be signed.",
                "format": "date",
                "nullable": true
              },
              "maturityDate": {
                "type": "string",
                "description": "The date that the note will mature.",
                "format": "date",
                "nullable": true
              },
              "type": {
                "description": "Specifies the type of advances allowed under the note.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "personalFinancialStatementDueDateType": {
                "description": "Specifies when the financial statements of applicable parties are due.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PersonalFinancialStatementDueDateType"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "description": "The type other desc.",
                "nullable": true
              },
              "businessDesc": {
                "type": "string",
                "description": "Business Description",
                "nullable": true
              },
              "reasonableAttorneysFeesDesc": {
                "type": "string",
                "description": "A description of what would constitute reasonable attorneys' fees. This could be a 1) flat amount; b) flat percent; or 3) a combination of a flat amount and flat percent. For use in Commercial content.",
                "nullable": true
              },
              "executionCity": {
                "type": "string",
                "description": "The execution city.",
                "nullable": true
              },
              "executionCounty": {
                "type": "string",
                "description": "The county in which the documents are executed.",
                "nullable": true
              },
              "currentBalanceAmt": {
                "type": "number",
                "description": "The current balance amt.",
                "format": "decimal"
              },
              "phases": {
                "type": "array",
                "description": "Loan Phases.  Loans may have different rates during different periods.  For example there may be an introductory (so called \"Teaser\") rate for a period followed by a permanent rate.",
                "items": {
                  "$ref": "#/components/schemas/Phase"
                }
              },
              "paymentSchedule": {
                "type": "array",
                "description": "Payment Schedule. Loan will have Amortization payment schedule for each loan.",
                "items": {
                  "$ref": "#/components/schemas/PaymentSchedule"
                }
              },
              "fees": {
                "type": "array",
                "description": "List of Fees",
                "items": {
                  "$ref": "#/components/schemas/Fee"
                }
              },
              "lateCharge": {
                "description": "Late Charges",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LateCharge"
                  }
                ]
              },
              "payoffs": {
                "type": "array",
                "description": "List of Payoffs.  These are amounts being paid to existing lender(s) that typically have lien(s) on the collateral for the loan being made.  The existing lender(s) will be paid off with loan proceeds and release the lien(s) on the collateral.",
                "items": {
                  "$ref": "#/components/schemas/Payoff"
                }
              },
              "prepayPenalty": {
                "description": "Prepayment Penalty",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrepayPenalty"
                  }
                ]
              },
              "loanPolicy": {
                "description": "Loan Policy",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPolicy"
                  }
                ]
              },
              "loanDefault": {
                "description": "Loan Default",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDefault"
                  }
                ]
              },
              "loanProgram": {
                "description": "Loan Program Enum",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanProgram"
                  }
                ]
              },
              "intendedUseOfProceeds": {
                "type": "string",
                "description": "A detailed description of the loan purpose.",
                "nullable": true
              },
              "prepayOddDaysInterest": {
                "type": "boolean",
                "description": "The Interest Amount collected for days greater than the Unit Period to the First Payment Date.",
                "nullable": true
              },
              "termInMonths": {
                "type": "number",
                "description": "The term of the loan in months.",
                "format": "decimal",
                "nullable": true
              },
              "oddDays": {
                "type": "array",
                "description": "List of OddDays",
                "items": {
                  "$ref": "#/components/schemas/OddDays"
                }
              },
              "prepaidInterestAmount": {
                "type": "number",
                "description": "Prepaid Interest Amount",
                "format": "decimal"
              },
              "balloon": {
                "description": "Balloon, Loan will have Balloon for each loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Balloon"
                  }
                ]
              },
              "disbursements": {
                "type": "array",
                "description": "List of Disbursement for each loan.",
                "items": {
                  "$ref": "#/components/schemas/Disbursement"
                }
              },
              "applicationDate": {
                "type": "string",
                "description": "This is the date that the Applicant applied for the loan.",
                "format": "date",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "description": "Describe any additional information requested as a part of the loan application.",
                "nullable": true
              },
              "classNumber": {
                "type": "string",
                "description": "This is the creditor's class number for the application.",
                "nullable": true
              },
              "financingType": {
                "description": "This is the type of loan that the Applicant is applying for.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancingType"
                  }
                ]
              },
              "creditReferences": {
                "type": "array",
                "description": "Credit Reference",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditReference"
                }
              },
              "lineOfCredit": {
                "description": "Line of Credit",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfCredit"
                  }
                ]
              },
              "isGeneralInformationViewed": {
                "type": "boolean",
                "description": "Flag for the General Information tab accessed at least one time or not - UI Purpose Only",
                "nullable": true
              },
              "loanTerm": {
                "type": "integer",
                "description": "Term of the loan",
                "format": "int32",
                "nullable": true
              },
              "amountFinanced": {
                "type": "number",
                "description": "The Regulation Z definition of the amount financed. This is the loan amount minus fees that affect the APR. However there are some exceptions: pro rata fees and required monthly outstanding balance credit insurance etc.",
                "format": "decimal",
                "nullable": true
              },
              "prepaidFinanceChargeAmount": {
                "type": "number",
                "description": "The total fees that affect the APR that are paid at closing.",
                "format": "decimal",
                "nullable": true
              },
              "closedEndEarlyAPRPercent": {
                "type": "number",
                "description": "The annual percentage rate at application.",
                "format": "decimal",
                "nullable": true
              },
              "endOfMonthInd": {
                "type": "boolean",
                "description": "If the first payment is due on the last day of the month make all subsequent payments occur on the last day of the month.",
                "nullable": true
              },
              "financeChargeAmount": {
                "type": "number",
                "description": "The total charges affecting the APR plus insurance renewals plus interest.",
                "format": "decimal",
                "nullable": true
              },
              "nonTRIDTotal": {
                "type": "number",
                "description": "The total of all payments as calculated under 12 CFR 1026.18(h) for Reg Z disclosure purposes that are not the TRID Closing Disclosure.",
                "format": "decimal",
                "nullable": true
              },
              "applicationReceivedDate": {
                "type": "string",
                "description": "The date the loan application was received for disclosures other than the TILA/RESPA Integrated Disclosures.",
                "format": "date",
                "nullable": true
              },
              "receivedBy": {
                "type": "string",
                "description": "The name of the lender's representative who received the application.",
                "nullable": true
              },
              "loanPurpose": {
                "description": "If true the proceeds of the loan will be used for another purpose.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPurposeType"
                  }
                ]
              },
              "loanPurposeOtherDesc": {
                "type": "string",
                "description": "Describes the 'other' purpose for which the proceeds of the loan will be used.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the first party where the Insider Relationship = Executive Officer OR Employee.",
                "nullable": true
              },
              "decisionDate": {
                "type": "string",
                "description": "Decision Date refers to the date on which the financial institution took final action on a loan application, such as origination, denial, withdrawal, or closure for incompleteness, as required for reporting purposes.",
                "format": "date",
                "nullable": true
              },
              "actionTakenDate": {
                "type": "string",
                "description": "Action Taken Date refers to the date on which the financial institution took final action on a loan application, such as origination, denial, withdrawal, or closure for incompleteness, as required for reporting purposes.",
                "format": "date",
                "nullable": true
              },
              "dateEcoaNoticeOfAction": {
                "type": "string",
                "description": "Date ECOA Notice of Action refers to the date on which the financial institution took final action on a loan application as captured in the Decision Information panel for Commercial loans, kept separate from the HMDA Action Taken Date.",
                "format": "date",
                "nullable": true
              },
              "loanDecision": {
                "description": "Describes the loan decision.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDecision"
                  }
                ]
              },
              "loanDecisionNotes": {
                "type": "string",
                "description": "The description of additional information utilized to determine loan decision.",
                "nullable": true
              },
              "reasonCode": {
                "type": "string",
                "description": "The loan reason code(s) captured for the loan decision.",
                "nullable": true
              },
              "loanDecisionNotesUseDefault": {
                "type": "boolean",
                "description": "Indicates that the description of action taken uses the default text derived from the loan decision.",
                "nullable": true
              },
              "loanDescription": {
                "type": "string",
                "description": "Date Adverse Action Letter was sent to party",
                "nullable": true
              },
              "loanDecisionDescription": {
                "type": "string",
                "description": "A description of the action taken on loan",
                "nullable": true
              },
              "deliveryType": {
                "description": "This item describes how the notice will be delivered.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDecisionDeliveryType"
                  }
                ]
              },
              "deliveryDate": {
                "type": "string",
                "description": "The date that the notice of action taken is delivered to the borrowers.",
                "format": "date",
                "nullable": true
              },
              "actionReasons": {
                "type": "array",
                "description": "Collection of action reasons for loan decisions.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ActionReason"
                }
              },
              "additionalRemedies": {
                "type": "string",
                "description": "The description for additional remedies.",
                "nullable": true
              },
              "additionalTerms": {
                "type": "string",
                "description": "This item identifies any additional terms for this Note.",
                "nullable": true
              },
              "loanPurposeDescription": {
                "type": "string",
                "description": "A detailed description of the loan purpose.",
                "nullable": true
              },
              "supervisedLoan": {
                "type": "boolean",
                "description": "If true the loan is supervised.",
                "nullable": true
              },
              "originalLoanAmount": {
                "type": "number",
                "description": "Amount of Loan",
                "format": "decimal",
                "nullable": true
              },
              "requiresFTCNotice": {
                "type": "boolean",
                "description": "If true, the transaction requires the FTC 'Holder-in-Due-Course' notice.",
                "nullable": true
              },
              "requiredDeposit": {
                "type": "boolean",
                "description": "If true the required deposit language should be provided in the Truth-in-Lending Disclosure.",
                "nullable": true
              },
              "automaticPaymentInd": {
                "type": "boolean",
                "description": "If true there will be automatic transfer payments associated with the loan.",
                "nullable": true
              },
              "fundingDate": {
                "type": "string",
                "description": "The anticipated or actual date the loan is funded by the creditor.",
                "format": "date",
                "nullable": true
              },
              "callReportCode": {
                "type": "string",
                "description": "The Call Report Code Description.",
                "nullable": true
              },
              "classCode": {
                "type": "string",
                "description": "The Class Code Description.",
                "nullable": true
              },
              "loanGradeCode": {
                "type": "string",
                "description": "The Loan Grade Code Description.",
                "nullable": true
              },
              "productCode": {
                "type": "string",
                "description": "The product code for the loan.",
                "nullable": true
              },
              "purposeCode": {
                "type": "string",
                "description": "The code for the purpose of the loan.",
                "nullable": true
              },
              "riskCode": {
                "type": "string",
                "description": "The Risk Code Description.",
                "nullable": true
              },
              "autoTransfer": {
                "description": "Collection of automatic transfer authorizations for the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AutoTransfer"
                  }
                ]
              },
              "constructionLoanType": {
                "description": "Specifies the type of construction note desired or the transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionLoanType"
                  }
                ]
              },
              "constructionLoanAgreementType": {
                "description": "Specifies the type of Construction Loan Agreement for the transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionLoanAgreementType"
                  }
                ]
              },
              "constructionAgreement": {
                "description": "Specifies the type of Construction Agreement for the transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionAgreement"
                  }
                ]
              },
              "skippedPaymentInfo": {
                "description": "Skipped payment information for this loan",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SkippedPayment"
                  }
                ]
              },
              "userDefinedRatesPaymentsIndicator": {
                "type": "boolean",
                "description": "true, the user will replace standard payment and rate content in the type-specific commercial note (and any other documents that summarize payment terms of the note) with a user-defined rate schedule table. Some payment table details data may overlap with other standard payments data elements collected elsewhere for other standard content purposes such as defining the loan generally or distinguishing phases of the loan (distinguishing draw vs repayment periods, etc.). (Term Notes may generate the custom payments schedule in either of two ways: either using this schema path (preferred) or using the longstanding commercial period payment type '99,' the latter of which supports either a single string description or the payment schedule table, as applicable.)",
                "nullable": true
              },
              "userDefinedPrincipalAndInterestPaymentRecalculationTermsDescription": {
                "type": "string",
                "description": "Describes the user-defined, post-conversion payment calculation terms to be included in the Note in place of standard payment calculation provisions that might otherwise apply. For example, standard level principal and interest payment calculation terms describe payments as being calculated based on changes to the interest rate, outstanding principal balance, and remaining number of payments (or any specified amortization period), etc",
                "nullable": true
              },
              "agriculturalPurpose": {
                "type": "boolean",
                "description": "The loan purpose is agricultural",
                "nullable": true
              },
              "customPayments": {
                "type": "array",
                "description": "Custom payment terms for the loan",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CustomPayment"
                }
              },
              "customRates": {
                "type": "array",
                "description": "Custom rate terms for the loan",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CustomRate"
                }
              },
              "borrowingBaseBorrowers": {
                "type": "array",
                "description": "BorrowingBaseBorrower",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BorrowingBaseBorrower"
                }
              },
              "insurance": {
                "type": "array",
                "description": "The GAPinsurance information.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GapInsurance"
                }
              },
              "coreUploadStatus": {
                "type": "string",
                "description": "The status of the Loan upload to the Core.",
                "nullable": true
              },
              "coreUploadedBy": {
                "type": "string",
                "description": "The name of the User that uploaded the Loan to the Core.",
                "nullable": true
              },
              "coreUploadedDate": {
                "type": "string",
                "description": "The date the Loan was uploaded to the Core.",
                "format": "date-time",
                "nullable": true
              },
              "advanceClarifyingInformationDescription": {
                "type": "string",
                "description": "Additional clarifying information regarding the specified advance method(s), for example – a description of the information that must be included in an advance request sent through the mail; a description of information required to be included on a check to identify that it should be processed as an advance on the line of credit rather than a debit from the transaction account; a description of the information required to identify that a particular payment to a third person or account is a request for an advance rather than a debit from the transaction account; etc.",
                "nullable": true
              },
              "mobileApplicationName": {
                "type": "string",
                "description": "The name of the mobile application for the advance.",
                "nullable": true
              },
              "advanceMethodOtherDescription": {
                "type": "string",
                "description": "This describes the other method by which the personal line of credit may be accessed.",
                "nullable": true
              },
              "authorizationforPaymentAdvancetoThirdParty": {
                "type": "boolean",
                "description": "Personal line of credit can be accessed by authorization to make a payment/advance to a third party or other account.",
                "nullable": true
              },
              "withdrawalofPayments": {
                "type": "boolean",
                "description": "Automatic withdrawal associated with the note.",
                "nullable": true
              },
              "automaticWithdrawalOptOut": {
                "type": "boolean",
                "description": "Borrower wants to opt out of the provision to make an advance when the Automatic Withdrawal Account does not have enough money to make the Minimum Payment.",
                "nullable": true
              },
              "effectiveRateChangeDescription": {
                "type": "string",
                "description": "A description of the time when the change in the interest rate on an open-end line of credit becomes effective. E.g. 'on the first of the month' 'on the first day of the Billing Cycle' 'on the same day as the Index change'.",
                "nullable": true
              },
              "initialAdvanceDate": {
                "type": "string",
                "description": "The date of the first (initial) advance.",
                "format": "date",
                "nullable": true
              },
              "initialAdvanceRequired": {
                "type": "boolean",
                "description": "Initial advance is required.",
                "nullable": true
              },
              "initialAdvanceAmount": {
                "type": "number",
                "description": "Amount of initial advance when its required.",
                "format": "decimal",
                "nullable": true
              },
              "safeHarborType": {
                "description": "Determines whether and how a lender wants the safe harbor language under TILA and Regulation Z to print with penalty fees on personal lines of credit that are accessed by credit cards.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SafeHarborType"
                  }
                ]
              },
              "remainingBalancethatRequiresFullPayment": {
                "type": "number",
                "description": "The dollar amount at which the remaining balance must be paid in full.",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceAmount": {
                "type": "number",
                "description": "The minimum dollar amount that can be advanced at any time.",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceIncrement": {
                "type": "number",
                "description": "The dollar amount of the smallest increment of the minimum advance amount that can be advanced to cover a request.",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceMethodType": {
                "description": "This describes the type of minimum advance method or how the funds will be advanced.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MinimumAdvanceMethodType"
                  }
                ]
              },
              "advanceMethodTypeOtherDescription": {
                "type": "string",
                "description": "A description of any minimum advance restrictions other than those previously given/listed.",
                "nullable": true
              },
              "minimumLineBalance": {
                "type": "number",
                "description": "This item identifies any minimum account balance amount that the consumer must maintain under the plan.",
                "format": "decimal",
                "nullable": true
              },
              "maxAdvanceAmountTerm": {
                "type": "integer",
                "description": "The term of the period during which the maximum advances amount limitation applies.",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceAmountUnit": {
                "description": "The unit of measurement for the period during which the maximum advances amount limitation applies.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimeUnit"
                  }
                ]
              },
              "maxAdvanceNumber": {
                "type": "integer",
                "description": "The maximum number of advances that may be requested for the time period provided.",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceTerm": {
                "type": "integer",
                "description": "The number of months etc. in the period to which the number-of-advances-per-period limitations applies",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceTermUnit": {
                "description": "The unit of measurement for the period to which the maximum number of advances limitations applies.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimeUnit"
                  }
                ]
              },
              "brandofCard": {
                "description": "The type of card to be used to make an advance on a consumer open end loan. This item should always publish with Payment_1 and not Payment_2.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BrandOfCard"
                  }
                ]
              },
              "cardName": {
                "type": "string",
                "description": "The name of the card that can be used to obtain an advance.",
                "nullable": true
              },
              "brandofCardOtherDescription": {
                "type": "string",
                "description": "The other name of card used",
                "nullable": true
              },
              "minimumDaysAfterBillingCycleEnds": {
                "type": "string",
                "description": "A description of the minimum number of days after the close of the billing cycle before the payment is due.",
                "nullable": true
              },
              "maxDecreasePerPeriod": {
                "type": "number",
                "description": "The limit on how much the rate can decrease over the selected period.",
                "format": "decimal",
                "nullable": true
              },
              "maxIncreasePerPeriod": {
                "type": "number",
                "description": "The limit on how much the rate can increase over the selected period.",
                "format": "decimal",
                "nullable": true
              },
              "periodicRateCapType": {
                "description": "Describes whether/how periodic caps are applied.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PeriodicRateCapType"
                  }
                ]
              },
              "variableRateIndexfortheLoanisNotintheCreditorsControlandisPubliclyAvailable": {
                "type": "boolean",
                "description": "The (other) variable rate index for the loan is not in the creditor's control and is publicly available. 12 CFR 226.55(b)(2)(i)",
                "nullable": true
              },
              "specialCheckName": {
                "type": "string",
                "description": "The type or name of the special check used to access the line of credit.",
                "nullable": true
              },
              "txFinanceChargeType": {
                "description": "The type of Texas finance charge.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TXFinanceChargeType"
                  }
                ]
              },
              "addendumsToAgreement": {
                "type": "string",
                "description": "The name of the addendum to the promissory note that will be provided by the user.",
                "nullable": true
              },
              "creditInsuranceOffered": {
                "type": "boolean",
                "description": "Credit insurance has been offered to the borrower.",
                "nullable": true
              },
              "paymentAllocation": {
                "type": "string",
                "description": "The user-provided description of how payments will be applied to the balance owed.",
                "nullable": true
              },
              "openEndAgreementTypeOptions": {
                "description": "Describes the type or kind of open end agreement.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OpenEndAgreementTypeOptions"
                  }
                ]
              },
              "maxAdvanceAmountLimit": {
                "type": "number",
                "description": "This item identifies any maximum dollar amount limit on credit extensions for the time period selected.",
                "format": "decimal",
                "nullable": true
              },
              "maximumAmountofAdvancesAllowed": {
                "type": "boolean",
                "description": "Maximum amount of Advances Allowed",
                "nullable": true
              },
              "consolidatedPaymentSchedule": {
                "type": "array",
                "description": "Consolidated Payment Schedule. Loan will have consolidated payment schedule for Consumer loans.",
                "items": {
                  "$ref": "#/components/schemas/ConsolidatedPaymentSchedule"
                }
              },
              "maximumNumberofAdvancesAllowed": {
                "type": "boolean",
                "description": "Maximum Number of Advances Allowed",
                "nullable": true
              },
              "customPaymentAllocation": {
                "type": "boolean",
                "description": "Custom Payment Allocation",
                "nullable": true
              },
              "delayedPaymentWithInterestOnlyPeriodInd": {
                "type": "boolean",
                "description": "true when there is an interest-only period that will occur prior to regular payments resuming (after the delay).",
                "nullable": true
              },
              "interestOnlyTerm": {
                "type": "integer",
                "description": "Interest-only term in months",
                "format": "int32",
                "nullable": true
              },
              "lastInterestOnlyPaymentDate": {
                "type": "string",
                "description": "The date of the last interest-only payment.",
                "format": "date",
                "nullable": true
              },
              "firstPrincipalPaymentDate": {
                "type": "string",
                "description": "The date that the first principal payment.",
                "format": "date",
                "nullable": true
              },
              "militaryLendingActAppliesInd": {
                "type": "boolean",
                "description": "If true, then the Military Lending Act applies to this transaction.",
                "nullable": true
              },
              "maprDisclosureProvidedOrally": {
                "type": "array",
                "description": "List of Parties that the MAPR Disclosure Details have been provided Orally",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "creditInsuranceSelected": {
                "type": "boolean",
                "description": "If true the consumer accepted the credit insurance coverage on the terms offered by the creditor.",
                "nullable": true
              },
              "creditInsuranceRequired": {
                "type": "boolean",
                "description": "If true the credit insurance is required.",
                "nullable": true
              },
              "transactionAccountNumber": {
                "type": "string",
                "description": "The transaction account number which will receive funds advanced from the line of credit if the transaction account is drawn below a certain amount (triggering balance).",
                "nullable": true
              },
              "planName": {
                "type": "string",
                "description": "The plan name for the Overdraft Line of Credit or Personal Line of Credit.",
                "nullable": true
              },
              "callOptionDate": {
                "type": "string",
                "description": "Overdraft Protection or Personal Credit Line plan has a call option, enter the date(s).",
                "format": "date",
                "nullable": true
              },
              "callOption": {
                "type": "boolean",
                "description": "Overdraft Protection or Personal Credit Line plan has a call option, enter the date(s) when you can call the outstanding balance due.",
                "nullable": true
              },
              "triggeringBalanceAmount": {
                "type": "number",
                "description": "The transaction account balance at which the Overdraft Protection plan is accessed.",
                "format": "decimal",
                "nullable": true
              },
              "financeChargeComputed": {
                "description": "This describes how the finance charge will be computed.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinanceChargeComputed"
                  }
                ]
              },
              "methodOfRounding": {
                "description": "This item identifies how the payment rounding will be done for consumer open end loans.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MethodOfRounding"
                  }
                ]
              },
              "roundingValues": {
                "description": "The precision to which the payment will be rounded to for open end loans.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RoundingValues"
                  }
                ]
              },
              "insuredPartyName": {
                "type": "string",
                "description": "The name of the insured party.",
                "nullable": true
              },
              "initialPeriodicRate": {
                "type": "number",
                "description": "The calculated initial periodic rate for consumer open end loans. This is the rate divided by the days in the period (same calculation as the APR).",
                "format": "decimal",
                "nullable": true
              },
              "marketPeriodicRate": {
                "type": "number",
                "description": "The calculated market periodic rate for consumer open end loans. This is the APR calculation (rate divided by the days in the period).",
                "format": "decimal",
                "nullable": true
              },
              "initialAPR": {
                "type": "number",
                "description": "The calculated initial Annual Percentage Rate (APR) for the consumer open-end loan.",
                "format": "decimal",
                "nullable": true
              },
              "marketAPR": {
                "type": "number",
                "description": "The calculated market Annual Percentage Rate (APR) for the consumer open-end loan.",
                "format": "decimal",
                "nullable": true
              },
              "repayMaxMin": {
                "description": "Describes whether the repayment alternative with the greatest payment amount or the smallest payment amount will be charged for the payment period.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepayMaxMin"
                  }
                ]
              },
              "amountInterestRangeBegins": {
                "type": "number",
                "description": "The dollar amount at which the interest range begins.",
                "format": "decimal",
                "nullable": true
              },
              "requiredMinimumPayment": {
                "type": "number",
                "description": "The minimum payment required for a balance that falls within this range.",
                "format": "decimal",
                "nullable": true
              },
              "amountInterestRangeEnds": {
                "type": "number",
                "description": "The dollar amount at which the interest range ends.",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentType": {
                "type": "array",
                "description": "Specifies the type of repayment method applicable for the draw and/or repay period.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DrawRepaymentType"
                }
              },
              "repayRepaymentType": {
                "type": "array",
                "description": "Specifies the type of repayment method applicable for the draw and/or repay period.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RepayRepaymentType"
                }
              },
              "repaymentMethodValue": {
                "type": "string",
                "description": "This is the dollar amount or percentage required for the minimum payment for a consumer open end.",
                "nullable": true
              },
              "lengthOfRepaymentPeriod": {
                "type": "string",
                "description": "The length of the repayment period or draw period for open end loans.",
                "nullable": true
              },
              "repaymentUnitType": {
                "description": "The unit for the term of the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepaymentUnitType"
                  }
                ]
              },
              "repaymentDetail": {
                "description": "When more than one repay method is selected.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepaymentDetail"
                  }
                ]
              },
              "lifetimeCeiling": {
                "description": "The appropriate option to describe how the ceiling rate will be applied. A ceiling is the highest possible interest rate that a consumer may be charged over the life of the transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifetimeCeilingType"
                  }
                ]
              },
              "lifetimeFloor": {
                "description": "The appropriate option to describe whether/how a floor rate is applied.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifetimeFloorType"
                  }
                ]
              },
              "initialRateTermNumber": {
                "type": "integer",
                "description": "The number of units (e.g. months years) for the initial rate hold term.",
                "format": "int32",
                "nullable": true
              },
              "initialRateTerm": {
                "description": "The units for the initial rate hold term.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitialRateTermType"
                  }
                ]
              },
              "ceilingMargin": {
                "type": "number",
                "description": "The ceiling margin percentage for a variable rate loan.",
                "format": "decimal",
                "nullable": true
              },
              "floorMargin": {
                "type": "number",
                "description": "The percentage to be subtracted from an initial or market rate to reach the lifetime decrease.",
                "format": "decimal",
                "nullable": true
              },
              "collateralCosts": {
                "type": "array",
                "description": "List of Collateral Costs for each loan.",
                "items": {
                  "$ref": "#/components/schemas/CollateralCost"
                }
              },
              "credits": {
                "type": "array",
                "description": "List of Credits for each loan.",
                "items": {
                  "$ref": "#/components/schemas/Credit"
                }
              },
              "cashDownPaymentAmount": {
                "type": "number",
                "description": "Cash Down Payment Amount.",
                "format": "decimal",
                "nullable": true
              },
              "creditReportItems": {
                "type": "array",
                "description": "Credit report items associated with this loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditReportItem"
                }
              },
              "liabilities": {
                "type": "array",
                "description": "Liabilities relevant to the loan.",
                "items": {
                  "$ref": "#/components/schemas/Liability"
                }
              },
              "creditReportItem": {
                "type": "array",
                "description": "Credit report items associated with the loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditReportItem"
                }
              },
              "billingFrequency": {
                "description": "This item identifies how frequently billing will occur for the consumer open-end loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingFrequency"
                  }
                ]
              },
              "drawRepaymentMethod1Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod2Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod3Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod4Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod5Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod6Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod7Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod8Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod9Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod10Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod11Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod12Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod13Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod14Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod15Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod16Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod17Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod18Value": {
                "type": "number",
                "description": "DrawRepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod1Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod2Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod3Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod4Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod5Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod6Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod7Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod8Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod9Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod10Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod11Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod12Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod13Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod14Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod15Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod16Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod17Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod18Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod19Value": {
                "type": "number",
                "description": "RepaymentMethod selection",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentRangeofBalances": {
                "type": "array",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DrawRepaymentRangeofBalances"
                }
              },
              "repayRepaymentRangeofBalances": {
                "type": "array",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RepayRepaymentRangeofBalances"
                }
              },
              "repayRepaymentDetail": {
                "description": "When more than one repay method is selected",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepayRepaymentDetail"
                  }
                ]
              },
              "drawRepaymentDetail": {
                "description": "When more than one draw repay method is selected",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DrawRepaymentDetail"
                  }
                ]
              },
              "creditInsurance": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditInsurance"
                }
              },
              "importLineOfBusiness": {
                "description": "Line of Business of the imported file.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "importFileType": {
                "description": "File type of the imported file.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ImportFileType"
                  }
                ]
              },
              "exportLineOfBusiness": {
                "description": "Line of Business of the exported file.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "exportFileType": {
                "description": "File type of the exported file.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ExportFileType"
                  }
                ]
              },
              "importTemplateLineOfBusiness": {
                "description": "Line of Business of the imported template.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "importTemplateType": {
                "description": "File type of the imported template.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ImportTemplateType"
                  }
                ]
              },
              "exportTemplateLineOfBusiness": {
                "description": "Line of Business of the exported template.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "exportTemplateType": {
                "description": "File type of the exported template.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ExportTemplateType"
                  }
                ]
              },
              "modification": {
                "description": "Modification details associated with this loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              },
              "totalIncomeAmount": {
                "type": "number",
                "description": "The total monthly income amount of all borrowing parties.",
                "format": "decimal",
                "nullable": true
              },
              "excludeIncomeFromHMDAInd": {
                "type": "boolean",
                "description": "Exclude Income indicates that the applicant's income is not considered or reported for a specific loan application, typically due to exemptions or situations where income is not a factor in the credit decision.",
                "nullable": true
              },
              "universalLoanId": {
                "type": "string",
                "description": "Universal Loan Identifier (ULI) is a unique alphanumeric code assigned to each loan or application by the financial institution. It ensures that every loan or application can be distinctly identified across institutions and reporting years for tracking and compliance purposes.",
                "nullable": true
              },
              "dtiPercent": {
                "type": "number",
                "description": "Debt-to-Income (DTI) refers to the ratio comparing an applicant's total monthly debt payments to their gross monthly income, used by lenders to assess the applicant's ability to repay the loan and reported as part of HMDA compliance.",
                "format": "decimal",
                "nullable": true
              },
              "combinedLTVPercent": {
                "type": "number",
                "description": "Combined Loan-to-Value (CLTV) refers to the ratio of the total amount of all loans secured by the property (including the loan applied for and any other outstanding loans) to the property's appraised value or purchase price, expressed as a percentage",
                "format": "decimal",
                "nullable": true
              },
              "excludeDTIFromHMDAInd": {
                "type": "boolean",
                "description": "Exclude DTI indicates that the applicant's Debt-to-Income (DTI) ratio is not considered or reported for a particular loan application, typically due to exemptions or situations where DTI is not used in the credit decision process.",
                "nullable": true
              },
              "excludeCLTVFromHMDAInd": {
                "type": "boolean",
                "description": "Exclude CLTV indicates that the Combined Loan-to-Value (CLTV) ratio is not considered or reported for a specific loan application, typically due to exemptions or situations where CLTV is not relevant to the credit decision process.",
                "nullable": true
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "description": "HMDA Applies indicates whether a loan or application is subject to Home Mortgage Disclosure Act reporting requirements, based on factors such as loan type, purpose, and lender activity.",
                "nullable": true
              },
              "partiallyExemptInd": {
                "type": "boolean",
                "description": "Partial Exemption Applies Per S.2155 refers to a provision under Section 2155 of the Economic Growth, Regulatory Relief, and Consumer Protection Act, which allows certain smaller-volume financial institutions to report a reduced set of HMDA data fields if they meet specific criteria, such as having originated fewer loans.",
                "nullable": true
              },
              "hmdaLoanPurposeType": {
                "description": "Loan Purpose refers to the reason for the loan application, categorized as home purchase, home improvement, refinancing, or other specified purposes, to ensure accurate reporting and analysis of mortgage lending activity.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HmdaLoanPurposeType"
                  }
                ]
              },
              "preapprovalInd": {
                "type": "boolean",
                "description": "Preapproval Requested indicates whether the applicant formally requested a preapproval for a home purchase loan under a preapproval program offered by the financial institution, as part of the loan application process.",
                "nullable": true
              },
              "submissionOfApplication": {
                "description": "Submission of Application refers to whether the application was Submitted Directly to Your Institution, Not Submitted Directly to Your Institution (via a third party), or Not Applicable.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubmissionOfApplicationType"
                  }
                ]
              },
              "hmdaReportableCollateralItems": {
                "type": "array",
                "description": "Select the Collateral to Report refers to identifying the property or asset securing the loan, which is required for accurate reporting and compliance.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralItem"
                }
              },
              "actionTaken": {
                "description": "Action Taken refers to the outcome of a loan application, categorized as actions such as loan originated, application approved but not accepted, application denied, application withdrawn, file closed for incompleteness, or purchased loan, to document the lending decision.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ActionTakenType"
                  }
                ]
              },
              "purchaserType": {
                "description": "Type of Purchaser refers to the entity or institution that purchases a loan after it is originated.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PurchaserType"
                  }
                ]
              },
              "initiallyPayableToYourInstitution": {
                "description": "Loan Initially Payable to Lender indicates whether the loan, at the time of origination, is legally obligated to be repaid directly to the lender that originated it, as reported under the Home Mortgage Disclosure Act (HMDA).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitiallyPayableToYourInstitutionType"
                  }
                ]
              },
              "denialReasonType": {
                "type": "array",
                "description": "The denial reasons for the loan application.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DenialReasonType"
                }
              },
              "denialReasonTypeOtherDesc": {
                "type": "string",
                "description": "Other Denial Description refers to the explanation provided by a financial institution when the reason for denying a loan application does not fall under the predefined categories, as required under the Home Mortgage Disclosure Act (HMDA).",
                "nullable": true
              },
              "underwritingMethod": {
                "description": "Underwriting Method refers to the process or system used by a financial institution to evaluate a borrower's creditworthiness and eligibility for a loan, such as automated underwriting, or manual underwriting, as reported under the Home Mortgage Disclosure Act (HMDA).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UnderwritingMethodType"
                  }
                ]
              },
              "automatedUnderwritingSystem": {
                "type": "array",
                "description": "The automated underwriting system information for the loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AutomatedUnderwritingSystem"
                }
              },
              "hmdaWizFileName": {
                "type": "string",
                "description": "HMDA Wiz File Name refers to the specific name assigned to a file generated or used within the HMDA Wiz software, a tool designed to assist financial institutions in preparing, validating, and submitting HMDA  data.",
                "nullable": true
              },
              "hmdaWizFileRowId": {
                "type": "string",
                "description": "ID will be completed based on the API response. The field is read-only.",
                "nullable": true
              },
              "hmdaRecordReviewInd": {
                "type": "boolean",
                "description": "HMDA Record Reviewed By refers to the individual or entity responsible for reviewing a specific HMDA record to ensure its accuracy and compliance before submission.",
                "nullable": true
              },
              "hmdaRecordReviewedBy": {
                "type": "string",
                "description": "HMDA Record Reviewed By refers to the individual or entity responsible for reviewing a specific HMDA record to ensure its accuracy and compliance before submission.",
                "nullable": true
              },
              "hmdaRecordReviewedByDate": {
                "type": "string",
                "description": "HMDA Record Reviewed By date refers to the date when an individual or entity responsible for reviewing a specific HMDA record reviews to ensure its accuracy and compliance before submission.",
                "format": "date",
                "nullable": true
              },
              "hmdaLarFile": {
                "type": "array",
                "description": "The HMDA LAR file information for the loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/HmdaLarFile"
                }
              },
              "federalAgencyType": {
                "description": "Federal Agency Type refers to the specific federal agency responsible for regulating or overseeing the financial institution that originated the loan, as reported under the Home Mortgage Disclosure Act (HMDA).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FederalAgencyType"
                  }
                ]
              },
              "legalEntityId": {
                "type": "string",
                "description": "LEI (Legal Entity Identifier) refers to a unique 20-character alphanumeric code assigned to a financial institution to identify it in global financial transactions and reporting, including its use in Home Mortgage Disclosure Act (HMDA) data submissions.",
                "nullable": true
              },
              "sbaLoanInd": {
                "type": "boolean",
                "description": "If true this loan is being guaranteed by the Small Business Administration (SBA).",
                "nullable": true
              },
              "feeGroup": {
                "type": "string",
                "description": "Group of the fees",
                "nullable": true
              },
              "duplicatePartyIDs": {
                "type": "array",
                "description": "Array to store all the Party IDs where duplicates were found until the user makes a decision",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "interestRateChangeInd": {
                "type": "boolean",
                "description": "Used for HMDA. Shows if the interest rate will change after the construction period is over.",
                "nullable": true
              }
            }
          }
        ]
      },
      "AdvanceMethods": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CreditCard",
          "DebitCard",
          "InPerson",
          "Internet",
          "Mail",
          "MobileApplication",
          "Phone",
          "SpecialCheck",
          "StandardCheck",
          "ShareDraft",
          "Voucher",
          "Other"
        ],
        "x-enum-descriptions": [
          "Credit Card",
          "Debit Card",
          "In Person",
          "Internet",
          "Mail",
          "Mobile Application",
          "Phone",
          "Special Check",
          "Standard Check",
          "Share Draft",
          "Voucher",
          "Other"
        ],
        "enum": [
          "CreditCard",
          "DebitCard",
          "InPerson",
          "Internet",
          "Mail",
          "MobileApplication",
          "Phone",
          "SpecialCheck",
          "StandardCheck",
          "ShareDraft",
          "Voucher",
          "Other"
        ]
      },
      "DiscountRateChangeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AmountDueatMaturity",
          "PaymentAmount",
          "PaymentAmountandAmountDueatMaturity",
          "TermoftheLoan"
        ],
        "x-enum-descriptions": [
          "Amount Due at Maturity",
          "Payment Amount",
          "Payment Amount and Amount Due at Maturity",
          "Term of the Loan"
        ],
        "enum": [
          "AmountDueatMaturity",
          "PaymentAmount",
          "PaymentAmountandAmountDueatMaturity",
          "TermoftheLoan"
        ]
      },
      "ExampleRateIncrease": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "scheduledPaymentAmount": {
                "type": "number",
                "description": "The scheduled amount necessary for the rate increase example when the change affects the scheduled payment amount.",
                "format": "decimal",
                "nullable": true
              },
              "paymentAndFinalPaymentAmount": {
                "type": "number",
                "description": "The payment amount for the rate increase example when the change affects the payment amount and the amount due at maturity.",
                "format": "decimal",
                "nullable": true
              },
              "finalPaymentAmount": {
                "type": "number",
                "description": "The final payment amount necessary for the rate increase example when the change affects the final payment amount.",
                "format": "decimal",
                "nullable": true
              },
              "maxInterestRate": {
                "type": "number",
                "description": "The maximum interest rate on a Fixed Rate loan with a Preferred Rate or the maximum rate on a Variable Rate loan.",
                "format": "decimal",
                "nullable": true
              },
              "minInterestOnlyAmount": {
                "type": "number",
                "description": "The minimum interest payment amount in a rate increase example in the truth-in-lending disclosure.",
                "format": "decimal",
                "nullable": true
              },
              "maxInterestOnlyAmount": {
                "type": "number",
                "description": "The maximum interest payment amount in a rate increase example in the truth-in-lending disclosure.",
                "format": "decimal",
                "nullable": true
              },
              "increasedRate": {
                "type": "number",
                "description": "Increased interest rate used in the variable rate example.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "BaseDomainObject": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "parent": {
            "description": "Reference to the parent of this instance.  You can use this to navigate up the domain model to a parent instance that is in it's own container.  You MUST cast this to the type if you use this.  example: ((BorrowerParty)instance.Parent).Name",
            "nullable": true
          },
          "ghost": {
            "type": "array",
            "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/DomainObjectRef"
            }
          }
        }
      },
      "DomainObjectRef": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ref": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BaseDomainObject"
              }
            ]
          },
          "metadataKey": {
            "type": "string"
          }
        }
      },
      "BaseLoanTermsLoanActType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "BankingInstitutionsInstallmentLoanAct",
          "ClosedEndCreditProvisions",
          "ConsumerCreditandProtectionAct",
          "ConsumerCreditCode",
          "ConsumerLoanAct",
          "ConsumerLoanLaw",
          "ConsumerProtectionCode",
          "GeneralInterestLaw",
          "GeneralInterestLawHomeEquity",
          "GeorgiaFairLendingAct",
          "GILA",
          "LouisianaConsumerCreditLaw",
          "MotorVehicleSalesFinanceAct",
          "ResidentialMortgageLendingAct",
          "RevolvingCreditAccountsOpenEndHomeEquity",
          "SecondMortgageLoanAct",
          "SecondaryMortgageLoansHomeEquity",
          "TennesseeHomeLoanProtectionAct",
          "UniformConsumerCreditCode",
          "WisconsinConsumerAct"
        ],
        "x-enum-descriptions": [
          "",
          "Banking Institutions Installment Loan Act",
          "Closed End Credit Provisions",
          "Consumer Credit and Protection Act",
          "Consumer Credit Code",
          "Consumer Loan Act",
          "Consumer Loan Law",
          "Consumer Protection Code",
          "General Interest Law",
          "General Interest Law - Home Equity",
          "Georgia Fair Lending Act",
          "GILA",
          "Louisiana Consumer Credit Law",
          "Motor Vehicle Sales Finance Act",
          "Residential Mortgage Lending Act",
          "Revolving Credit Accounts - Open End Home Equity",
          "Second Mortgage Loan Act",
          "Secondary Mortgage Loans - Home Equity",
          "Tennessee Home Loan Protection Act",
          "Uniform Consumer Credit Code",
          "Wisconsin Consumer Act"
        ],
        "enum": [
          "Unknown",
          "BankingInstitutionsInstallmentLoanAct",
          "ClosedEndCreditProvisions",
          "ConsumerCreditandProtectionAct",
          "ConsumerCreditCode",
          "ConsumerLoanAct",
          "ConsumerLoanLaw",
          "ConsumerProtectionCode",
          "GeneralInterestLaw",
          "GeneralInterestLawHomeEquity",
          "GeorgiaFairLendingAct",
          "GILA",
          "LouisianaConsumerCreditLaw",
          "MotorVehicleSalesFinanceAct",
          "ResidentialMortgageLendingAct",
          "RevolvingCreditAccountsOpenEndHomeEquity",
          "SecondMortgageLoanAct",
          "SecondaryMortgageLoansHomeEquity",
          "TennesseeHomeLoanProtectionAct",
          "UniformConsumerCreditCode",
          "WisconsinConsumerAct"
        ]
      },
      "Application": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "applicants": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "applicant1": {
                "type": "string",
                "description": "The name of the first Borrower or Cosigner that is assigned to an application.",
                "nullable": true
              },
              "applicant2": {
                "type": "string",
                "description": "The name of the second Borrower that is assigned to an application.",
                "nullable": true
              },
              "creditType": {
                "description": "The type of credit the Applicant is applying for, whether one of the Individual credit designations, or Joint Credit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditType"
                  }
                ]
              },
              "informationProvidedThrough": {
                "description": "The method by which the party's information is taken for the application.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InformationProvidedThrough"
                  }
                ]
              }
            }
          }
        ]
      },
      "PartySelectionRef": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyNoId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "IndexedDomainObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "description": "Id",
                "nullable": true
              }
            }
          }
        ]
      },
      "CreditType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "IndividualCreditRelyingSolelyonOwnIncomeorAssets",
          "IndividualCreditRelyingonOwnIncomeorAssetsasWellasIncomeorAssetsfromOtherSources",
          "JointCredit"
        ],
        "x-enum-descriptions": [
          "Individual Credit Relying Solely on Own Income or Assets",
          "Individual Credit - Relying on Own Income or Assets as Well as Income or Assets from Other Sources",
          "Joint Credit"
        ],
        "enum": [
          "IndividualCreditRelyingSolelyonOwnIncomeorAssets",
          "IndividualCreditRelyingonOwnIncomeorAssetsasWellasIncomeorAssetsfromOtherSources",
          "JointCredit"
        ]
      },
      "InformationProvidedThrough": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Email",
          "FaceToFace",
          "Fax",
          "Internet",
          "Mail",
          "Telephone"
        ],
        "x-enum-descriptions": [
          null,
          "Email",
          "Face-to-Face",
          "Fax",
          "Internet",
          "Mail",
          "Telephone"
        ],
        "enum": [
          "Unknown",
          "Email",
          "FaceToFace",
          "Fax",
          "Internet",
          "Mail",
          "Telephone"
        ]
      },
      "LoanType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "TermLoan",
          "LineofCreditRevolvingTerm",
          "LineofCreditRevolvingDemand",
          "LineofCreditNonRevolving",
          "DemandNonRevolving",
          "LetterofCredit",
          "Construction",
          "SinglePay",
          "SBA",
          "ClosedendSingleAdvance",
          "PersonalLineofCredit",
          "OverdraftLineofCredit"
        ],
        "x-enum-descriptions": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          "Closed-end  – Single Advance",
          "Personal Line of Credit",
          "Overdraft Line of Credit"
        ],
        "enum": [
          "TermLoan",
          "LineofCreditRevolvingTerm",
          "LineofCreditRevolvingDemand",
          "LineofCreditNonRevolving",
          "DemandNonRevolving",
          "LetterofCredit",
          "Construction",
          "SinglePay",
          "SBA",
          "ClosedendSingleAdvance",
          "PersonalLineofCredit",
          "OverdraftLineofCredit"
        ]
      },
      "PersonalFinancialStatementDueDateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AfterCalendarYear",
          "SpecificDateInYear",
          "AfterFiscalYear",
          "AfterRequiredTaxFilingDate",
          "AfterActualTaxFilingDate"
        ],
        "enum": [
          "Unknown",
          "AfterCalendarYear",
          "SpecificDateInYear",
          "AfterFiscalYear",
          "AfterRequiredTaxFilingDate",
          "AfterActualTaxFilingDate"
        ]
      },
      "Phase": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "rateInfo": {
                "description": "Rate Information for the phase",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateInfo"
                  }
                ]
              },
              "payment": {
                "description": "Payment Information for the phase",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Payment"
                  }
                ]
              },
              "revolving": {
                "description": "Revolving",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Revolving"
                  }
                ]
              },
              "conversionDate": {
                "type": "string",
                "description": "Conversion date for the phase",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "RateInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "amortType": {
                "description": "The type of the amort.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AmortizationType"
                  }
                ]
              },
              "firstChangeDate": {
                "type": "string",
                "description": "The first date on which a rate change may/will occur under a variable rate loan.",
                "format": "date",
                "nullable": true
              },
              "rateChangeFrequencyUnitType": {
                "description": "Specifies the change frequency for a variable rate. Some options may not be available in all transactions. For example, Payment is used by consumer loan content only. SOFR Tenor is an option for commercial loans with SOFR-based rates used to indicate that the rate change frequency will correspond to the number days of the applicable SOFR tenor – i.e., 30 days, 90, days, etc. -- rather than traditional cycles like \"monthly.\" (NOTE: Standard Commercial SOFR content does not intend to support multiple SOFR rates in the same loan with different frequency types – e.g., if \"SOFR Tenor\" is used for a SOFR rate in a teaser or draw period rate, then any subsequent rate based on SOFR should also use SOFR Tenor.)",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateChangeFrequency"
                  }
                ]
              },
              "index": {
                "type": "number",
                "description": "The value of the given index used in determining the overall rate that will be applied to the loan.",
                "format": "decimal",
                "nullable": true
              },
              "indexLookBackInDays": {
                "type": "integer",
                "description": "The number of business days prior to a rate change date that the index value is determined for purposes of calculating the new rate on the loan. This value should be passed separately, as applicable, for any index-based rate on the loan. (For example, a separate value would be passed for the draw and repayment period rates, as applicable, on a line of credit loan.).",
                "format": "int32",
                "nullable": true
              },
              "initialRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal",
                "nullable": true
              },
              "indexType": {
                "description": "The name of the index used for determining the rate. This may be the index used to determine variable rate or the index used to determine the fixed rate to be applied.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CommercialIndexType"
                  }
                ]
              },
              "consumerIndexType": {
                "description": "The name of the consumer index used for determining the rate for consumer loans.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerIndexType"
                  }
                ]
              },
              "indexTypeOtherDesc": {
                "type": "string",
                "description": "State the description of the User Defined Index to be used with RateInfoItem/CommercialIndexType, RateInfoItem/RatesAbsInitRateCommercialIndexType, RateInfoItem/TeaserCommercialIndexType and/or Note/RateLockCommercialIndexType",
                "nullable": true
              },
              "indexTypeTitle": {
                "type": "string",
                "description": "State the title of the User Defined Index to be used with RateInfoItem/CommercialIndexType, RateInfoItem/RatesAbsInitRateCommercialIndexType, RateInfoItem/TeaserCommercialIndexType and/or Note/RateLockCommercialIndexType",
                "nullable": true
              },
              "margin": {
                "type": "number",
                "description": "The percentage to be applied to the index.",
                "format": "decimal",
                "nullable": true
              },
              "interestRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal",
                "nullable": true
              },
              "rounding": {
                "description": "The Rounding.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RoundingType"
                  }
                ]
              },
              "daysBetweenEndOfBillingCycleAndNotePaymentDatea": {
                "type": "integer",
                "description": "The number of days between the end of the billing cycle and the note payment date.",
                "format": "int32"
              },
              "interestAdjustmentDayType": {
                "description": "Specifies when the date on which the interest rate will change.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestAdjustmentDayType"
                  }
                ]
              },
              "indexCustom": {
                "type": "boolean",
                "description": "The value of the given index used in determining the overall rate that will be applied to the loan.",
                "nullable": true
              },
              "adjustmentPeriod": {
                "type": "integer",
                "description": "Specifies the Number of Years Between Changes when Rate Change Frequency is 'Annually'",
                "format": "int32",
                "nullable": true
              },
              "interestRateRoundingMethodType": {
                "description": "This item identifies how the interest rate will be rounded for all loans except consumer open-end loans.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingMethodType"
                  }
                ]
              },
              "interestRateRoundingPercentType": {
                "description": "The percent the rate will be rounded to.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingPercentType"
                  }
                ]
              },
              "interestRateType": {
                "description": "This item identifies if the rate is fixed, or variable.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "monthsToFirstInterestChangeDateNumber": {
                "type": "integer",
                "description": "The number of months (from the note date) until the First Interest Change Date.  This is an alternative to providing an actual First Interest Change Date.",
                "format": "int32",
                "nullable": true
              },
              "sofrIndexType": {
                "description": "The type of SOFR Index applicable to the variable rate. SOFR rate types include Daily Simple (the overnight secured SOFR rate, which changes daily), or averaged Term SOFR for various published tenors (e.g., 30-day, 90-day, 180-day).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SofrIndexType"
                  }
                ]
              },
              "sofrIndexTermDaysNumber": {
                "type": "integer",
                "description": "The number of days used to average the applicable \"other\" Term SOFR Index. For example, if the SOFR index administrator were to begin publishing a 60-day average Term SOFR index, this value would be 60.",
                "format": "int32",
                "nullable": true
              },
              "treasuryIndexType": {
                "description": "Specifies the type of period for the Treasury index.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TreasuryIndexType"
                  }
                ]
              },
              "treasuryIndexTypeOtherDescription": {
                "type": "string",
                "description": "A description of the user defined period for the Treasury index.",
                "nullable": true
              },
              "fhlbIndexType": {
                "description": "Specifies the type of period for the FHLB index.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FhlbIndexType"
                  }
                ]
              },
              "fhlbIndexTypeOtherDescription": {
                "type": "string",
                "description": "A description of the user defined period for the FHLB index.",
                "nullable": true
              },
              "fixedRateType": {
                "description": "Specifies how the fixed rate is determined for the second phase of the two phase loan",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateType"
                  }
                ]
              },
              "ratesPeriodicCap": {
                "type": "number",
                "description": "The maximum amount an interest rate may increase or decrease in any single adjustment period.",
                "format": "decimal",
                "nullable": true
              },
              "ratesPeriodicCapInd": {
                "type": "boolean",
                "description": "There is an interest rate periodic cap for the transaction.",
                "nullable": true
              },
              "rateChangeAffectsType": {
                "description": "Identifies what a variable rate change affects: the payment amount, the amount due at maturity, or both.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateChangeAffectsType"
                  }
                ]
              },
              "initialRateDefinitionType": {
                "description": "This item identifies whether the initial rate is equal to the market rate or is established by a discount or premium.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitialRateDefinitionType"
                  }
                ]
              },
              "interestMarketRate": {
                "type": "number",
                "description": "This is the market rate used in variable rate consumer loans. The market rate is the regular rate that does not include teasers or special interest rates. If there are no teasers or special interest rates, the initial rate and the market rate would be the same.",
                "format": "decimal",
                "nullable": true
              },
              "ratesCeiling": {
                "type": "number",
                "description": "The highest value that the lender may charge on a variable rate loan.",
                "format": "decimal",
                "nullable": true
              },
              "ratesCeilingInd": {
                "type": "boolean",
                "description": "If true, the rate ceiling is applied on a variable rate loan.",
                "nullable": true
              },
              "preferredRate": {
                "type": "number",
                "description": "The percentage of the discount or premium for a variable rate loan.",
                "format": "decimal",
                "nullable": true
              },
              "ratesFloor": {
                "type": "number",
                "description": "The lowest value that the lender may charge on a variable rate loan.",
                "format": "decimal",
                "nullable": true
              },
              "ratesFloorInd": {
                "type": "boolean",
                "description": "There is an interest rate floor for the transaction.",
                "nullable": true
              },
              "teaserRateIndicator": {
                "type": "boolean",
                "description": "true when there is an interest-only period that will occur prior to regular payments resuming (after the delay).",
                "nullable": true
              },
              "teaserRateTerm": {
                "type": "integer",
                "description": "Interest-only term in months",
                "format": "int32",
                "nullable": true
              },
              "teaserRateHoldDate": {
                "type": "string",
                "description": "The first date on which a rate change may/will occur under a variable rate loan.",
                "format": "date",
                "nullable": true
              },
              "teaserRateType": {
                "description": "This item identifies the rate is fixed, or variable.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "teaserInterestRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal",
                "nullable": true
              },
              "teaserIndexType": {
                "description": "The name of the index used for determining the rate. This may be the index used to determine variable rate or the index used to determine the fixed rate to be applied.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CommercialIndexType"
                  }
                ]
              },
              "teaserIndexTypeTitle": {
                "type": "string",
                "description": "State the title of the User Defined Index to be used with RateInfoItem/CommercialIndexType, RateInfoItem/RatesAbsInitRateCommercialIndexType, RateInfoItem/TeaserCommercialIndexType and/or Note/RateLockCommercialIndexType",
                "nullable": true
              },
              "teaserIndexTypeOtherDesc": {
                "type": "string",
                "description": "State the description of the User Defined Index to be used with RateInfoItem/CommercialIndexType, RateInfoItem/RatesAbsInitRateCommercialIndexType, RateInfoItem/TeaserCommercialIndexType and/or Note/RateLockCommercialIndexType",
                "nullable": true
              },
              "teaserFHLBIndexType": {
                "description": "Specifies the type of period for the FHLB index.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FhlbIndexType"
                  }
                ]
              },
              "teaserFHLBIndexTypeOtherDescription": {
                "type": "string",
                "description": "A description of the user defined period for the FHLB index.",
                "nullable": true
              },
              "teaserTreasuryIndexType": {
                "description": "Specifies the type of period for the Treasury index.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TreasuryIndexType"
                  }
                ]
              },
              "teaserTreasuryIndexTypeOtherDescription": {
                "type": "string",
                "description": "A description of the user defined period for the Treasury index.",
                "nullable": true
              },
              "teaserSOFRIndexType": {
                "description": "The type of SOFR Index applicable to the variable rate. SOFR rate types include Daily Simple (the overnight secured SOFR rate, which changes daily), or averaged Term SOFR for various published tenors (e.g., 30-day, 90-day, 180-day).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SofrIndexType"
                  }
                ]
              },
              "teaserSOFRIndexTermDaysNumber": {
                "type": "integer",
                "description": "The number of days used to average the applicable \"other\" Term SOFR Index. For example, if the SOFR index administrator were to begin publishing a 60-day average Term SOFR index, this value would be \"60.\"",
                "format": "int32",
                "nullable": true
              },
              "teaserIndex": {
                "type": "number",
                "description": "The value of the given index used in determining the overall rate that will be applied to the loan.",
                "format": "decimal",
                "nullable": true
              },
              "teaserIndexCustom": {
                "type": "boolean",
                "description": "The value of the given index used in determining the overall rate that will be applied to the loan.",
                "nullable": true
              },
              "teaserMargin": {
                "type": "number",
                "description": "The percentage to be applied to the index.",
                "format": "decimal",
                "nullable": true
              },
              "teaserRateChangeFrequency": {
                "description": "Specifies the change frequency for a variable rate. Some options may not be available in all transactions. For example, \"Payment\" is used by consumer loan content only.  \"SOFR Tenor\" is an option for commercial loans with SOFR-based rates used to indicate that the rate change frequency will correspond to the number days of the applicable SOFR tenor – i.e., 30 days, 90, days, etc. -- rather than traditional cycles like \"monthly.\" (NOTE: Standard Commercial SOFR content does not intend to support multiple SOFR rates in the same loan with different frequency types – e.g., \"SOFR Tenor\" is used for a SOFR rate in a teaser or draw period rate, then any subsequent rate based on SOFR should also use \"SOFR Tenor.\")",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateChangeFrequency"
                  }
                ]
              },
              "teaserAdjustmentPeriod": {
                "type": "integer",
                "description": "Specifies the Number of Years Between Changes when Rate Change Frequency is 'Annually'",
                "format": "int32",
                "nullable": true
              },
              "teaserInterestRateRoundingMethodType": {
                "description": "This item identifies how the interest rate will be rounded for all loans except consumer open-end loans.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingMethodType"
                  }
                ]
              },
              "teaserInterestRateRoundingPercentType": {
                "description": "The percent the rate will be rounded to.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingPercentType"
                  }
                ]
              },
              "teaserIndexLookBackInDays": {
                "type": "integer",
                "description": "The number of business days prior to a rate change date that the index value is determined for purposes of calculating the new rate on the loan. This value should be passed separately, as applicable, for any index-based rate on the loan. (For example, a separate value would be passed for the draw and repayment period rates, as applicable, on a line of credit loan.)",
                "format": "int32",
                "nullable": true
              },
              "fixedRateDeterminationType": {
                "description": "Specifies how the fixed rate is determined for the second phase of the two phase loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationType"
                  }
                ]
              },
              "initialInterestRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal",
                "nullable": true
              },
              "indexLongTypeOtherDesc": {
                "type": "string",
                "description": "The full description  of the 'other' index being used for a  variable rate loan.",
                "nullable": true
              },
              "initialRateCapsDecreasePercent": {
                "type": "number",
                "description": "Initial Cap Decrease",
                "format": "decimal",
                "nullable": true
              },
              "initialRateCapsIncreasePercent": {
                "type": "number",
                "description": "Initial Cap Increase",
                "format": "decimal",
                "nullable": true
              },
              "initialRateCapsApplicableInd": {
                "type": "boolean",
                "description": "Initial Rate Period has a Separate Rate Change Limitation",
                "nullable": true
              },
              "includeRateIndexInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "description": "Include Rate Index in Date and Parties Summary",
                "nullable": true
              },
              "ratesInitRateSubjFloorInd": {
                "type": "boolean",
                "description": "Initial Rate Subject to Floor",
                "nullable": true
              }
            }
          }
        ]
      },
      "AmortizationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Fixed",
          "Variable"
        ],
        "x-enum-descriptions": [
          "Fixed Rate",
          "Variable Rate"
        ],
        "enum": [
          "Fixed",
          "Variable"
        ]
      },
      "RateChangeFrequency": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Default",
          "Daily",
          "Monthly",
          "Quarterly",
          "Semiannually",
          "Annually",
          "Weekly",
          "EveryOtherWeek",
          "Semimonthly",
          "Payment"
        ],
        "enum": [
          "Default",
          "Daily",
          "Monthly",
          "Quarterly",
          "Semiannually",
          "Annually",
          "Weekly",
          "EveryOtherWeek",
          "Semimonthly",
          "Payment"
        ]
      },
      "CommercialIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Default",
          "BanksPrimeRate",
          "BanksBaseRate",
          "SOFR30DayAverage",
          "SOFR90DayAverage",
          "SOFR180DayAverage",
          "Treasury1Year",
          "Treasury3Year",
          "Treasury5Year",
          "Treasury10Year",
          "WallStreetJournalPrimeRate",
          "Other",
          "TreasuryIndex",
          "FHLBRate",
          "SOFR",
          "UserDefined"
        ],
        "enum": [
          "Default",
          "BanksPrimeRate",
          "BanksBaseRate",
          "SOFR30DayAverage",
          "SOFR90DayAverage",
          "SOFR180DayAverage",
          "Treasury1Year",
          "Treasury3Year",
          "Treasury5Year",
          "Treasury10Year",
          "WallStreetJournalPrimeRate",
          "Other",
          "TreasuryIndex",
          "FHLBRate",
          "SOFR",
          "UserDefined"
        ]
      },
      "ConsumerIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ThirtyDayAverageSOFR",
          "OneYearTreasury",
          "ThreeYearTreasury",
          "FiveYearTreasury",
          "TenYearTreasury",
          "TwentySixWeekTBillRate",
          "JPMorganChaseBankPrime",
          "NationalAverageContractRate",
          "WallStreetJournalUSPrimeRate",
          "Other"
        ],
        "enum": [
          "Unknown",
          "ThirtyDayAverageSOFR",
          "OneYearTreasury",
          "ThreeYearTreasury",
          "FiveYearTreasury",
          "TenYearTreasury",
          "TwentySixWeekTBillRate",
          "JPMorganChaseBankPrime",
          "NationalAverageContractRate",
          "WallStreetJournalUSPrimeRate",
          "Other"
        ]
      },
      "RoundingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "None",
          "NearestOneFourth",
          "NearestOneEighth",
          "NearestOneTenth",
          "UpToOneEighth"
        ],
        "x-enum-descriptions": [
          "",
          null,
          "Nearest 1/4",
          "Nearest 1/8",
          "Nearest 1/10",
          "Up to 1/8"
        ],
        "enum": [
          "Unknown",
          "None",
          "NearestOneFourth",
          "NearestOneEighth",
          "NearestOneTenth",
          "UpToOneEighth"
        ]
      },
      "InterestAdjustmentDayType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "FirstoftheMonth",
          "PaymentDate",
          "DayFollowingPaymentDate",
          "DaysFromEndofBillingCycleDate",
          "DaysFromDayFollowingEndofBillingCycleDate"
        ],
        "enum": [
          "Unknown",
          "FirstoftheMonth",
          "PaymentDate",
          "DayFollowingPaymentDate",
          "DaysFromEndofBillingCycleDate",
          "DaysFromDayFollowingEndofBillingCycleDate"
        ]
      },
      "InterestRateRoundingMethodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NoRounding",
          "Down",
          "ToTheNearest",
          "Up"
        ],
        "enum": [
          "NoRounding",
          "Down",
          "ToTheNearest",
          "Up"
        ]
      },
      "InterestRateRoundingPercentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Point001",
          "Point1",
          "Point25",
          "Point5",
          "Point125",
          "Point01",
          "Point00001",
          "Point0001",
          "One"
        ],
        "enum": [
          "Point001",
          "Point1",
          "Point25",
          "Point5",
          "Point125",
          "Point01",
          "Point00001",
          "Point0001",
          "One"
        ]
      },
      "InterestRateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "FixedRate",
          "VariableRate"
        ],
        "enum": [
          "FixedRate",
          "VariableRate"
        ]
      },
      "SofrIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "_180DayTerm",
          "_30DayTerm",
          "_90DayTerm",
          "DailySimple",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "180-Day Term",
          "30-Day Term",
          "90-Day Term",
          "Daily Simple",
          "Other"
        ],
        "enum": [
          "Unknown",
          "_180DayTerm",
          "_30DayTerm",
          "_90DayTerm",
          "DailySimple",
          "Other"
        ]
      },
      "TreasuryIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "_6Month",
          "_1Year",
          "_2Year",
          "_3Year",
          "_5Year",
          "_10Year",
          "_15Year",
          "_20Year",
          "_30Year",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "6 Month",
          "1 Year",
          "2 Year",
          "3 Year",
          "5 Year",
          "10 Year",
          "15 Year",
          "20 Year",
          "30 Year",
          "Other"
        ],
        "enum": [
          "Unknown",
          "_6Month",
          "_1Year",
          "_2Year",
          "_3Year",
          "_5Year",
          "_10Year",
          "_15Year",
          "_20Year",
          "_30Year",
          "Other"
        ]
      },
      "FhlbIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "_6Month",
          "_1Year",
          "_2Year",
          "_3Year",
          "_5Year",
          "_7Year",
          "_10Year",
          "_15Year",
          "_20Year",
          "_30Year",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "6 Month",
          "1 Year",
          "2 Year",
          "3 Year",
          "5 Year",
          "7 Year",
          "10 Year",
          "15 Year",
          "20 Year",
          "30 Year",
          "Other"
        ],
        "enum": [
          "Unknown",
          "_6Month",
          "_1Year",
          "_2Year",
          "_3Year",
          "_5Year",
          "_7Year",
          "_10Year",
          "_15Year",
          "_20Year",
          "_30Year",
          "Other"
        ]
      },
      "FixedRateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Index",
          "Specified",
          "CostOfFunds",
          "Market"
        ],
        "x-enum-descriptions": [
          "Index",
          "Specified",
          "Cost of Funds",
          "Market"
        ],
        "enum": [
          "Index",
          "Specified",
          "CostOfFunds",
          "Market"
        ]
      },
      "RateChangeAffectsType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AmountDueatMaturity",
          "PaymentAmount",
          "PaymentAmountandAmountDueatMaturity"
        ],
        "x-enum-descriptions": [
          "Amount Due at Maturity",
          "Payment Amount",
          "Payment Amount and Amount Due at Maturity"
        ],
        "enum": [
          "AmountDueatMaturity",
          "PaymentAmount",
          "PaymentAmountandAmountDueatMaturity"
        ]
      },
      "InitialRateDefinitionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Equaltothemarketrate",
          "Discount",
          "Premium"
        ],
        "x-enum-descriptions": [
          "Equal to the market rate",
          "Discount",
          "Premium"
        ],
        "enum": [
          "Equaltothemarketrate",
          "Discount",
          "Premium"
        ]
      },
      "FixedRateDeterminationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Index",
          "Specified"
        ],
        "enum": [
          "Index",
          "Specified"
        ]
      },
      "Payment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "initialPaymentAmount": {
                "type": "number",
                "description": "Initial Payment Amount",
                "format": "decimal",
                "nullable": true
              },
              "initialPaymentAmountCustom": {
                "type": "boolean",
                "description": "Custom Initial Payment Amount",
                "nullable": true
              },
              "interestRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal",
                "nullable": true
              },
              "amortTerm": {
                "type": "integer",
                "description": "The number of periods over which the loan is amortized.",
                "format": "int32",
                "nullable": true
              },
              "firstPaymentDate": {
                "type": "string",
                "description": "The date the first principal and interest payment is due or the first principal payments of a principal and interest payment method is due.",
                "format": "date",
                "nullable": true
              },
              "paymentFrequency": {
                "description": "The payment frequency of the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPaymentFrequencyType"
                  }
                ]
              },
              "interestAccrualMethod": {
                "description": "The accrual method. The use of Actual/360 is not warranted for HE, CDL and Residential Lending.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestAccrualMethodType"
                  }
                ]
              },
              "paymentType": {
                "description": "The method by which the loan will be repaid.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "daysToFirstPayment": {
                "type": "integer",
                "description": "This is the calculated number of days between the Funding Date and the First Payment Date.",
                "format": "int32",
                "nullable": true
              },
              "termInPayments": {
                "type": "integer",
                "description": "The total number of payments, including the final payment, for an Interest Only loan. Mapped from the MathCorp actual_term output.",
                "format": "int32",
                "nullable": true
              },
              "interestOnlyTermInPayments": {
                "type": "integer",
                "description": "The number of interest-only payments before the final payment for an Interest Only loan, calculated as TermInPayments - 1.",
                "format": "int32",
                "nullable": true
              },
              "balloonPaymentAmount": {
                "type": "number",
                "description": "The balloon payment amount for an Interest Only loan. Mapped from the MathCorp balloon output.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanPaymentFrequencyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Monthly",
          "Annually",
          "Semiannually",
          "Quarterly",
          "Semimonthly",
          "EveryOtherWeek",
          "Weekly",
          "Bimonthly"
        ],
        "x-enum-descriptions": [
          null,
          "Annually",
          "Semiannually",
          "Quarterly",
          "Semimonthly",
          "Every Other Week",
          "Weekly",
          null
        ],
        "enum": [
          "Monthly",
          "Annually",
          "Semiannually",
          "Quarterly",
          "Semimonthly",
          "EveryOtherWeek",
          "Weekly",
          "Bimonthly"
        ]
      },
      "InterestAccrualMethodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Actual360",
          "Thirty360",
          "Actual365",
          "ActualActual"
        ],
        "enum": [
          "Actual360",
          "Thirty360",
          "Actual365",
          "ActualActual"
        ]
      },
      "PaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Installment",
          "InterestOnly",
          "PrincipalReduction",
          "FixedPrincipalAndAccruedInterest",
          "LevelPrincipalAndInterest",
          "Other",
          "SinglePayment"
        ],
        "x-enum-descriptions": [
          "Installment",
          "Interest Only",
          "Principal Reduction",
          "Fixed Principal and Accrued Interest",
          "Level Principal and Interest",
          "Other (User-Defined)",
          "Single Payment"
        ],
        "enum": [
          "Installment",
          "InterestOnly",
          "PrincipalReduction",
          "FixedPrincipalAndAccruedInterest",
          "LevelPrincipalAndInterest",
          "Other",
          "SinglePayment"
        ]
      },
      "Revolving": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "discretionaryAdvancesIndicator": {
                "type": "boolean",
                "description": "Specifies if the lender has a discretion for the advances.",
                "nullable": true
              },
              "authorizedPersonsIndicator": {
                "type": "boolean",
                "description": "Specifies whether there are specific persons to request advances",
                "nullable": true
              },
              "authorizedPersons": {
                "type": "string",
                "description": "This is a list of all of the names (with titles) of persons authorized to request advances.",
                "nullable": true
              },
              "advanceLimitationsIndicator": {
                "type": "boolean",
                "description": "Specifies whether there is an advance information",
                "nullable": true
              },
              "minimumAdvanceAmount": {
                "type": "number",
                "description": "The minimum dollar amount that can be advanced at any time.",
                "format": "decimal",
                "nullable": true
              },
              "revolvingAdvancesbyCheckIndicator": {
                "type": "boolean",
                "description": "If true advances on the revolving note can be made by check.",
                "nullable": true
              },
              "allowOveradvancesIndicator": {
                "type": "boolean",
                "description": "If true, the lender wishes to exclude the overadvances paragraph from the document.",
                "nullable": true
              },
              "additionalDemandOptions": {
                "description": "The Type of Revolving Demand Advance Expiration Option on the Note.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AdditionalDemandOptions"
                  }
                ]
              },
              "advanceExpirationDate": {
                "type": "string",
                "description": "The date on which the revolving line of credit period ends.  NOTE:  After this date no additional advances may be made.",
                "format": "date",
                "nullable": true
              },
              "cleanUpCleanDown": {
                "description": "Clean Up Clean Down",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CleanUpCleanDown"
                  }
                ]
              },
              "originalAdditionalDemandOptions": {
                "description": "The Type of Revolving Demand Advance Expiration Option on the Original Note.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AdditionalDemandOptions"
                  }
                ]
              },
              "originalAdvanceExpirationDate": {
                "type": "string",
                "description": "The date on which the revolving line of credit period was scheduled to end prior to the amendment (used only when amending an existing note).",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "AdditionalDemandOptions": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ExpirationDate",
          "AnnualReview"
        ],
        "x-enum-descriptions": [
          "",
          "Expiration Date",
          "Annual Review"
        ],
        "enum": [
          "Unknown",
          "ExpirationDate",
          "AnnualReview"
        ]
      },
      "CleanUpCleanDown": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "cleanUpDownOptionsIndicator": {
                "type": "boolean",
                "description": "Specifies whether there is a clean up or step down option on the revolving line of credit.",
                "nullable": true
              },
              "options": {
                "description": "Specifies whether there is a clean up or step down option on the revolving line of credit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CleanUpCleanDownOptions"
                  }
                ]
              },
              "days": {
                "type": "integer",
                "description": "Specifies the length of the clean up or step down period.",
                "format": "int32",
                "nullable": true
              },
              "cleanDownPercent": {
                "type": "number",
                "description": "The percentage of the clean-up or clean-down.",
                "format": "decimal",
                "nullable": true
              },
              "lenderOptionIndicator": {
                "type": "boolean",
                "description": "If true the clean up or clean down option on the note is at the option of the lender.",
                "nullable": true
              }
            }
          }
        ]
      },
      "CleanUpCleanDownOptions": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CleanUp",
          "CleanDown"
        ],
        "x-enum-descriptions": [
          "",
          "Clean Up",
          "Clean Down"
        ],
        "enum": [
          "Unknown",
          "CleanUp",
          "CleanDown"
        ]
      },
      "PaymentSchedule": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "paymentNumber": {
                "type": "integer",
                "description": "Number of periodic payment",
                "format": "int32"
              },
              "paymentDueDate": {
                "type": "string",
                "description": "The date when the periodic payment is due",
                "format": "date",
                "nullable": true
              },
              "numberOfDaysInUnitPeriod": {
                "type": "integer",
                "description": "Number Of Days In Unit Period",
                "format": "int32"
              },
              "paymentAmount": {
                "type": "number",
                "description": "Periodic payment amount",
                "format": "decimal"
              },
              "interestAmount": {
                "type": "number",
                "description": "The portion of the periodic payment that goes towards paying off the interest on the loan",
                "format": "decimal"
              },
              "principalAmount": {
                "type": "number",
                "description": "The portion of the periodic payment that goes towards paying off the principal on the loan",
                "format": "decimal"
              },
              "outstandingBalance": {
                "type": "number",
                "description": "The amount remaining on the loan after the periodic payment is made.",
                "format": "decimal"
              },
              "interestRate": {
                "type": "number",
                "description": "For commercial loans either (a) the fixed rate during the respective phase or (b) the initial rate during phase 2 if the phase 2 rate is variable changing quarterly or less frequently if such initial phase 2 rate is disclosed.  For consumer loans it is the interest rate for a fixed rate loan (or phase) or the initial rate for a variable rate loan or phase",
                "format": "decimal"
              }
            }
          }
        ]
      },
      "Fee": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "description": "The name of the fee.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeName"
                  }
                ]
              },
              "type": {
                "description": "The fee type.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeType"
                  }
                ]
              },
              "section": {
                "description": "The fee section.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeSection"
                  }
                ]
              },
              "comment": {
                "type": "string",
                "description": "The comment.",
                "nullable": true
              },
              "payments": {
                "type": "array",
                "description": "The list of fee payment.",
                "items": {
                  "$ref": "#/components/schemas/FeePayment"
                }
              },
              "term": {
                "type": "integer",
                "description": "The term.",
                "format": "int32",
                "nullable": true
              },
              "userDefinedName": {
                "type": "string",
                "description": "The name of a user defined fee.",
                "nullable": true
              },
              "feeLimit": {
                "description": "This describes whether the fee will be the greater or lesser of the fixed fee amount or the percent fee amount.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeLimit"
                  }
                ]
              },
              "triggeringBalanceAmount": {
                "type": "string",
                "description": "The balance amount below which the fee will be triggered.",
                "nullable": true
              },
              "feeFrequency": {
                "description": "Describes how frequently that the fee will be charged.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeFrequency"
                  }
                ]
              },
              "paidtoLenderAffiliate": {
                "type": "boolean",
                "description": "The fee is paid to a lender affiliate.",
                "nullable": true
              },
              "termofCoverage": {
                "type": "integer",
                "description": "The term of the coverage or service paid by the fee.",
                "format": "int32",
                "nullable": true
              },
              "paidAt": {
                "description": "The fee is paid at closing or outside of closing",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidAt"
                  }
                ]
              },
              "feeDueDescription": {
                "type": "string",
                "description": "A description of when the fee is due.",
                "nullable": true
              },
              "feeFrequencyTypeOtherDescription": {
                "type": "string",
                "description": "Describes how frequently that the fee will be charged if other is selected",
                "nullable": true
              },
              "feeChargeType": {
                "description": "This describes whether the fee will be the greater or lesser of the fixed fee amount or the percent fee amount.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeChargeType"
                  }
                ]
              },
              "setupFee": {
                "type": "boolean",
                "description": "Fee is charged to set up an open-end line of credit that is not secured by a dwelling, and is to be disclosed in the Set-up and Maintenance Fees section on the Truth-in-Lending Disclosure Open End.",
                "nullable": true
              },
              "frequencyType": {
                "description": "Describes how frequently that the fee will be charged.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeFrequency"
                  }
                ]
              },
              "overTheLimitAmount": {
                "type": "number",
                "description": "The lesser dollar amount charged when comparing the lesser of a percentage or dollar amount for an over-the-limit charge.",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceFee": {
                "type": "boolean",
                "description": "Post-origination fee is charged to maintain an open-end line of credit that is not secured by a dwelling, and is to be disclosed in the Set-up and Maintenance Fees section on the Truth-in-Lending Disclosure Open End.",
                "nullable": true
              },
              "firstOverTheLimitAmount": {
                "type": "number",
                "description": "The dollar amount that will be charged for the first over-the-limit charge in a given time period.",
                "format": "decimal",
                "nullable": true
              },
              "maximumOverTheLimitAmount": {
                "type": "number",
                "description": "The largest dollar amount that will be charged if an over-the-limit fee is imposed.",
                "format": "decimal",
                "nullable": true
              },
              "maximumReturnedCheckFeeAmount": {
                "type": "number",
                "description": "The maximum dollar amount that will be charged if a returned check fee is imposed.",
                "format": "decimal",
                "nullable": true
              },
              "minimumReturnedCheckFeeAmount": {
                "type": "number",
                "description": "The minimum dollar amount that will be charged if a returned check fee is imposed.",
                "format": "decimal",
                "nullable": true
              },
              "percentOfDescription": {
                "type": "string",
                "description": "Describes the base from which the percentage fee is calculated.",
                "nullable": true
              },
              "butNotLessThan": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "butNotMoreThan": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "partiallyRefundableInd": {
                "type": "boolean",
                "description": "If true, the fee is partially refundable.",
                "nullable": true
              },
              "refundableAfterClosingInd": {
                "type": "boolean",
                "description": "If true, the fee may be refundable after closing if the loan is prepaid.",
                "nullable": true
              },
              "refundableInd": {
                "type": "boolean",
                "description": "If true, the fee is refundable.",
                "nullable": true
              },
              "feeDisbursed": {
                "type": "boolean",
                "description": "The fee for any disbursement amounts that have yet to be disbursed. This is specific to the Disbursement Authorization and Cash Payment Summary.",
                "nullable": true
              }
            }
          }
        ]
      },
      "FeeName": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AnnualCreditReview",
          "AnnualFacility",
          "Application",
          "Appraisal",
          "ArchitecturalEngineeringServices",
          "Attorneys",
          "CityPropertyTaxes",
          "CityCountyTaxStampsDeed",
          "CityCountyTaxStampsMortgage",
          "Commitment",
          "CountyPropertyTaxes",
          "CreditReport",
          "DocumentPreparation",
          "ExtensionFee",
          "FilingFee",
          "FloodCertification",
          "FloodInsurance",
          "FloridaDocStamp",
          "GoodStandingVerification",
          "HazardInsurance",
          "LendersInspection",
          "LendersTitleInsurance",
          "LoanOrigination",
          "LowAdvanceProcessing",
          "Modification",
          "Other",
          "OwnersTitleInsurance",
          "PrepaidInterest",
          "RecordingDeed",
          "RecordingMortgage",
          "RecordingReleases",
          "StatePropertyTaxes",
          "StateTaxStampsDeed",
          "StateTaxStampsMortgage",
          "TitleExamination",
          "TitleInsuranceGapCoverageCharge",
          "UCCFilingFees",
          "UCCSearchFees",
          "UnusedLine",
          "UserDefined",
          "AdministrativeFee",
          "ApplicationFee",
          "GapInsuranceCoverage",
          "LoanFee",
          "Processing",
          "PropertyInsurance",
          "PublicOfficial",
          "VendorsSingleInterestInsurance",
          "WireTransfer",
          "LateFee",
          "ReturnCheckCharge",
          "AnnualFee",
          "AssumptionFee",
          "AttorneysFee",
          "GapCoverageCharge",
          "OfficialFees",
          "MinimumAdvanceCharge",
          "MinimumFinanceCharge",
          "OvertheLimitCharge",
          "ParticipationFee",
          "AnnualAssessments",
          "Closing",
          "ClosingAffectsAPRClosing",
          "Courier",
          "FeeInLieuOfInterest",
          "GovernmentFundingFee",
          "InterestSurcharge",
          "Loan",
          "LoanDiscount",
          "LockIn",
          "Maintenance",
          "NonFilingInsurance",
          "NonREFiling",
          "Notary",
          "OtherLoanOriginationFees",
          "Permit",
          "ServiceCharge",
          "ServiceContractCharge",
          "TotalOriginationCharge",
          "Transaction",
          "Underwriting",
          "ReturnedCheckChargeLawEnforcement"
        ],
        "x-enum-descriptions": [
          "",
          "Annual Credit Review",
          "Annual Facility",
          "Application",
          "Appraisal",
          "Architectural/Engineering Services",
          "Attorneys",
          "City Property Taxes",
          "City/County Tax Stamps - Deed",
          "City/County Tax Stamps - Mortgage",
          "Commitment",
          "County Property Taxes",
          "Credit Report",
          "Document Preparation",
          "Extension Fee",
          "Filing Fee",
          "Flood Certification",
          "Flood Insurance",
          "Florida Doc Stamp",
          "Good Standing Verification",
          "Hazard Insurance",
          "Lender's Inspection",
          "Lender's Title Insurance",
          "Loan Origination",
          "Low Advance Processing",
          "Modification",
          "Other",
          "Owner's Title Insurance",
          "Prepaid Interest",
          "Recording - Deed",
          "Recording - Mortgage",
          "Recording - Releases",
          "State Property Taxes",
          "State Tax Stamps - Deed",
          "State Tax Stamps - Mortgage",
          "Title Examination",
          "Title Insurance Gap Coverage Charge",
          "UCC Filing Fees",
          "UCC Search Fees",
          "Unused Line",
          "User Defined",
          "Administrative Fee",
          "Application Fee",
          "Gap Insurance Coverage",
          "Loan Fee",
          "Processing",
          "Property Insurance",
          "Public Official",
          "Vendors Single Interest Insurance",
          "Wire Transfer",
          "Late Fee",
          "Return Check Charge",
          "Annual Fee",
          "Assumption Fee",
          "Attorneys Fee",
          "Gap Coverage Charge",
          "Official Fees",
          "Minimum Advance Charge",
          "Minimum Finance Charge",
          "Over the Limit Charge",
          "Participation Fee",
          "Annual Assessments",
          "Closing",
          "Closing - Affects APR",
          "Courier",
          "Fee-in-lieu of interest",
          "Government Funding Fee",
          "Interest Surcharge",
          "Loan",
          "Loan Discount",
          "Lock In",
          "Maintenance",
          "Non-Filing Insurance",
          "Non-RE Filing",
          "Notary",
          "Other Loan Origination Fees",
          "Permit",
          "Service Charge",
          "Service Contract Charge",
          "Total Origination Charge",
          "Transaction",
          "Underwriting",
          "Returned Check Charges - Law Enforcement"
        ],
        "enum": [
          "Unknown",
          "Annual Credit Review",
          "Annual Facility",
          "Application",
          "Appraisal",
          "Architectural/Engineering Services",
          "Attorneys",
          "City Property Taxes",
          "City/County Tax Stamps - Deed",
          "City/County Tax Stamps - Mortgage",
          "Commitment",
          "County Property Taxes",
          "Credit Report",
          "Document Preparation",
          "Extension Fee",
          "Filing Fee",
          "Flood Certification",
          "Flood Insurance",
          "Florida Doc Stamp",
          "Good Standing Verification",
          "Hazard Insurance",
          "Lender's Inspection",
          "Lender's Title Insurance",
          "Loan Origination",
          "Low Advance Processing",
          "Modification",
          "Other",
          "Owner's Title Insurance",
          "Prepaid Interest",
          "Recording - Deed",
          "Recording - Mortgage",
          "Recording - Releases",
          "State Property Taxes",
          "State Tax Stamps - Deed",
          "State Tax Stamps - Mortgage",
          "Title Examination",
          "Title Insurance Gap Coverage Charge",
          "UCC Filing Fees",
          "UCC Search Fees",
          "Unused Line",
          "User Defined",
          "Administrative Fee",
          "Application Fee",
          "Gap Insurance Coverage",
          "Loan Fee",
          "Processing",
          "Property Insurance",
          "Public Official",
          "Vendors Single Interest Insurance",
          "Wire Transfer",
          "Late Fee",
          "Return Check Charge",
          "Annual Fee",
          "Assumption Fee",
          "Attorneys Fee",
          "Gap Coverage Charge",
          "Official Fees",
          "Minimum Advance Charge",
          "Minimum Finance Charge",
          "Over the Limit Charge",
          "Participation Fee",
          "Annual Assessments",
          "Closing",
          "Closing - Affects APR",
          "Courier",
          "Fee-in-lieu of interest",
          "Government Funding Fee",
          "Interest Surcharge",
          "Loan",
          "Loan Discount",
          "Lock In",
          "Maintenance",
          "Non-Filing Insurance",
          "Non-RE Filing",
          "Notary",
          "Other Loan Origination Fees",
          "Permit",
          "Service Charge",
          "Service Contract Charge",
          "Total Origination Charge",
          "Transaction",
          "Underwriting",
          "Returned Check Charges - Law Enforcement"
        ]
      },
      "FeeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Fha203KConsultantFee",
          "Fha203KDiscountOnRepairs",
          "Fha203KInspectionFee",
          "Fha203KPermits",
          "Fha203KSupplementalOriginationFee",
          "Fha203KTitleUpdate",
          "ApplicationFee",
          "AppraisalDeskReviewFee",
          "AppraisalFee",
          "AppraisalFieldReviewFee",
          "AppraisalManagementCompanyFee",
          "AsbestosInspectionFee",
          "AssignmentFee",
          "AssumptionFee",
          "AttorneyFee",
          "AutomatedUnderwritingFee",
          "AVMFee",
          "BankruptcyMonitoringFee",
          "BondFee",
          "BondReviewFee",
          "BoroughPropertyTax",
          "CertificationFee",
          "CityPropertyTax",
          "CommitmentFee",
          "CondominiumAssociationDues",
          "CondominiumAssociationSpecialAssessment",
          "CooperativeAssociationDues",
          "CooperativeAssociationSpecialAssessment",
          "CopyOrFaxFee",
          "CountyPropertyTax",
          "CourierFee",
          "CreditDisabilityInsurancePremium",
          "CreditLifeInsurancePremium",
          "CreditPropertyInsurancePremium",
          "CreditReportFee",
          "CreditUnemploymentInsurancePremium",
          "DebtCancellationInsurancePremium",
          "DeedPreparationFee",
          "DisasterInspectionFee",
          "DistrictPropertyTax",
          "DocumentaryStampFee",
          "DocumentPreparationFee",
          "DryWallInspectionFee",
          "EarthquakeInsurancePremium",
          "ElectricalInspectionFee",
          "ElectronicDocumentDeliveryFee",
          "EnvironmentalInspectionFee",
          "EscrowServiceFee",
          "EscrowWaiverFee",
          "FilingFee",
          "FloodCertification",
          "FloodInsurancePremium",
          "FoundationInspectionFee",
          "HazardInsurancePremium",
          "HeatingCoolingInspectionFee",
          "HighCostMortgageCounselingFee",
          "HomeInspectionFee",
          "HomeownersAssociationDues",
          "HomeownersAssociationSpecialAssessment",
          "HomeownersInsurancePremium",
          "HomeWarrantyFee",
          "LeadInspectionFee",
          "LendersAttorneyFee",
          "LoanDiscountPoints",
          "LoanLevelPriceAdjustment",
          "LoanOriginationFee",
          "LoanOriginatorCompensation",
          "ManualUnderwritingFee",
          "ManufacturedHousingInspectionFee",
          "MERSRegistrationFee",
          "MIInitialPremium",
          "MIUpfrontPremium",
          "ModificationFee",
          "MoldInspectionFee",
          "MortgageBrokerFee",
          "MortgageInsurancePremium",
          "MortgageSurchargeCountyOrParish",
          "MortgageSurchargeMunicipal",
          "MortgageSurchargeState",
          "MunicipalLienCertificateFee",
          "NotaryFee",
          "Other",
          "PayoffRequestFee",
          "PestInspectionFee",
          "PlumbingInspectionFee",
          "PowerOfAttorneyPreparationFee",
          "PowerOfAttorneyRecordingFee",
          "PreclosingVerificationControlFee",
          "PrepaidInterest",
          "ProcessingFee",
          "PropertyInspectionWaiverFee",
          "RadonInspectionFee",
          "RateLockFee",
          "RealEstateCommissionBuyersBroker",
          "RealEstateCommissionSellersBroker",
          "ReconveyanceFee",
          "RecordingFeeForAssignment",
          "RecordingFeeForDeed",
          "RecordingFeeForMortgage",
          "RecordingFeeForMunicipalLienCertificate",
          "RecordingFeeForRelease",
          "RecordingFeeForSubordination",
          "RedrawFee",
          "ReinspectionFee",
          "RepairsFee",
          "RoofInspectionFee",
          "SepticInspectionFee",
          "SettlementFee",
          "SigningAgentFee",
          "SmokeDetectorInspectionFee",
          "StatePropertyTax",
          "StateTitleInsuranceFee",
          "StructuralInspectionFee",
          "SubordinationFee",
          "SurveyFee",
          "TaxServiceFee",
          "TaxStampForCityDeed",
          "TaxStampForCityMortgage",
          "TaxStampForCountyDeed",
          "TaxStampForCountyMortgage",
          "TaxStampForStateDeed",
          "TaxStampForStateMortgage",
          "TemporaryBuydownAdministrationFee",
          "TemporaryBuydownPoints",
          "TitleCertificationFee",
          "TitleClosingFee",
          "TitleClosingProtectionLetterFee",
          "TitleDocumentPreparationFee",
          "TitleEndorsementFee",
          "TitleExaminationFee",
          "TitleFinalPolicyShortFormFee",
          "TitleInsuranceBinderFee",
          "TitleInsuranceFee",
          "TitleLendersCoveragePremium",
          "TitleNotaryFee",
          "TitleOwnersCoveragePremium",
          "TitleServicesSalesTax",
          "TitleUnderwritingIssueResolutionFee",
          "TownPropertyTax",
          "UnderwritingFee",
          "USDARuralDevelopmentGuaranteeFee",
          "VAFundingFee",
          "VerificationOfAssetsFee",
          "VerificationOfEmploymentFee",
          "VerificationOfIncomeFee",
          "VerificationOfResidencyStatusFee",
          "VerificationOfTaxpayerIdentificationFee",
          "VerificationOfTaxReturnFee",
          "VolcanoInsurancePremium",
          "WaterTestingFee",
          "WellInspectionFee",
          "WindAndStormInsurancePremium",
          "WireTransferFee",
          "HailInsurancePremium",
          "ARMConversionFee",
          "ConstructionHandlingFee",
          "ConstructionInspectionFee",
          "DebtSuspensionInsurancePremium",
          "DiscountOnRepairsFee",
          "DownPaymentProtectionFee",
          "EscrowHoldbackFee",
          "HELOCAnnualFee",
          "HELOCOverLimitFee",
          "HomeownersAssociationServiceFee",
          "LateCharge",
          "ManufacturedHousingProcessingFee",
          "MortgageTaxCreditServiceFee",
          "MultipleLoansClosingFee",
          "NSFFee",
          "PartialLienReleaseFee",
          "ProgramGuaranteeFee",
          "RecastFee",
          "ReconveyanceTrackingFee",
          "RecordingFeeForOtherDocument",
          "RecordingServiceFee",
          "RenovationConsultantFee",
          "TaxStatusResearchFee",
          "TitleAbstractFee",
          "TitleBorrowerClosingProtectionLetterFee",
          "TitleClosingCoordinationFee",
          "TitleCommitmentFee",
          "TitleSearchFee",
          "TitleSubEscrowFee",
          "TitleSubordinationProcessingFee",
          "AnnualFee",
          "ConversionFee",
          "ReturnedCheckCharge",
          "StopPayment",
          "TerminationFee",
          "TrusteeFee",
          "VendorSingleInterestInsurance"
        ],
        "x-enum-descriptions": [
          "",
          "203K Consultant Fee",
          "203K Discount On Repairs",
          "203K Inspection Fee",
          "203K Permits",
          "203K Supplemental Origination Fee",
          "203K Title Update",
          "Application Fee",
          "Appraisal Desk Review Fee",
          "Appraisal Fee",
          "Appraisal Field Review Fee",
          "Appraisal Management Company Fee",
          "Asbestos Inspection Fee",
          "Assignment Preparation Fee",
          "Assumption Fee",
          "Attorney Fee",
          "Automated Underwriting Fee",
          "AVM Fee",
          "Bankruptcy Monitoring Fee",
          "Bond Fee",
          "Bond Review Fee",
          "Borough Property Tax",
          "Certification Fee",
          "City Property Tax",
          "Commitment Fee",
          "Condominium Association Dues",
          "Condominium Association Special Assessment",
          "Cooperative Association Dues",
          "Cooperative Association Dues",
          "Copy Or Fax Fee",
          "County Property Tax",
          "Courier Fee",
          "Credit Life Insurance Premium",
          "Credit Life Insurance Premium",
          "Credit Property Insurance Premium",
          "Credit Report Fee",
          "Credit Unemployment Insurance Premium",
          "Debt Cancellation Insurance Premium",
          "Deed Preparation Fee",
          "Disaster Inspection Fee",
          "District Property Tax",
          "Documentary Stamp Fee",
          "Document Preparation Fee",
          "Dry Wall Inspection Fee",
          "Earthquake Insurance Premium",
          "Electrical Inspection Fee",
          "Electronic Document Delivery Fee",
          "Environmental Inspection Fee",
          "Escrow Service Fee",
          "Escrow Waiver Fee",
          "Filing Fee",
          "Flood Certification",
          "Flood Insurance Premium",
          "Foundation Inspection Fee",
          "Hazard Insurance Premium",
          "Heating Cooling Inspection Fee",
          "High Cost Mortgage Counseling Fee",
          "Home Inspection Fee",
          "Homeowner's Association Dues",
          "Homeowner's Association Special Assessment",
          "Homeowner's Insurance Premium",
          "Home Warranty Fee",
          "Lead Inspection Fee",
          "Lender's Attorney Fee",
          "Loan Discount Points",
          "Loan Level Price Adjustment",
          "Loan Origination Fee",
          "Loan Originator Compensation",
          "Manual Underwriting Fee",
          "Manufactured Housing Inspection Fee",
          "MERS Registration Fee",
          "MI Initial Premium",
          "MI Upfront Premium",
          "Modification Fee",
          "Mold Inspection Fee",
          "Mortgage Broker Fee",
          "Mortgage Insurance Premium",
          "Mortgage Surcharge County Or Parish",
          "Mortgage Surcharge Municipal",
          "Mortgage Surcharge State",
          "Municipal Lien Certificate Fee",
          "Notary Fee",
          null,
          "Payoff Request Fee",
          "Pest Inspection Fee",
          "Plumbing Inspection Fee",
          "Power Of Attorney Preparation Fee",
          "Power Of Attorney Recording Fee",
          "Pre-closing Verification Control Fee",
          "Prepaid Interest",
          "Processing Fee",
          "Property Inspection Waiver Fee",
          "Radon Inspection Fee",
          "Rate Lock Fee",
          "Real Estate Commission Buyer's Broker",
          "Real Estate Commission Seller's Broker",
          "Reconveyance Fee",
          "Recording Fee For Assignment",
          "Recording Fee For Deed",
          "Recording Fee For Mortgage",
          "Recording Fee For Municipal Lien Certificate",
          "Recording Fee For Release",
          "Recording Fee For Subordination",
          "Redraw Fee",
          "Re-inspection Fee",
          "Repairs Fee",
          "Roof Inspection Fee",
          "Septic Inspection Fee",
          "Settlement Fee",
          "Signing Agent Fee",
          "Smoke Detector Inspection Fee",
          "State Property Tax",
          "State Title Insurance Fee",
          "Structural Inspection Fee",
          "Subordination Fee",
          "Survey Fee",
          "Tax Service Fee",
          "Tax Stamp For City Deed",
          "Tax Stamp For City Mortgage",
          "Tax Stamp For County Deed",
          "Tax Stamp For County Mortgage",
          "Tax Stamp For State Deed",
          "Tax Stamp For State Mortgage",
          "Temporary Buy-down Administration Fee",
          "Temporary Buy-down Points",
          "Title Certification Fee",
          "Title Closing Fee",
          "Title Closing Protection Letter Fee",
          "Title Document Preparation Fee",
          "Title Endorsement Fee",
          "Title Examination Fee",
          "Title Final Policy Short Form Fee",
          "Title Insurance Binder Fee",
          "Title Insurance Fee",
          "Title Notary Fee",
          "Title Notary Fee",
          "Title Owner's Coverage Premium",
          "Title Services Sales Tax",
          "Title Underwriting Issue Resolution Fee",
          "Town Property Tax",
          "Underwriting Fee",
          "USDA Rural Development Guarantee Fee",
          "VA Funding Fee",
          "Verification Of Assets Fee",
          "Verification Of Employment Fee",
          "Verification Of Income Fee",
          "Verification Of Residency Status Fee",
          "Verification Of Taxpayer Identification Fee",
          "Verification Of Tax Return Fee",
          "Volcano Insurance Premium",
          "Water Testing Fee",
          "Well Inspection Fee",
          "Wind And Storm Insurance Premium",
          "Wire Transfer Fee",
          "Hail Insurance Premium",
          "ARM Conversion Fee",
          "Construction Handling Fee",
          "Construction Inspection Fee",
          "Debt Suspension Insurance Premium",
          "Discount On Repairs Fee",
          "Down Payment Protection Fee",
          "Escrow Holdback Fee",
          "HELOC Annual Fee",
          "HELOC Over Limit Fee",
          "Homeowner's Association Service Fee",
          "Late Charge",
          "Manufactured Housing Processing Fee",
          "Mortgage Tax Credit Service Fee",
          "Multiple Loans Closing Fee",
          "NSF Fee",
          "Partial Lien Release Fee",
          "Program Guarantee Fee",
          "Recast Fee",
          "Reconveyance Tracking Fee",
          "Recording Fee For Other Document",
          "Recording Service Fee",
          "Renovation Consultant Fee",
          "Tax Status Research Fee",
          "Title Abstract Fee",
          "Title Borrower Closing Protection Letter Fee",
          "Title Closing Coordination Fee",
          "Title Commitment Fee",
          "Title Search Fee",
          "Title Sub Escrow Fee",
          "Title Subordination Processing Fee",
          "Annual Fee",
          "Conversion Fee",
          "Returned Check Charge",
          "Stop Payment",
          "Termination Fee",
          "Trustee Fee",
          "Vendors Single Interest Insurance"
        ],
        "enum": [
          "Unknown",
          "Fha203KConsultantFee",
          "Fha203KDiscountOnRepairs",
          "Fha203KInspectionFee",
          "Fha203KPermits",
          "Fha203KSupplementalOriginationFee",
          "Fha203KTitleUpdate",
          "ApplicationFee",
          "AppraisalDeskReviewFee",
          "AppraisalFee",
          "AppraisalFieldReviewFee",
          "AppraisalManagementCompanyFee",
          "AsbestosInspectionFee",
          "AssignmentFee",
          "AssumptionFee",
          "AttorneyFee",
          "AutomatedUnderwritingFee",
          "AVMFee",
          "BankruptcyMonitoringFee",
          "BondFee",
          "BondReviewFee",
          "BoroughPropertyTax",
          "CertificationFee",
          "CityPropertyTax",
          "CommitmentFee",
          "CondominiumAssociationDues",
          "CondominiumAssociationSpecialAssessment",
          "CooperativeAssociationDues",
          "CooperativeAssociationSpecialAssessment",
          "CopyOrFaxFee",
          "CountyPropertyTax",
          "CourierFee",
          "CreditDisabilityInsurancePremium",
          "CreditLifeInsurancePremium",
          "CreditPropertyInsurancePremium",
          "CreditReportFee",
          "CreditUnemploymentInsurancePremium",
          "DebtCancellationInsurancePremium",
          "DeedPreparationFee",
          "DisasterInspectionFee",
          "DistrictPropertyTax",
          "DocumentaryStampFee",
          "DocumentPreparationFee",
          "DryWallInspectionFee",
          "EarthquakeInsurancePremium",
          "ElectricalInspectionFee",
          "ElectronicDocumentDeliveryFee",
          "EnvironmentalInspectionFee",
          "EscrowServiceFee",
          "EscrowWaiverFee",
          "FilingFee",
          "FloodCertification",
          "FloodInsurancePremium",
          "FoundationInspectionFee",
          "HazardInsurancePremium",
          "HeatingCoolingInspectionFee",
          "HighCostMortgageCounselingFee",
          "HomeInspectionFee",
          "HomeownersAssociationDues",
          "HomeownersAssociationSpecialAssessment",
          "HomeownersInsurancePremium",
          "HomeWarrantyFee",
          "LeadInspectionFee",
          "LendersAttorneyFee",
          "LoanDiscountPoints",
          "LoanLevelPriceAdjustment",
          "LoanOriginationFee",
          "LoanOriginatorCompensation",
          "ManualUnderwritingFee",
          "ManufacturedHousingInspectionFee",
          "MERSRegistrationFee",
          "MIInitialPremium",
          "MIUpfrontPremium",
          "ModificationFee",
          "MoldInspectionFee",
          "MortgageBrokerFee",
          "MortgageInsurancePremium",
          "MortgageSurchargeCountyOrParish",
          "MortgageSurchargeMunicipal",
          "MortgageSurchargeState",
          "MunicipalLienCertificateFee",
          "NotaryFee",
          "Other",
          "PayoffRequestFee",
          "PestInspectionFee",
          "PlumbingInspectionFee",
          "PowerOfAttorneyPreparationFee",
          "PowerOfAttorneyRecordingFee",
          "PreclosingVerificationControlFee",
          "PrepaidInterest",
          "ProcessingFee",
          "PropertyInspectionWaiverFee",
          "RadonInspectionFee",
          "RateLockFee",
          "RealEstateCommissionBuyersBroker",
          "RealEstateCommissionSellersBroker",
          "ReconveyanceFee",
          "RecordingFeeForAssignment",
          "RecordingFeeForDeed",
          "RecordingFeeForMortgage",
          "RecordingFeeForMunicipalLienCertificate",
          "RecordingFeeForRelease",
          "RecordingFeeForSubordination",
          "RedrawFee",
          "ReinspectionFee",
          "RepairsFee",
          "RoofInspectionFee",
          "SepticInspectionFee",
          "SettlementFee",
          "SigningAgentFee",
          "SmokeDetectorInspectionFee",
          "StatePropertyTax",
          "StateTitleInsuranceFee",
          "StructuralInspectionFee",
          "SubordinationFee",
          "SurveyFee",
          "TaxServiceFee",
          "TaxStampForCityDeed",
          "TaxStampForCityMortgage",
          "TaxStampForCountyDeed",
          "TaxStampForCountyMortgage",
          "TaxStampForStateDeed",
          "TaxStampForStateMortgage",
          "TemporaryBuydownAdministrationFee",
          "TemporaryBuydownPoints",
          "TitleCertificationFee",
          "TitleClosingFee",
          "TitleClosingProtectionLetterFee",
          "TitleDocumentPreparationFee",
          "TitleEndorsementFee",
          "TitleExaminationFee",
          "TitleFinalPolicyShortFormFee",
          "TitleInsuranceBinderFee",
          "TitleInsuranceFee",
          "TitleLendersCoveragePremium",
          "TitleNotaryFee",
          "TitleOwnersCoveragePremium",
          "TitleServicesSalesTax",
          "TitleUnderwritingIssueResolutionFee",
          "TownPropertyTax",
          "UnderwritingFee",
          "USDARuralDevelopmentGuaranteeFee",
          "VAFundingFee",
          "VerificationOfAssetsFee",
          "VerificationOfEmploymentFee",
          "VerificationOfIncomeFee",
          "VerificationOfResidencyStatusFee",
          "VerificationOfTaxpayerIdentificationFee",
          "VerificationOfTaxReturnFee",
          "VolcanoInsurancePremium",
          "WaterTestingFee",
          "WellInspectionFee",
          "WindAndStormInsurancePremium",
          "WireTransferFee",
          "HailInsurancePremium",
          "ARMConversionFee",
          "ConstructionHandlingFee",
          "ConstructionInspectionFee",
          "DebtSuspensionInsurancePremium",
          "DiscountOnRepairsFee",
          "DownPaymentProtectionFee",
          "EscrowHoldbackFee",
          "HELOCAnnualFee",
          "HELOCOverLimitFee",
          "HomeownersAssociationServiceFee",
          "LateCharge",
          "ManufacturedHousingProcessingFee",
          "MortgageTaxCreditServiceFee",
          "MultipleLoansClosingFee",
          "NSFFee",
          "PartialLienReleaseFee",
          "ProgramGuaranteeFee",
          "RecastFee",
          "ReconveyanceTrackingFee",
          "RecordingFeeForOtherDocument",
          "RecordingServiceFee",
          "RenovationConsultantFee",
          "TaxStatusResearchFee",
          "TitleAbstractFee",
          "TitleBorrowerClosingProtectionLetterFee",
          "TitleClosingCoordinationFee",
          "TitleCommitmentFee",
          "TitleSearchFee",
          "TitleSubEscrowFee",
          "TitleSubordinationProcessingFee",
          "AnnualFee",
          "ConversionFee",
          "ReturnedCheckCharge",
          "StopPayment",
          "TerminationFee",
          "TrusteeFee",
          "VendorSingleInterestInsurance"
        ]
      },
      "FeeSection": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "OriginationAndClosingCosts",
          "TaxesAndStamps",
          "TitleAndFilingCosts",
          "Other",
          "PostOriginationFees",
          "Fees"
        ],
        "x-enum-descriptions": [
          "Origination and Closing Costs",
          "Taxes and Stamps",
          "Title and Filing Costs",
          "Other",
          "PostOriginationFees",
          "Fees"
        ],
        "enum": [
          "OriginationAndClosingCosts",
          "TaxesAndStamps",
          "TitleAndFilingCosts",
          "Other",
          "PostOriginationFees",
          "Fees"
        ]
      },
      "FeePayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "amount": {
                "type": "number",
                "description": "Updated Calculated logic for Prepaid Interest Fee Amount to map it to MathCorp",
                "format": "decimal",
                "nullable": true
              },
              "wire": {
                "type": "boolean",
                "description": "Indicating whether this payment is wire.",
                "nullable": true
              },
              "percent": {
                "type": "number",
                "description": "Fee Percent",
                "format": "decimal",
                "nullable": true
              },
              "greaterOrLesserType": {
                "description": "The type of the greater or lesser",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GreaterOrLesser"
                  }
                ]
              },
              "paidTo": {
                "description": "The type of party to whom the commercial loan fee is paid (i.e., the lender or otherwise).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaidTo"
                  }
                ]
              },
              "paidToOtherDescription": {
                "type": "string",
                "description": "The description or name of the third party to whom the commercial loan fee is being paid.",
                "nullable": true
              },
              "paidFrom": {
                "description": "Specifies how and when the loan fee is collected.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "percentAmountToggle": {
                "type": "boolean",
                "description": "Toggle for switch between Percen and Amount",
                "nullable": true
              },
              "financeChargeInd": {
                "type": "boolean",
                "description": "If true the fee is a finance charge and affects the APR calculation.",
                "nullable": true
              },
              "collectionType": {
                "description": "This item identifies how the payment for the fee will be collected.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeCollectionType"
                  }
                ]
              },
              "paidByType": {
                "description": "Identifies who will pay this fee payment.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidByType"
                  }
                ]
              },
              "grace": {
                "type": "integer",
                "description": "The number of days which must elapse after the date of a scheduled payment (grace period) before a late charge will be imposed.",
                "format": "int32",
                "nullable": true
              },
              "amountCustom": {
                "type": "boolean",
                "description": "Specifies if fee amount is custom",
                "nullable": true
              }
            }
          }
        ]
      },
      "GreaterOrLesser": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "GreaterThan",
          "LessThan"
        ],
        "enum": [
          "GreaterThan",
          "LessThan"
        ]
      },
      "PaidTo": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Lender",
          "Other"
        ],
        "x-enum-descriptions": [
          "Lender",
          "Other"
        ],
        "enum": [
          "Lender",
          "Other"
        ]
      },
      "FeePaidFrom": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "LoanProceedsAtClosing",
          "CashAtClosing"
        ],
        "x-enum-descriptions": [
          "Loan Proceeds at Closing",
          "Cash at Closing"
        ],
        "enum": [
          "Loan Proceeds at Closing",
          "Cash at Closing"
        ]
      },
      "FeeCollectionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AddToAmountRequested",
          "Cash",
          "SubtractFromInitialAdvance",
          "SubtractFromProceeds",
          "SubtractFromInitialAdvanceProceeds"
        ],
        "x-enum-descriptions": [
          "",
          "Add To Amount Requested",
          "Cash",
          "Subtract From Initial Advance",
          "Subtract From Proceeds",
          "Subtract From Initial Advance / Proceeds"
        ],
        "enum": [
          "Unknown",
          "Add To Amount Requested",
          "Cash",
          "Subtract From Initial Advance",
          "Subtract From Proceeds",
          "Subtract From Initial Advance / Proceeds"
        ]
      },
      "FeePaidByType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Borrower",
          "Seller",
          "Lender",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Borrower",
          "Seller",
          "Lender",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Borrower",
          "Seller",
          "Lender",
          "Other"
        ]
      },
      "FeeLimit": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "GreaterofPercentofLoanAmountorFixedDollarAmount",
          "LesserofPercentofLoanAmountorFixedDollarAmount"
        ],
        "x-enum-descriptions": [
          "Greater of Percent of Loan Amount or Fixed Dollar Amount",
          "Lesser of Percent of Loan Amount or Fixed Dollar Amount"
        ],
        "enum": [
          "Greater of Percent of Loan Amount or Fixed Dollar Amount",
          "Lesser of Percent of Loan Amount or Fixed Dollar Amount"
        ]
      },
      "FeeFrequency": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Annually",
          "Monthly",
          "Periodic",
          "SemiAnnually",
          "Quarterly",
          "SemiMonthly",
          "BiWeekly",
          "Weekly",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Annually",
          "Monthly",
          "Periodic",
          "SemiAnnually",
          "Quarterly",
          "Semi-Monthly",
          "Bi-Weekly",
          "Weekly",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Annually",
          "Monthly",
          "Periodic",
          "SemiAnnually",
          "Quarterly",
          "Semi-Monthly",
          "Bi-Weekly",
          "Weekly",
          "Other"
        ]
      },
      "FeePaidAt": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Closing",
          "OutsideOfClosing"
        ],
        "x-enum-descriptions": [
          "",
          "Closing",
          "Outside of Closing"
        ],
        "enum": [
          "Unknown",
          "Closing",
          "Outside of Closing"
        ]
      },
      "FeeChargeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Dollars",
          "Percent",
          "TheLesserOfDollarsOrPercent",
          "TheGreaterOfDollarsOrPercent"
        ],
        "x-enum-descriptions": [
          "",
          "Dollars",
          "Percent",
          "The lesser of dollars or percent",
          "The greater of dollars or percent"
        ],
        "enum": [
          "Unknown",
          "Dollars",
          "Percent",
          "The lesser of dollars or percent",
          "The greater of dollars or percent"
        ]
      },
      "LockableDomainObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "lockEdit": {
                "type": "boolean",
                "description": "Indicates whether the edit action is locked for this entity.",
                "nullable": true
              },
              "lockDelete": {
                "type": "boolean",
                "description": "Indicates whether the delete action is locked for this entity.",
                "nullable": true
              }
            }
          }
        ]
      },
      "LateCharge": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The type of the late charge.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LateChargeType"
                  }
                ]
              },
              "typeCustomDescription": {
                "type": "string",
                "description": "Custom description of Late Charges",
                "nullable": true
              },
              "percentOfType": {
                "description": "Type of Late Charges",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PercentOfType"
                  }
                ]
              },
              "altTextTil": {
                "type": "number",
                "description": "The alternative text til.",
                "format": "decimal"
              },
              "altTextNote": {
                "type": "number",
                "description": "The alternative text note.",
                "format": "decimal"
              },
              "gracePeriod": {
                "type": "integer",
                "description": "The number of days which must elapse after the date of a scheduled payment (grace period) before a late charge will be imposed.",
                "format": "int32",
                "nullable": true
              },
              "minAmt": {
                "type": "number",
                "description": "The minimum amount.",
                "format": "decimal"
              },
              "maxAmt": {
                "type": "number",
                "description": "The maximum amount.",
                "format": "decimal"
              },
              "rate": {
                "type": "number",
                "description": "The rate.",
                "format": "decimal"
              },
              "cust": {
                "type": "boolean",
                "description": "Indicates if this is a customer late charge."
              },
              "percent": {
                "type": "number",
                "description": "The percent.",
                "format": "decimal",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "description": "The amount.",
                "format": "decimal",
                "nullable": true
              },
              "percentOfDescription": {
                "type": "string",
                "description": "Describes the base from which the percentage fee is calculated.",
                "nullable": true
              },
              "maximumLateAmount": {
                "type": "number",
                "description": "The largest dollar amount that will be charged if a late fee is imposed.",
                "format": "decimal",
                "nullable": true
              },
              "minimumLateAmount": {
                "type": "number",
                "description": "The smallest dollar amount that will be charged if a late fee is imposed.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "LateChargeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Percent",
          "TheLesserOfDollarsOrPercent",
          "TheGreaterOfDollarsOrPercent",
          "Dollars",
          "Custom"
        ],
        "enum": [
          "Percent",
          "TheLesserOfDollarsOrPercent",
          "TheGreaterOfDollarsOrPercent",
          "Dollars",
          "Custom"
        ]
      },
      "PercentOfType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SuchUnpaidAmount",
          "TheOutstandingBalanceOfTheNote"
        ],
        "enum": [
          "SuchUnpaidAmount",
          "TheOutstandingBalanceOfTheNote"
        ]
      },
      "Payoff": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "payoffAmount": {
                "type": "number",
                "description": "Payoff Amount",
                "format": "double"
              },
              "account": {
                "type": "string",
                "description": "Account number or other means to identify the loan.",
                "nullable": true
              },
              "payoffIndicator": {
                "type": "boolean",
                "description": "A value indicating whether [payoff indicator]."
              },
              "holder": {
                "description": "Name of the person or organization getting paid",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "paidFrom": {
                "description": "Paid From",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "collateralId": {
                "type": "string",
                "description": "Collateral Item with a lien being paid off from loan proceeds",
                "nullable": true
              },
              "payeeNameDesc": {
                "type": "string",
                "description": "Name or description of payoff recipient.",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "description": "Dollar amount of a payoff.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "SupportingParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The Supporting Party",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingPartyType"
                  }
                ]
              },
              "link": {
                "description": "Indicates where the tax bills will be sent.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CompanyType"
                  }
                ]
              },
              "deliveryType": {
                "description": "Indicates the manner in which the document will be returned once it has been recorded.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryType"
                  }
                ]
              },
              "title": {
                "type": "string",
                "description": "The title of the party requesting recording.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "Name of a Loan Officer.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number.",
                "nullable": true
              },
              "fax": {
                "type": "string",
                "description": "The fax.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The Email.",
                "nullable": true
              },
              "address": {
                "description": "The Address.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "nmlsNo": {
                "type": "string",
                "description": "The NMLS Identifier",
                "nullable": true
              },
              "licenseNumber": {
                "type": "string",
                "description": "The license number",
                "nullable": true
              },
              "barNumber": {
                "type": "string",
                "description": "The Bar number",
                "nullable": true
              },
              "organizedUnder": {
                "type": "string",
                "description": "The organized under",
                "nullable": true
              },
              "loanNo": {
                "type": "string",
                "description": "The Loan Number",
                "nullable": true
              },
              "legal": {
                "type": "string",
                "description": "The legal",
                "nullable": true
              },
              "stateLicensingExemptIndicator": {
                "type": "boolean",
                "description": "The State licensing exempt indicator",
                "nullable": true
              },
              "officer": {
                "description": "The Supporting Party Officer",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "cust": {
                "type": "boolean",
                "description": "Indicates Supporting Party is Customer",
                "nullable": true
              },
              "agentName": {
                "type": "string",
                "description": "Name of the title insurance agent.",
                "nullable": true
              },
              "agentLicense": {
                "type": "string",
                "description": "License of the insurance agent.",
                "nullable": true
              },
              "attorneyLicenseNumber": {
                "type": "string",
                "description": "License number of the attorney issuing the title opinion with respect to a mortgage.",
                "nullable": true
              },
              "attorneyName": {
                "type": "string",
                "description": "Name of the attorney issuing the title opinion with respect to a mortgage.",
                "nullable": true
              },
              "companyName": {
                "type": "string",
                "description": "The name of the title insurance company.",
                "nullable": true
              },
              "initials": {
                "type": "string",
                "description": "The initials of the financial institution's representative for the transaction.",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "The First Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The Middle Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The Last Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The Suffix of the SmartSign Plus signing party",
                "nullable": true
              },
              "stateLicenseId": {
                "type": "string",
                "description": "Loan Contacg State License ID #",
                "nullable": true
              }
            }
          }
        ]
      },
      "SupportingPartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "NaturalPerson",
          "Organization",
          "Individual",
          "Entity"
        ],
        "enum": [
          "Unknown",
          "NaturalPerson",
          "Organization",
          "Individual",
          "Entity"
        ]
      },
      "CompanyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "Lender",
          "Branch",
          "Broker",
          "Investor",
          "SettlementAgent",
          "TitleCompany",
          "InvestorMailPmt",
          "Other",
          "CountyTax",
          "CityTax"
        ],
        "x-enum-descriptions": [
          "",
          null,
          null,
          null,
          null,
          "Settlement Agent",
          "Title Company",
          null,
          null,
          null,
          null
        ],
        "enum": [
          "None",
          "Lender",
          "Branch",
          "Broker",
          "Investor",
          "SettlementAgent",
          "TitleCompany",
          "InvestorMailPmt",
          "Other",
          "CountyTax",
          "CityTax"
        ]
      },
      "DeliveryType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Mail",
          "Pickup",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ],
        "x-enum-descriptions": [
          "",
          "Mail",
          "Pickup",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ],
        "enum": [
          "Unknown",
          "Mail",
          "Pickup",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ]
      },
      "Address": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "streetLine1": {
                "type": "string",
                "description": "Street Address Line 1",
                "nullable": true
              },
              "issuerStreetLine1": {
                "type": "string",
                "description": "Street address of the issuer",
                "nullable": true
              },
              "city": {
                "type": "string",
                "description": "City",
                "nullable": true
              },
              "state": {
                "description": "State",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "description": "Zip Code",
                "nullable": true
              },
              "unitType": {
                "description": "Unit Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "unitNo": {
                "type": "string",
                "description": "Unit Number",
                "nullable": true
              },
              "county": {
                "type": "string",
                "description": "Country",
                "nullable": true
              },
              "sectionDesc": {
                "type": "string",
                "description": "Section Desc",
                "nullable": true
              },
              "lotDesc": {
                "type": "string",
                "description": "Lot Desc",
                "nullable": true
              },
              "unitDesc": {
                "type": "string",
                "description": "Unit Desc",
                "nullable": true
              },
              "blockDesc": {
                "type": "string",
                "description": "Block Desc",
                "nullable": true
              },
              "useCurrentAddressforMailing": {
                "type": "boolean",
                "description": "If true, mailing address of a loan party is the same as a current address.",
                "nullable": true
              },
              "ownRent": {
                "description": "This identifies if the loan party owns or rents their home.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HousingStatusType"
                  }
                ]
              },
              "ownRentOtherDesc": {
                "type": "string",
                "description": "The reason the loan party is living at this address.",
                "nullable": true
              },
              "yearsAtAddress": {
                "type": "string",
                "description": "The number of years the loan party has lived at the permanent address.",
                "nullable": true
              },
              "parcel": {
                "type": "string",
                "description": "The parcel or county tax identification number for the real property",
                "nullable": true
              },
              "leaseDate": {
                "type": "string",
                "description": "The date of the lease for the property at this address.",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "StateAbbr": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AK",
          "AL",
          "AR",
          "AZ",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NM",
          "NV",
          "NY",
          "OH",
          "OK",
          "OR",
          "PA",
          "RI",
          "SC",
          "SD",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY"
        ],
        "enum": [
          "AK",
          "AL",
          "AR",
          "AZ",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NM",
          "NV",
          "NY",
          "OH",
          "OK",
          "OR",
          "PA",
          "RI",
          "SC",
          "SD",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY"
        ]
      },
      "AddressUnitType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Apartment",
          "Basement",
          "Building",
          "Condo",
          "Department",
          "Floor",
          "Front",
          "Hangar",
          "Key",
          "Lobby",
          "Lot",
          "Lower",
          "Office",
          "Penthouse",
          "Pier",
          "Rear",
          "Room",
          "Side",
          "Space",
          "Stop",
          "Suite",
          "Trailer",
          "Unit",
          "Upper",
          "Other"
        ],
        "enum": [
          "Apartment",
          "Basement",
          "Building",
          "Condo",
          "Department",
          "Floor",
          "Front",
          "Hangar",
          "Key",
          "Lobby",
          "Lot",
          "Lower",
          "Office",
          "Penthouse",
          "Pier",
          "Rear",
          "Room",
          "Side",
          "Space",
          "Stop",
          "Suite",
          "Trailer",
          "Unit",
          "Upper",
          "Other"
        ]
      },
      "HousingStatusType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Own",
          "Rent",
          "Other",
          "Unknown"
        ],
        "x-enum-descriptions": [
          "Own",
          "Rent",
          "Other",
          null
        ],
        "enum": [
          "Own",
          "Rent",
          "Other",
          "Unknown"
        ]
      },
      "PrepayPenalty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "verbiage": {
                "type": "string",
                "description": "The verbiage.",
                "nullable": true
              },
              "type": {
                "description": "Specifies the type of prepayment penalty that applies to the note.  NOTE:  If no prepayment penalty applies no value should be selected",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrepaymentPenaltyType"
                  }
                ]
              },
              "trigger": {
                "type": "boolean",
                "description": "Indicates whether this prepayment penalty is triggered."
              },
              "steps": {
                "type": "array",
                "description": "The steps involved in the prepayment penalty.",
                "items": {
                  "$ref": "#/components/schemas/PrepayPenaltyStep"
                }
              },
              "endAge": {
                "type": "string",
                "description": "The end age.",
                "nullable": true
              },
              "location": {
                "type": "string",
                "description": "The location.",
                "nullable": true
              },
              "term": {
                "type": "integer",
                "description": "The term.",
                "format": "int32"
              },
              "maxAmt": {
                "type": "number",
                "description": "The maximum amount.",
                "format": "decimal"
              },
              "name": {
                "type": "string",
                "description": "The name of prepaypenalty.",
                "nullable": true
              },
              "mayExceed2PercOfAmtPrepaid": {
                "type": "boolean",
                "description": "Indicates whether the prepayment penalty may exceed 2% of the amount prepaid."
              },
              "mayExceed1PercOfAmtPrepaidIn3rdYear": {
                "type": "boolean",
                "description": "Indicates whether the prepayment penalty may exceed 1% of the amount prepaid in the 3rd year."
              },
              "amount": {
                "type": "number",
                "description": "The amount.",
                "format": "decimal"
              },
              "financed": {
                "type": "boolean",
                "description": "Indicates whether this prepayment penalty is financed."
              },
              "rateWithoutPrepay": {
                "type": "number",
                "description": "The rate without prepayment penalty.",
                "format": "decimal"
              },
              "feesWithoutPrepay": {
                "type": "number",
                "description": "The fees without prepayment penalty.",
                "format": "decimal"
              },
              "cust": {
                "type": "boolean",
                "description": "Indicates whether this prepayment penalty is customer-specific."
              },
              "expirationDate": {
                "type": "string",
                "description": "The last date on which the prepayment penalty may be imposed.",
                "format": "date",
                "nullable": true
              },
              "percent": {
                "type": "number",
                "description": "The percentage of the prepayment penalty charged",
                "format": "decimal",
                "nullable": true
              },
              "lastLoanYearNumber": {
                "type": "integer",
                "description": "Indicates the loan year after which a penalty will no longer be imposed if prepayment occurs.",
                "format": "int32"
              },
              "monthsNumber": {
                "type": "integer",
                "description": "The number of months interest charged for the prepayment penalty.",
                "format": "int32",
                "nullable": true
              },
              "userDefinedPrepaymentProvision": {
                "type": "string",
                "description": "The description for the other type of prepayment penalty that applies to the note.",
                "nullable": true
              },
              "lastStepType": {
                "description": "Specifies what kind of a prepayment penalty (if any) will apply after the last step in a multi-step prepayment penalty.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LastStepType"
                  }
                ]
              },
              "flatFeeAmount": {
                "type": "number",
                "description": "The dollar amount that will be charged as a prepayment penalty.",
                "format": "decimal",
                "nullable": true
              },
              "timingType": {
                "description": "The type of timing limitation, if any, for applicability of the prepayment penalty.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimingType"
                  }
                ]
              },
              "startDate": {
                "type": "string",
                "description": "The calendar start date on which the prepayment penalty may first be imposed.",
                "format": "date",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "description": "The prepayment penalty calendar end date that is prior to full maturity.",
                "format": "date",
                "nullable": true
              },
              "atLenderOptionIndicator": {
                "type": "boolean",
                "description": "If true, the prepayment option on the note is at the option of the lender.",
                "nullable": true
              },
              "startDateOptionType": {
                "description": "The type of prepayment penalty option that begins after the Note Date.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StartDateOptionType"
                  }
                ]
              }
            }
          }
        ]
      },
      "PrepaymentPenaltyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "FixedPercentage",
          "LossofBank",
          "MonthsInterest",
          "MultiStep",
          "FlatFeeAmount",
          "Other"
        ],
        "enum": [
          "Unknown",
          "FixedPercentage",
          "LossofBank",
          "MonthsInterest",
          "MultiStep",
          "FlatFeeAmount",
          "Other"
        ]
      },
      "PrepayPenaltyStep": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "number": {
                "type": "integer",
                "description": "The percentage of the prepayment penalty charged for the specified step (in a multi-step prepayment penalty situation).",
                "format": "int32"
              },
              "startDate": {
                "type": "string",
                "description": "The beginning date for the respective step of the multi-step prepayment penalty.",
                "format": "date",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "description": "The ending date for the respective step of the multi-step prepayment penalty.",
                "format": "date",
                "nullable": true
              },
              "percent": {
                "type": "number",
                "description": "The percentage of the prepayment penalty charged for the specified step (in a multi-step prepayment penalty situation).",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "LastStepType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NoPrepaymentPenaltyatEndofLastStep",
          "ConstantPrepaymentPenaltyAfterLastStep"
        ],
        "enum": [
          "NoPrepaymentPenaltyatEndofLastStep",
          "ConstantPrepaymentPenaltyAfterLastStep"
        ]
      },
      "TimingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PrepaymentAtAnyTime",
          "PrepaymentOnOrAfterStartDate",
          "PrepaymentOnOrAfterStartDateThroughEndDate",
          "PrepaymentOnOrBeforeEndDate"
        ],
        "x-enum-descriptions": [
          "Prepayment at any time",
          "Prepayment on or after start date",
          "Prepayment on or after start date through end date",
          "Prepayment on or before end date"
        ],
        "enum": [
          "PrepaymentAtAnyTime",
          "PrepaymentOnOrAfterStartDate",
          "PrepaymentOnOrAfterStartDateThroughEndDate",
          "PrepaymentOnOrBeforeEndDate"
        ]
      },
      "StartDateOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ConversionDate",
          "CalendarDate"
        ],
        "x-enum-descriptions": [
          "Conversion Date",
          "Calendar Date"
        ],
        "enum": [
          "ConversionDate",
          "CalendarDate"
        ]
      },
      "LoanPolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "confessionOfJudgmentAttorneyInFactCourtDesc": {
                "type": "string",
                "description": "The name of the court in which the attorney in fact would appear.",
                "nullable": true
              },
              "confessionOfJudgmentAttorneyInFactName": {
                "type": "string",
                "description": "The name of the attorney in fact to confess judgment.",
                "nullable": true
              },
              "insuranceCancellationDaysCount": {
                "type": "integer",
                "description": "The number of days notice that any insurance company must provide before cancelling or modifying the coverage on any property held by a party to the Loan.",
                "format": "int32",
                "nullable": true
              },
              "federalRegulationOInd": {
                "type": "boolean",
                "description": "If true, the lender has identified that the transaction is subject to federal Regulation O. This is specific to the Federal Regulation O Addendum.",
                "nullable": true
              },
              "executionState": {
                "description": "The state in which the documents are executed.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "executionCounty": {
                "type": "string",
                "description": "The county in which the documents are executed.",
                "nullable": true
              },
              "executionCity": {
                "type": "string",
                "description": "The city in which the documents are executed.",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanDefault": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The type of default rate.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DefaultRateType"
                  }
                ]
              },
              "interestRate": {
                "type": "number",
                "description": "Rate for default rate",
                "format": "decimal",
                "nullable": true
              },
              "additionalMargin": {
                "type": "number",
                "description": "Margin for default rate",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "DefaultRateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SpecificPercentage",
          "SameBasisPlus"
        ],
        "enum": [
          "SpecificPercentage",
          "SameBasisPlus"
        ]
      },
      "LoanProgram": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CommercialRealEstate",
          "WorkingCapitalLOC",
          "EquipmentLOC",
          "ConstructionLoan",
          "LetterofCreditFacility",
          "SBA",
          "SinglePay",
          "Closing"
        ],
        "enum": [
          "CommercialRealEstate",
          "WorkingCapitalLOC",
          "EquipmentLOC",
          "ConstructionLoan",
          "LetterofCreditFacility",
          "SBA",
          "SinglePay",
          "Closing"
        ]
      },
      "OddDays": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "oddDaysNumber": {
                "type": "integer",
                "description": "Number of odd days",
                "format": "int32"
              },
              "numberOfDaysInYear": {
                "type": "integer",
                "description": "Number Of Days In Year for odd days",
                "format": "int32"
              }
            }
          }
        ]
      },
      "Balloon": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "balloonOptions": {
                "description": "Specifies how Balloon loan should be applied and calculated  when Balloon repayment method is selected",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BalloonOptions"
                  }
                ]
              },
              "amortizationTerm": {
                "type": "integer",
                "description": "Number of Payments for Amortization when Balloon repayment method is selected",
                "format": "int32",
                "nullable": true
              },
              "levelPaymentAmount": {
                "type": "number",
                "description": "Level Payment Amount when Balloon repayment method is selected",
                "format": "decimal",
                "nullable": true
              },
              "finalBalloonPaymentAmount": {
                "type": "number",
                "description": "Final Balloon Payment Amount when Balloon repayment method is selected",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "BalloonOptions": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NoBalloon",
          "NumberOfPaymentsForAmortization",
          "LevelPaymentAmount",
          "FinalBalloonPaymentAmount"
        ],
        "x-enum-descriptions": [
          "No Balloon",
          "Number of Payments for Amortization",
          "Level Payment Amount",
          "Final Balloon Payment Amount"
        ],
        "enum": [
          "NoBalloon",
          "NumberOfPaymentsForAmortization",
          "LevelPaymentAmount",
          "FinalBalloonPaymentAmount"
        ]
      },
      "Disbursement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "payeeNameDesc": {
                "type": "string",
                "description": "Name or description of disbursement recipient.",
                "nullable": true
              },
              "paidFrom": {
                "description": "Source of a disbursement.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "description": "Dollar amount of a disbursement.",
                "format": "decimal",
                "nullable": true
              },
              "payeeName": {
                "type": "string",
                "description": "The description of the name or names of the payee on the disbursement.",
                "nullable": true
              },
              "payeeType": {
                "description": "This identifies the type of party receiving the disbursement.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PayeeType"
                  }
                ]
              },
              "disbursementMethod": {
                "description": "This identifies how the disbursement will be made.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DisbursementMethod"
                  }
                ]
              },
              "disbursementMethodOtherDescription": {
                "type": "string",
                "description": "This identifies how the disbursement will be made when other is selected",
                "nullable": true
              },
              "disbursementAccountIdentifier": {
                "type": "string",
                "description": "The account number into which the funds will be transferred or the check or draft number that will be used to pay the disbursement.",
                "nullable": true
              },
              "disbursementInstructionComments": {
                "type": "string",
                "description": "A description of any additional instructions or comments regarding the disbursements of the note.",
                "nullable": true
              },
              "disbursementAmount": {
                "type": "number",
                "description": "Amount of the disbursement",
                "format": "decimal",
                "nullable": true
              },
              "amountNotClosingCostInd": {
                "type": "boolean",
                "description": "Indicates the amount being disbursed is not for a Closing Cost.",
                "nullable": true
              },
              "totalCollateralCost": {
                "type": "number",
                "description": "Total amount of Collateral(s)",
                "format": "decimal",
                "nullable": true
              },
              "collateral": {
                "description": "Type of Collateral",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralType"
                  }
                ]
              },
              "liabilityId": {
                "type": "string",
                "description": "Liability Id",
                "nullable": true
              }
            }
          }
        ]
      },
      "PayeeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Borrower",
          "Lender",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Borrower",
          "Lender",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Borrower",
          "Lender",
          "Other"
        ]
      },
      "DisbursementMethod": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AdviceOfCredit",
          "BankMoneyOrder",
          "CreditCardPaymentPayoff",
          "DraftCheck",
          "DemandDeposit",
          "LoanPaymentPayoff",
          "MoneyMarket",
          "NegotiableOrderOfWithdrawal",
          "Other",
          "RetailAccountPaymentPayoff",
          "Savings",
          "ShareDraft",
          "Share",
          "WireTransfer",
          "WireTransferPaymentPayoff"
        ],
        "x-enum-descriptions": [
          "",
          "Advice of Credit",
          "Bank Money Order",
          "Credit Card Payment/Payoff",
          "Draft/Check",
          "Demand Deposit",
          "Loan Payment/Payoff",
          "Money Market",
          "Negotiable Order of Withdrawal",
          "Other",
          "Retail Account Payment/Payoff",
          "Savings",
          "Share Draft",
          "Share",
          "Wire Transfer",
          "Wire Transfer Payment/Payoff"
        ],
        "enum": [
          "Unknown",
          "AdviceOfCredit",
          "BankMoneyOrder",
          "CreditCardPaymentPayoff",
          "DraftCheck",
          "DemandDeposit",
          "LoanPaymentPayoff",
          "MoneyMarket",
          "NegotiableOrderOfWithdrawal",
          "Other",
          "RetailAccountPaymentPayoff",
          "Savings",
          "ShareDraft",
          "Share",
          "WireTransfer",
          "WireTransferPaymentPayoff"
        ]
      },
      "CollateralType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Auto1"
        ],
        "x-enum-descriptions": [
          "Auto 1"
        ],
        "enum": [
          "Auto1"
        ]
      },
      "FinancingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "New"
        ],
        "x-enum-descriptions": [
          "New"
        ],
        "enum": [
          "New"
        ]
      },
      "CreditReference": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the company or person who is being used as a credit reference.",
                "nullable": true
              },
              "originalAmount": {
                "type": "number",
                "description": "The original loan amount borrowed from the credit reference.",
                "format": "decimal",
                "nullable": true
              },
              "paidDate": {
                "type": "string",
                "description": "The date the account used as a credit reference was paid off in full.",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "LineOfCredit": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "purposeType": {
                "description": "Specifies the purpose of the Line of Credit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfCreditPurposeType"
                  }
                ]
              },
              "advanceLimitation": {
                "type": "number",
                "description": "The percentage rate that advances made under the line of credit shall be limited to.",
                "format": "decimal",
                "nullable": true
              },
              "assetsDescription": {
                "type": "string",
                "description": "Describes the type of non-real estate assets to be purchased with funds from the Line of Credit.",
                "nullable": true
              },
              "purposeTypeOtherDescription": {
                "type": "string",
                "description": "Describes the 'other' purpose for the Line of Credit.",
                "nullable": true
              },
              "advanceLimitationDescription": {
                "type": "string",
                "description": "This is a description of any limitations on the advances that may be made under the credit line.",
                "nullable": true
              },
              "loanTerm": {
                "type": "integer",
                "description": "Term of the loan",
                "format": "int32",
                "nullable": true
              },
              "eachAdvanceMadeIsAmortizedSeparately": {
                "type": "boolean",
                "description": "true each advance made under the line of credit is amortized separately.",
                "nullable": true
              },
              "maximumAmortizationTermforEachAdvance": {
                "type": "integer",
                "description": "Maximum Amortization Period for Each Advance",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "LineOfCreditPurposeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "EquipmentAcquisition",
          "PurchaseNonRealEstateAssets",
          "Other"
        ],
        "x-enum-descriptions": [
          "Equipment Acquisition",
          "Purchase Non-Real Estate Assets",
          "Other"
        ],
        "enum": [
          "EquipmentAcquisition",
          "PurchaseNonRealEstateAssets",
          "Other"
        ]
      },
      "LoanPurposeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "FinanceChildrenEducation",
          "PurchaseOrImproveProperty",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Finance Children's Education",
          "Purchase/Improve Property",
          "Other"
        ],
        "enum": [
          "Unknown",
          "FinanceChildrenEducation",
          "PurchaseOrImproveProperty",
          "Other"
        ]
      },
      "LoanDecision": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Approved",
          "Denied",
          "Withdrawn"
        ],
        "x-enum-descriptions": [
          "Approved",
          "Denied",
          "Withdrawn"
        ],
        "enum": [
          "Approved",
          "Denied",
          "Withdrawn"
        ]
      },
      "LoanDecisionDeliveryType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ],
        "x-enum-descriptions": [
          "",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ],
        "enum": [
          "Unknown",
          "Mailed",
          "Delivered",
          "Emailed",
          "Telephone",
          "Fax"
        ]
      },
      "ActionReason": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "reasonForDenial": {
                "type": "array",
                "description": "A reason for the loan denial.",
                "items": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ReasonForDenial"
                    }
                  ]
                }
              },
              "otherDenialDescription": {
                "type": "string",
                "description": "A description of the other reason for action taken.",
                "nullable": true
              },
              "idRef": {
                "type": "string",
                "description": "The ID of the party to whom the loan decision action reason relates.",
                "nullable": true
              },
              "reasonForDenialCommercial": {
                "type": "array",
                "description": "A reason for the loan denial.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ReasonForDenialCommercial"
                }
              }
            }
          }
        ]
      },
      "ReasonForDenial": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnableToVerifyCreditReferences",
          "IncomeInsufficientForAmountOfCreditRequested",
          "ExcessiveObligationsInRelationToIncome",
          "UnableToVerifyIncome",
          "TemporaryOrIrregularEmployment",
          "UnableToVerifyEmployment",
          "LengthOfEmployment",
          "LengthOfResidence",
          "TemporaryResidence",
          "UnableToVerifyResidence",
          "NoCreditFile",
          "LimitedCreditExperience",
          "ValueOrTypeOfCollateralNotSufficient",
          "DelinquentPastOrPresentCreditObligationsWithOthers",
          "CollectionActionOrJudgment",
          "Bankruptcy",
          "CreditApplicationIncomplete",
          "PoorCreditPerformanceWithUs",
          "InsufficientNumberOfCreditReferencesProvided",
          "UnacceptableTypeOfCreditReferencesProvided",
          "GarnishmentOrAttachment",
          "ForeclosureOrRepossession",
          "NumberOfRecentInquiriesOnCreditBureauReport",
          "NoCreditScore",
          "LocationOrConditionOfCollateral",
          "ApplicantNotEligibleBorrowerFarmCreditAct",
          "LoanPurposeNotWithinPermittedScope",
          "CustomUnacceptableEmploymentHistoryAndOrIncome",
          "CustomUnverifiableEmploymentHistoryIncome",
          "ExcessiveObligationsInRelationToQualifyingIncome",
          "CustomLengthOfResidenceOrTemporaryResidence",
          "CustomDelinquentPastOrPresentCreditObligationsAndOrUnacceptableCreditPerformanceHistory",
          "CustomUnacceptableOrInsufficientNumberOfCreditReferencesProvidedOrInsufficientCreditFile",
          "CustomInsufficientValueAndOrTypeOfCollateral",
          "CustomInsufficientLiquidAssets",
          "CustomDoesNotMeetRelationshipExpectations",
          "CustomTermsAndConditionsRequestedNotIncludedInQualifyingCreditStandardsOffered",
          "Other"
        ],
        "x-enum-descriptions": [
          "Unable to verify credit references",
          "Income insufficient for amount of credit requested",
          "Excessive obligations in relation to income",
          "Unable to verify income",
          "Temporary or irregular employment",
          "Unable to verify employment",
          "Length of employment",
          "Length of residence",
          "Temporary residence",
          "Unable to verify residence",
          "No credit file",
          "Limited credit experience",
          "Value or type of collateral not sufficient",
          "Delinquent past or present credit obligations with others",
          "Collection action or judgment",
          "Bankruptcy",
          "Credit application incomplete",
          "Poor credit performance with us",
          "Insufficient number of credit references provided",
          "Unacceptable type of credit references provided",
          "Garnishment or attachment",
          "Foreclosure or repossession",
          "Number of recent inquiries on credit bureau report",
          "No credit score",
          "Location or condition of collateral (use only in Massachusetts)",
          "The applicant is not an eligible borrower as defined by Federal Regulations issued pursuant to the Farm Credit Act of 1971 (12 CFR 613:3000 et seq.)",
          "The purpose of the loan requested is not within the permitted scope of the lender's financing authority, as provided in Federal Regulations issued pursuant to the Farm Credit Act of 1971 (12 CFR 613:3000 et seq.)",
          "Custom Unacceptable Employment History and/or Income",
          "Custom Unverifiable Employment History Income",
          "Excessive Obligations in Relation to Qualifying Income",
          "Custom Length Of Residence Or Temporary Residence",
          "Custom Delinquent Past Or Present Credit Obligations And Or Unacceptable Credit Performance History",
          "Custom Unacceptable Or Insufficient Number Of Credit References Provided Or Insufficient Credit File",
          "Custom Insufficient Value And Or Type Of Collateral",
          "Custom Insufficient Liquid Assets",
          "Custom Does Not Meet Relationship Expectations",
          "Custom Terms And Conditions Requested Not Included In Qualifying Credit Standards Offered",
          "Other"
        ],
        "enum": [
          "UnableToVerifyCreditReferences",
          "IncomeInsufficientForAmountOfCreditRequested",
          "ExcessiveObligationsInRelationToIncome",
          "UnableToVerifyIncome",
          "TemporaryOrIrregularEmployment",
          "UnableToVerifyEmployment",
          "LengthOfEmployment",
          "LengthOfResidence",
          "TemporaryResidence",
          "UnableToVerifyResidence",
          "NoCreditFile",
          "LimitedCreditExperience",
          "ValueOrTypeOfCollateralNotSufficient",
          "DelinquentPastOrPresentCreditObligationsWithOthers",
          "CollectionActionOrJudgment",
          "Bankruptcy",
          "CreditApplicationIncomplete",
          "PoorCreditPerformanceWithUs",
          "InsufficientNumberOfCreditReferencesProvided",
          "UnacceptableTypeOfCreditReferencesProvided",
          "GarnishmentOrAttachment",
          "ForeclosureOrRepossession",
          "NumberOfRecentInquiriesOnCreditBureauReport",
          "NoCreditScore",
          "LocationOrConditionOfCollateral",
          "ApplicantNotEligibleBorrowerFarmCreditAct",
          "LoanPurposeNotWithinPermittedScope",
          "CustomUnacceptableEmploymentHistoryAndOrIncome",
          "CustomUnverifiableEmploymentHistoryIncome",
          "ExcessiveObligationsInRelationToQualifyingIncome",
          "CustomLengthOfResidenceOrTemporaryResidence",
          "CustomDelinquentPastOrPresentCreditObligationsAndOrUnacceptableCreditPerformanceHistory",
          "CustomUnacceptableOrInsufficientNumberOfCreditReferencesProvidedOrInsufficientCreditFile",
          "CustomInsufficientValueAndOrTypeOfCollateral",
          "CustomInsufficientLiquidAssets",
          "CustomDoesNotMeetRelationshipExpectations",
          "CustomTermsAndConditionsRequestedNotIncludedInQualifyingCreditStandardsOffered",
          "Other"
        ]
      },
      "ReasonForDenialCommercial": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnableToVerifyCreditReferences",
          "IncomeInsufficientForAmountOfCreditRequested",
          "ExcessiveObligationsInRelationToIncome",
          "UnableToVerifyIncome",
          "TemporaryOrIrregularEmployment",
          "UnableToVerifyEmployment",
          "LengthOfEmployment",
          "LengthOfResidence",
          "TemporaryResidence",
          "UnableToVerifyResidence",
          "NoCreditFile",
          "LimitedCreditExperience",
          "ValueOrTypeOfCollateralNotSufficient",
          "DelinquentPastOrPresentCreditObligationsWithOthers",
          "CollectionActionOrJudgment",
          "Bankruptcy",
          "CreditApplicationIncomplete",
          "PoorCreditPerformanceWithUs",
          "InsufficientNumberOfCreditReferencesProvided",
          "UnacceptableTypeOfCreditReferencesProvided",
          "GarnishmentOrAttachment",
          "ForeclosureOrRepossession",
          "NumberOfRecentInquiriesOnCreditBureauReport",
          "NoCreditScore",
          "LackOfEstablishedEarningsRecord",
          "SlowOrPastDueInTradeOrLoanPayments",
          "ApplicantNotEligibleBorrowerFarmCreditAct",
          "LoanPurposeNotWithinPermittedScope",
          "TaxOrOtherLiens",
          "EarningsHistoryDoesNotSupportProjection",
          "LacksRelevantBusinessExperience",
          "PastPerformanceInadequate",
          "InadequacyOfBusinessAndOrSuccessionPlanning",
          "ExcessiveLeverage",
          "WorkingCapitalInsufficiency",
          "ProposedLoanStructureIsNotAcceptable",
          "LoanRequestForOperationsIsExcessiveRelativeToOperatingExpenses",
          "Other"
        ],
        "x-enum-descriptions": [
          "Unable to verify credit references",
          "Income insufficient for amount of credit requested",
          "Excessive obligations in relation to income",
          "Unable to verify income",
          "Temporary or irregular employment",
          "Unable to verify employment",
          "Length of employment",
          "Length of residence",
          "Temporary residence",
          "Unable to verify residence",
          "No credit file",
          "Limited credit experience",
          "Value or type of collateral not sufficient",
          "Delinquent past or present credit obligations with others",
          "Collection action or judgment",
          "Bankruptcy",
          "Credit application incomplete",
          "Poor credit performance with us",
          "Insufficient number of credit references provided",
          "Unacceptable type of credit references provided",
          "Garnishment or attachment",
          "Foreclosure or repossession",
          "Number of recent inquiries on credit bureau report",
          "No credit score",
          "Lack of established earnings record",
          "Slow or past due in trade or loan payments",
          "The applicant is not an eligible borrower as defined by Federal Regulations issued pursuant to the Farm Credit Act of 1971 (12 CFR 613:3000 et seq.)",
          "The purpose of the loan requested is not within the permitted scope of the lender's financing authority, as provided in Federal Regulations issued pursuant to the Farm Credit Act of 1971 (12 CFR 613:3000 et seq.)",
          "Tax or other liens",
          "Earnings history does not support projection",
          "Lacks relevant business experience",
          "Past performance inadequate",
          "Inadequacy of business and/or succession planning",
          "Excessive leverage",
          "Working capital insufficiency",
          "Proposed loan structure is not acceptable",
          "Loan request for operations is excessive relative to operating expenses",
          "Other"
        ],
        "enum": [
          "UnableToVerifyCreditReferences",
          "IncomeInsufficientForAmountOfCreditRequested",
          "ExcessiveObligationsInRelationToIncome",
          "UnableToVerifyIncome",
          "TemporaryOrIrregularEmployment",
          "UnableToVerifyEmployment",
          "LengthOfEmployment",
          "LengthOfResidence",
          "TemporaryResidence",
          "UnableToVerifyResidence",
          "NoCreditFile",
          "LimitedCreditExperience",
          "ValueOrTypeOfCollateralNotSufficient",
          "DelinquentPastOrPresentCreditObligationsWithOthers",
          "CollectionActionOrJudgment",
          "Bankruptcy",
          "CreditApplicationIncomplete",
          "PoorCreditPerformanceWithUs",
          "InsufficientNumberOfCreditReferencesProvided",
          "UnacceptableTypeOfCreditReferencesProvided",
          "GarnishmentOrAttachment",
          "ForeclosureOrRepossession",
          "NumberOfRecentInquiriesOnCreditBureauReport",
          "NoCreditScore",
          "LackOfEstablishedEarningsRecord",
          "SlowOrPastDueInTradeOrLoanPayments",
          "ApplicantNotEligibleBorrowerFarmCreditAct",
          "LoanPurposeNotWithinPermittedScope",
          "TaxOrOtherLiens",
          "EarningsHistoryDoesNotSupportProjection",
          "LacksRelevantBusinessExperience",
          "PastPerformanceInadequate",
          "InadequacyOfBusinessAndOrSuccessionPlanning",
          "ExcessiveLeverage",
          "WorkingCapitalInsufficiency",
          "ProposedLoanStructureIsNotAcceptable",
          "LoanRequestForOperationsIsExcessiveRelativeToOperatingExpenses",
          "Other"
        ]
      },
      "AutoTransfer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "automaticPaymentType": {
                "description": "This item identifies if the lender will be using the Automatic Transfer Authorization or the Authorization for Preauthorized Payments.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AutomaticPaymentType"
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the account owner.",
                "nullable": true
              },
              "authorizationNumber": {
                "type": "string",
                "description": "Authorization number for the transfer agreement assigned by the financial institution.",
                "nullable": true
              },
              "streetLine1": {
                "type": "string",
                "description": "The first line of the street address of the Account Owner.",
                "nullable": true
              },
              "unitType": {
                "description": "The unit type of an Account Owner's address.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "unitNo": {
                "type": "string",
                "description": "The unit number of an Account Owner's address.",
                "nullable": true
              },
              "city": {
                "type": "string",
                "description": "The city of the address of the Account Owner.",
                "nullable": true
              },
              "state": {
                "description": "The state of the address of the Account Owner.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "description": "The zip code of the address of the Account Owner.",
                "nullable": true
              },
              "emailAddress": {
                "type": "string",
                "description": "The email address of the automatic transfer account holder.",
                "nullable": true
              },
              "fromAccountNumber": {
                "type": "string",
                "description": "The customer/member number. This may be different from the loan number.",
                "nullable": true
              },
              "fromAccountType": {
                "description": "The kind of account from which funds are being transferred.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FromAccountType"
                  }
                ]
              },
              "fromOtherTypeDescription": {
                "type": "string",
                "description": "The other kind of account from which funds are being transferred.",
                "nullable": true
              },
              "permissionRequiredInd": {
                "type": "boolean",
                "description": "If true, the account owner permission is required to continue charging the Debited Account.",
                "nullable": true
              },
              "toAccountNumber": {
                "type": "string",
                "description": "The customer/member number. This may be different from the loan number.",
                "nullable": true
              },
              "toAccountType": {
                "description": "The kind of account to which funds are being transferred.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ToAccountType"
                  }
                ]
              },
              "toOtherTypeDescription": {
                "type": "string",
                "description": "The other kind of account to which funds are being transferred.",
                "nullable": true
              },
              "transferReason": {
                "description": "The reason for the automatic transfer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferReasonType"
                  }
                ]
              },
              "transferAmount": {
                "type": "number",
                "description": "If the Amount to be Transferred is different than the Loan Payment Amount the amount to be transferred. If the payment amount will vary due to adjustments in the interest rate or terms of the Loan enter the terms under which this Loan will be repaid.",
                "format": "decimal",
                "nullable": true
              },
              "effectiveDate": {
                "type": "string",
                "description": "The date the automatic transfer authorization is effective.",
                "format": "date",
                "nullable": true
              },
              "expirationDate": {
                "type": "string",
                "description": "The date the automatic transfer authorization expires.",
                "format": "date",
                "nullable": true
              },
              "frequency": {
                "description": "The frequency of periodic transfers.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FrequencyType"
                  }
                ]
              },
              "otherFrequencyDescription": {
                "type": "string",
                "description": "A description of the frequency of the transfer under the Automatic Transfer Authorization when it is a set frequency.",
                "nullable": true
              },
              "transferDateType": {
                "description": "Specifies whether the requested transfer is being accepted on a processing day or non-processing day for the institution. If on a non-processing day, the transfer will be made the day after the requested date.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferDateType"
                  }
                ]
              },
              "minimumRequiredBalance": {
                "type": "number",
                "description": "The account balance which will trigger a maintenance transfer.",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceTransferMultipleAmount": {
                "type": "number",
                "description": "The amount that will be transferred to maintain the balance in another account.",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceFeeAmount": {
                "type": "number",
                "description": "The amount of the fee that will be imposed for transfers to maintain the balance in another account.",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceFeeTriggeringEvent": {
                "type": "string",
                "description": "The event or period that triggers the maintenance transfer fee for example for each 'transfer' or each 'month in which transfers are made.'",
                "nullable": true
              },
              "insufficientFundsTransferMultipleAmount": {
                "type": "number",
                "description": "The multiple to be used in determining the amount to be transferred to cover overdrafts.",
                "format": "decimal",
                "nullable": true
              },
              "insufficientFundsFeeAmount": {
                "type": "number",
                "description": "The amount of the fee that will be imposed for insufficient funds transfers.",
                "format": "decimal",
                "nullable": true
              },
              "insufficientFundsEventDescription": {
                "type": "string",
                "description": "The conditions under which the fee for insufficient funds transfers will be imposed (e.g. for each 'transfer in excess of one per month')",
                "nullable": true
              },
              "transferFeeChargedTo": {
                "description": "Specifies the type of account where the fee will be charged under the Automatic Transfer Authorization.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferFeeChargedToType"
                  }
                ]
              },
              "otherTransferFeeChargedToDescription": {
                "type": "string",
                "description": "The description of the other type of account where the fee for maintenance of funds transfer or insufficient funds transfer will be charged under the Automatic Transfer Authorization.",
                "nullable": true
              },
              "automaticTransferAdditionalTerms": {
                "type": "string",
                "description": "A description of additional terms that apply to the Automatic Transfer Authorization.",
                "nullable": true
              },
              "includeTerminationAgreementInd": {
                "type": "boolean",
                "description": "If true, the lender would like the Termination Agreement to be included in the Automatic Transfer.",
                "nullable": true
              },
              "terminationDaysDescription": {
                "type": "string",
                "description": "The number of days (written out) after notice of cancellation is given that the financial institution may continue to transfer funds before the final termination.",
                "nullable": true
              },
              "terminationDate": {
                "type": "string",
                "description": "The effective termination date of the automatic transfer.",
                "format": "date",
                "nullable": true
              },
              "updateExistingAuthorizationInd": {
                "type": "boolean",
                "description": "If true this is a change to an existing authorization.",
                "nullable": true
              },
              "standingAuthorizationInd": {
                "type": "boolean",
                "description": "If true, the authorization is for a standing authorization.",
                "nullable": true
              },
              "standingAuthorizationDescription": {
                "type": "string",
                "description": "The description of affirmative action the borrower or account owner must take to initiate a subsequent entry under a standing authorization.",
                "nullable": true
              },
              "authorizationDate": {
                "type": "string",
                "description": "The transaction date for the preauthorized payment authorization.",
                "format": "date",
                "nullable": true
              },
              "entryType": {
                "description": "Specifies if the payment is for a single one-time entry, subsequent entries that require the borrower's or account owner's affirmative action to initiate an entry, or recurring entries that do not require further affirmative action by the borrower or account owner.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedPaymentEntryType"
                  }
                ]
              },
              "achFrequency": {
                "description": "Specifies the frequency of the transfer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedFrequencyType"
                  }
                ]
              },
              "paymentType": {
                "description": "Specifies the type of preauthorized payment that is being authorized.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedPaymentType"
                  }
                ]
              },
              "paymentAmountMethodDescription": {
                "type": "string",
                "description": "The method of determining the amount of the debit.",
                "nullable": true
              },
              "paymentDescription": {
                "type": "string",
                "description": "The description of the payment; for example, car loan payment #123456789 or life insurance policy payment etc.",
                "nullable": true
              },
              "minimumAmount": {
                "type": "number",
                "description": "The minimum amount in the authorized payment range.  If a debit falls below this minimum a notice will be sent to the account holder authorizing the preauthorized payments.",
                "format": "decimal",
                "nullable": true
              },
              "maximumAmount": {
                "type": "number",
                "description": "The preauthorized payments must not exceed this dollar amount.",
                "format": "decimal",
                "nullable": true
              },
              "paymentDifferenceAmount": {
                "type": "number",
                "description": "The dollar amount that a payment may vary from the most recent payment by before a notice is sent to the account holder.",
                "format": "decimal",
                "nullable": true
              },
              "noticeType": {
                "description": "Specifies under what circumstance a notice should be sent to the account holder regarding a preauthorized payment.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NoticeType"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "description": "Specifies the amount of each scheduled transfer.",
                "format": "decimal",
                "nullable": true
              },
              "financialInstitutionName": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution name.",
                "nullable": true
              },
              "branch": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution branch.",
                "nullable": true
              },
              "financialInstitutionCity": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution city.",
                "nullable": true
              },
              "financialInstitutionState": {
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution state.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "financialInstitutionZip": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution postal code.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution phone number.",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "description": "The account number from which the funds for the preauthorized transfer are drawn.",
                "nullable": true
              },
              "accountType": {
                "description": "For preauthorized transfers coming from an outside financial institution this is the type of the external account it is coming from.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AccountType"
                  }
                ]
              },
              "financialInstitutionRoutingNumber": {
                "type": "string",
                "description": "For preauthorized transfers coming from an outside financial institution this is that institution routing number.",
                "nullable": true
              },
              "voidedItemInd": {
                "type": "boolean",
                "description": "If true a voided check/draft/deposit slip is attached to the authorization for preauthorized payments.",
                "nullable": true
              },
              "insufficientFundsPolicyDescription": {
                "type": "string",
                "description": "The description of the bank policy for insufficient funds for recurring automatic debits.",
                "nullable": true
              },
              "nonProcessingDayPolicyDescription": {
                "type": "string",
                "description": "The description of the bank's non-processing day policy for recurring automatic debits.",
                "nullable": true
              },
              "revocationManner": {
                "type": "string",
                "description": "The manner of the revocation, eg., in writing, by phone, location, address, etc.",
                "nullable": true
              },
              "noticeTimeRequirement": {
                "type": "string",
                "description": "The description of the time required for prior notice.",
                "nullable": true
              },
              "authorizationRevocationPolicy": {
                "type": "string",
                "description": "This description details in full the bank policy for revoking an authorization for recurring automatic debits.",
                "nullable": true
              },
              "authorizationDocumentInd": {
                "type": "boolean",
                "description": "true the Automatic Transfer Authorization document should be selected for consumer installment transactions.",
                "nullable": true
              },
              "accountInstitution": {
                "description": "Financial Instituition from which account funds are being transferred under the Automatic Transfer Authorization",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AutoTransferAccountInstitution"
                  }
                ]
              },
              "lenderRoutingNumber": {
                "type": "string",
                "description": "The ABA Routing number for the financial institution.",
                "nullable": true
              },
              "rateDiscountAutoDebitPercent": {
                "type": "number",
                "description": "The discount percentage the customer is receiving for having loan payments automatically withdrawn from an account.",
                "format": "decimal",
                "nullable": true
              },
              "accountIdentifier": {
                "type": "string",
                "description": "The transaction account number from which automatic payments will be made.",
                "nullable": true
              },
              "additionalPrincipalAmountInd": {
                "type": "boolean",
                "description": "true there is an additional amount above the regular payment amount to be included in each automatic transfer.",
                "nullable": true
              },
              "additionalPrincipalAmount": {
                "type": "number",
                "description": "The additional amount above the regular payment amount to be included in each automatic transfer.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "AutomaticPaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AutomaticTransferAuthorization",
          "AuthorizationForPreauthorizedPaymentsInd"
        ],
        "x-enum-descriptions": [
          "",
          "Automatic Transfer Authorization",
          "Authorization for Preauthorized ACH Payments"
        ],
        "enum": [
          "Unknown",
          "AutomaticTransferAuthorization",
          "AuthorizationForPreauthorizedPaymentsInd"
        ]
      },
      "FromAccountType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Checking",
          "NOW",
          "Savings",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Checking",
          "NOW",
          "Savings",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Checking",
          "NOW",
          "Savings",
          "Other"
        ]
      },
      "ToAccountType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Checking",
          "ClubAccount",
          "InstallmentLoanPayment",
          "MortgageLoanPayment",
          "NOW",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Checking",
          "Club Account",
          "Installment Loan Payment",
          "Mortgage Loan Payment",
          "NOW",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Checking",
          "ClubAccount",
          "InstallmentLoanPayment",
          "MortgageLoanPayment",
          "NOW",
          "Other"
        ]
      },
      "TransferReasonType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "InsufficientFundsTransfer",
          "MaintenanceTransfer",
          "PeriodTransfers"
        ],
        "x-enum-descriptions": [
          "",
          "Insufficient Funds Transfer",
          "Maintenance Transfer",
          "Period Transfers"
        ],
        "enum": [
          "Unknown",
          "InsufficientFundsTransfer",
          "MaintenanceTransfer",
          "PeriodTransfers"
        ]
      },
      "FrequencyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Monthly",
          "Biweekly",
          "Quarterly",
          "Weekly",
          "Other",
          "Annually",
          "Periodic",
          "SemiAnnually",
          "SemiMonthly"
        ],
        "x-enum-descriptions": [
          "",
          "Monthly",
          "Biweekly",
          "Quarterly1",
          "Weekly",
          "Other",
          "Annually",
          "Periodic",
          "SemiAnnually",
          "Semi-Monthly"
        ],
        "enum": [
          "Unknown",
          "Monthly",
          "Biweekly",
          "Quarterly",
          "Weekly",
          "Other",
          "Annually",
          "Periodic",
          "SemiAnnually",
          "SemiMonthly"
        ]
      },
      "TransferDateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "NonProcessingDay",
          "ProcessingDay"
        ],
        "x-enum-descriptions": [
          "",
          "Non Processing Day",
          "Processing Day"
        ],
        "enum": [
          "Unknown",
          "NonProcessingDay",
          "ProcessingDay"
        ]
      },
      "TransferFeeChargedToType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "DebitAccount",
          "CreditAccount",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Debit Account",
          "Credit Account",
          "Other"
        ],
        "enum": [
          "Unknown",
          "DebitAccount",
          "CreditAccount",
          "Other"
        ]
      },
      "PreauthorizedPaymentEntryType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "OneTimeEntry",
          "RecurringNoAction",
          "SubsequentWithAction"
        ],
        "x-enum-descriptions": [
          "",
          "One-time entry",
          "Recurring entries not requiring Account Owner's affirmative action",
          "Subsequent entries requiring Account Owner's affirmative action"
        ],
        "enum": [
          "Unknown",
          "OneTimeEntry",
          "RecurringNoAction",
          "SubsequentWithAction"
        ]
      },
      "PreauthorizedFrequencyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Monthly",
          "Biweekly",
          "Weekly",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Monthly",
          "Biweekly",
          "Weekly",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Monthly",
          "Biweekly",
          "Weekly",
          "Other"
        ]
      },
      "PreauthorizedPaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "SetAmount",
          "VariableAmount"
        ],
        "x-enum-descriptions": [
          "",
          "Set Amount",
          "Variable Amount"
        ],
        "enum": [
          "Unknown",
          "SetAmount",
          "VariableAmount"
        ]
      },
      "NoticeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "PaymentOutsideRange",
          "PaymentAmountDiffers"
        ],
        "x-enum-descriptions": [
          "",
          "Payment falls outside range",
          "Payment amount differs"
        ],
        "enum": [
          "Unknown",
          "PaymentOutsideRange",
          "PaymentAmountDiffers"
        ]
      },
      "AccountType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CheckingOrMoneyMarket",
          "Savings"
        ],
        "x-enum-descriptions": [
          "",
          "Checking or Money Market",
          "Savings"
        ],
        "enum": [
          "Unknown",
          "CheckingOrMoneyMarket",
          "Savings"
        ]
      },
      "AutoTransferAccountInstitution": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Lender",
          "OtherFinancialInstitution"
        ],
        "enum": [
          "Lender",
          "OtherFinancialInstitution"
        ]
      },
      "ConstructionLoanType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ConstructionOnly",
          "ConstructionandPermanent"
        ],
        "enum": [
          "ConstructionOnly",
          "ConstructionandPermanent"
        ]
      },
      "ConstructionLoanAgreementType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ConstructionLoanAgreementProject",
          "SiteDevelopmentLoanAgreementtionandPermanent",
          "RevolvingConstructionLoanAgreement",
          "SingleLotConstructionLoanAgreement"
        ],
        "enum": [
          "ConstructionLoanAgreementProject",
          "SiteDevelopmentLoanAgreementtionandPermanent",
          "RevolvingConstructionLoanAgreement",
          "SingleLotConstructionLoanAgreement"
        ]
      },
      "ConstructionAgreement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "contractAmount": {
                "type": "number",
                "description": "The total contract amount for the construction agreement",
                "format": "decimal",
                "nullable": true
              },
              "retainagePercent": {
                "type": "number",
                "description": "The percentage of funds retained until completion of construction",
                "format": "decimal",
                "nullable": true
              },
              "improvementsDesc": {
                "type": "string",
                "description": "The description of improvements to be made",
                "nullable": true
              },
              "lotLoanAmount": {
                "type": "number",
                "description": "The loan amount allocated for the lot",
                "format": "decimal",
                "nullable": true
              },
              "registryDistrict": {
                "type": "string",
                "description": "The registry district for the construction agreement",
                "nullable": true
              },
              "repairsCompletedInd": {
                "type": "boolean",
                "description": "Indicates whether repairs are completed",
                "nullable": true
              },
              "leasingRequirementsDesc": {
                "type": "string",
                "description": "The description of leasing requirements",
                "nullable": true
              },
              "lotReleaseScheduleDesc": {
                "type": "string",
                "description": "The description of the lot release schedule",
                "nullable": true
              },
              "finalAdvanceConditionsInd": {
                "type": "boolean",
                "description": "Indicates whether final advance conditions are met",
                "nullable": true
              },
              "equityFundsAltDefinitionInd": {
                "type": "boolean",
                "description": "Indicates whether equity funds alternative definition applies",
                "nullable": true
              },
              "soilReportInd": {
                "type": "boolean",
                "description": "Indicates whether soil report is required",
                "nullable": true
              },
              "zoningProofInd": {
                "type": "boolean",
                "description": "Indicates whether zoning proof is required",
                "nullable": true
              },
              "attachConstructionAgreementInd": {
                "type": "boolean",
                "description": "Indicates whether construction agreement attachment is required",
                "nullable": true
              },
              "performancePaymentBondInd": {
                "type": "boolean",
                "description": "Indicates whether performance payment bond is required",
                "nullable": true
              },
              "performancePaymentBondPercent": {
                "type": "number",
                "description": "The percentage for performance payment bond",
                "format": "decimal",
                "nullable": true
              },
              "constructionProfessionals": {
                "type": "array",
                "description": "Collection of construction professionals associated with this agreement",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConstructionProfessional"
                }
              },
              "generalContractors": {
                "type": "array",
                "description": "Collection of general contractors associated with this agreement",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GeneralContractor"
                }
              }
            }
          }
        ]
      },
      "ConstructionProfessional": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The type of construction professional",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionProfessionalAttr"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "description": "The description when type is 'Other'",
                "nullable": true
              },
              "partyType": {
                "description": "The type of party (individual or entity)",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyType"
                  }
                ]
              },
              "email": {
                "type": "string",
                "description": "The email address of the construction professional",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the construction professional",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "description": "The entity name of the construction professional",
                "nullable": true
              },
              "establishedState": {
                "description": "The state where the entity was established",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "signers": {
                "type": "array",
                "description": "Collection of signers for this construction professional",
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              }
            }
          }
        ]
      },
      "ConstructionProfessionalAttr": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Architect",
          "Engineer",
          "Contractor",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Architect",
          "Engineer",
          "Contractor",
          "Other"
        ]
      },
      "PartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Corporation",
          "GeneralPartnership",
          "Individual",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "SoleProprietorship"
        ],
        "enum": [
          "Unknown",
          "Corporation",
          "GeneralPartnership",
          "Individual",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "SoleProprietorship"
        ]
      },
      "Signer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "signerEmail": {
                "type": "string",
                "description": "The email address for the party.",
                "nullable": true
              },
              "signerName": {
                "type": "string",
                "description": "The name of the person signing on behalf of the entity.",
                "nullable": true
              },
              "signerTitle": {
                "type": "string",
                "description": "The title of the signer.",
                "nullable": true
              },
              "signerPhone": {
                "type": "string",
                "description": "The phone number of the person signing on behalf of the entity.",
                "nullable": true
              },
              "payeeSignerName": {
                "type": "string",
                "description": "Name of the signer for a liability holder.",
                "nullable": true
              },
              "payeeSignerTitle": {
                "type": "string",
                "description": "Title of the signer for a liability holder.",
                "nullable": true
              },
              "payeeSignerEmail": {
                "type": "string",
                "description": "Email address of the signer for a liability holder.",
                "nullable": true
              },
              "payeeSignerId": {
                "type": "string",
                "description": "Unique ID of a signer for a liability holder.",
                "nullable": true
              }
            }
          }
        ]
      },
      "GeneralContractor": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "description": "The type of party (individual or entity)",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyType"
                  }
                ]
              },
              "email": {
                "type": "string",
                "description": "The email address of the general contractor",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the general contractor",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "description": "The entity name of the general contractor",
                "nullable": true
              },
              "establishedState": {
                "description": "The state where the entity was established",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "signers": {
                "type": "array",
                "description": "Collection of signers for this general contractor",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              }
            }
          }
        ]
      },
      "SkippedPayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "indicator": {
                "type": "boolean",
                "description": "true, skipped or reduced payments (seasonal payments) are applied to the note.",
                "nullable": true
              },
              "type": {
                "description": "Specifies what (any) kind of payment is due during the skipped period.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SkippedPaymentType"
                  }
                ]
              },
              "month": {
                "type": "array",
                "description": "The month a payment can be skipped. This item should always publish with Payment_1 and not Payment_2.",
                "items": {
                  "$ref": "#/components/schemas/SkippedPaymentMonth"
                }
              }
            }
          }
        ]
      },
      "SkippedPaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "InterestOnlyDue",
          "NoPaymentDue"
        ],
        "x-enum-descriptions": [
          "Interest Only Due",
          "No Payment Due"
        ],
        "enum": [
          "InterestOnlyDue",
          "NoPaymentDue"
        ]
      },
      "SkippedPaymentMonth": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ],
        "x-enum-descriptions": [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ],
        "enum": [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ]
      },
      "CustomPayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "paymentNumberDescription": {
                "type": "string",
                "description": "The user-defined description of the number of scheduled payments for the applicable payment stream associated with the note. In most transactions, this would be a specific integer value, but in some special cases the user may opt to include, at their discretion, other clarifying information",
                "nullable": true
              },
              "paymentAmountTypeDescription": {
                "type": "string",
                "description": "The user-defined description of the type and/or amount of the payments for the applicable payment stream associated with the note. This may or may not include a reference to a specific or projected dollar amount(s) or percentage(s) and may also include any desired description of the nature or purpose of the payment(s) (e.g., Interest only, Principal and Interest, Principal only, Final Payment, Seasonal Interest-Only Payments, Balloon Payment, etc.)",
                "nullable": true
              },
              "paymentTimingDescription": {
                "type": "string",
                "description": "The user-defined description of the timing of scheduled payments for the applicable payment stream associated with the note. For example, this may include the frequency or payment day description, or other information related to the timing of payments",
                "nullable": true
              }
            }
          }
        ]
      },
      "CustomRate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "interestRateTypeDescription": {
                "type": "string",
                "description": "The description for the other type of prepayment penalty that applies to the note",
                "nullable": true
              },
              "interestRateDescription": {
                "type": "string",
                "description": "The description for the other type of prepayment penalty that applies to the note",
                "nullable": true
              },
              "interestRateTimingDescription": {
                "type": "string",
                "description": "The description for the other type of prepayment penalty that applies to the note",
                "nullable": true
              }
            }
          }
        ]
      },
      "BorrowingBaseBorrower": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "exclusionEligibleAccountDesc": {
                "type": "string",
                "description": "The Institution will add an additional exclusion for Eligible Accounts.",
                "nullable": true
              },
              "exclusionEligibleInventoryDesc": {
                "type": "string",
                "description": "The Institution will add an additional exclusion for Eligible Inventory.",
                "nullable": true
              },
              "accountsReceivablePercent": {
                "type": "number",
                "description": "The percent of eligible accounts receivable for the borrowing base for the note.",
                "format": "decimal",
                "nullable": true
              },
              "borrowingBaseType": {
                "type": "array",
                "description": "Specifies the borrowing base for the borrowing base borrower.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BorrowingBaseType"
                }
              },
              "crossAgeAccountsInd": {
                "type": "boolean",
                "description": "If true the borrowing base formula includes the option to include a cross age for eligible accounts.",
                "nullable": true
              },
              "crossAgePercent": {
                "type": "number",
                "description": "The cross age percent for eligible accounts for the borrowing base formula.",
                "format": "decimal",
                "nullable": true
              },
              "eligibleInventoryFinishedGoodsInd": {
                "type": "boolean",
                "description": "If true the borrowing base inventory includes finished goods.",
                "nullable": true
              },
              "eligibleInventoryRawMaterialsInd": {
                "type": "boolean",
                "description": "If true the borrowing base inventory includes raw materials.",
                "nullable": true
              },
              "eligibleInventoryWIPInd": {
                "type": "boolean",
                "description": "If true the borrowing base inventory includes work in process inventory.",
                "nullable": true
              },
              "inventoryCapAmount": {
                "type": "number",
                "description": "The inventory cap amount for the borrowing base.",
                "format": "decimal",
                "nullable": true
              },
              "inventoryPercent": {
                "type": "number",
                "description": "The percent of eligible inventory for the borrowing base for the note.",
                "format": "decimal",
                "nullable": true
              },
              "invoiceOverdueDaysNumber": {
                "type": "integer",
                "description": "The maximum number of days overdue for accounts owed to other parties on the loan under the eligible accounts cross age provision.",
                "format": "int32",
                "nullable": true
              },
              "minimumDeliveryPeriodType": {
                "description": "Specifies the borrowing base certificate minimum delivery period.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MinimumDeliveryPeriodType"
                  }
                ]
              },
              "borrowingBaseFormulaInd": {
                "type": "boolean",
                "description": "Indication whether the user wants to include Borrowing Base formula on the Loan Agreement.",
                "nullable": true
              },
              "borrowingPartyId": {
                "type": "array",
                "description": "A unique identifier that specifies that borrowing party acts as the borrowing base borrower.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "loanAgreementId": {
                "type": "string",
                "description": "A unique identifier that specifies which Loan Agreement is tied to the borrowing base borrower.",
                "nullable": true
              }
            }
          }
        ]
      },
      "BorrowingBaseType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Accounts",
          "Inventory",
          "InventoryWithCap"
        ],
        "x-enum-descriptions": [
          "Accounts receivable used as borrowing base",
          "Inventory used as borrowing base",
          "Inventory with cap used as borrowing base"
        ],
        "enum": [
          "Accounts",
          "Inventory",
          "InventoryWithCap"
        ]
      },
      "MinimumDeliveryPeriodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Weekly",
          "BiWeekly",
          "SemiMonthly",
          "Monthly",
          "BiMonthly",
          "Quarterly",
          "SemiAnnually",
          "Annually"
        ],
        "x-enum-descriptions": [
          "",
          "Weekly delivery period",
          "Bi-Weekly delivery period",
          "Semi-Monthly delivery period",
          "Monthly delivery period",
          "Bi-Monthly delivery period",
          "Quarterly delivery period",
          "Semi-Annual delivery period",
          "Annual delivery period"
        ],
        "enum": [
          "Unknown",
          "Weekly",
          "BiWeekly",
          "SemiMonthly",
          "Monthly",
          "BiMonthly",
          "Quarterly",
          "SemiAnnually",
          "Annually"
        ]
      },
      "GapInsurance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "gapInsuranceOfferedInd": {
                "type": "boolean",
                "description": "If true, GAP insurance is offered with the transaction.",
                "nullable": true
              },
              "gapInsuranceSelectedInd": {
                "type": "boolean",
                "description": "If true, GAP insurance is wanted by the Borrower.",
                "nullable": true
              },
              "gapTerm": {
                "type": "string",
                "description": "The initial term of the Debt Cancellation Coverage (GAP) written with this transaction.",
                "nullable": true
              },
              "gapAmount": {
                "type": "number",
                "description": "The amount of the fee for the GAP coverage being offered by the lender.",
                "format": "decimal",
                "nullable": true
              },
              "gapInsuredPartyNoId": {
                "type": "array",
                "description": "The name of the Borrower or Cosigner that is selected as an insured party when purchasing GAP Insurance.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "gapInsuredParties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GapInsuredPartyRef"
                }
              }
            }
          }
        ]
      },
      "GapInsuredPartyRef": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "SafeHarborType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "NoSafeHarbor",
          "SafeHarborOnly",
          "SafeHarborAndExistingText"
        ],
        "x-enum-descriptions": [
          "",
          "No Safe Harbor",
          "Safe Harbor Only",
          "Safe Harbor and Existing Text"
        ],
        "enum": [
          "Unknown",
          "NoSafeHarbor",
          "SafeHarborOnly",
          "SafeHarborAndExistingText"
        ]
      },
      "MinimumAdvanceMethodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "FundsAdvancedSubjectToMinimumAmount",
          "FundsRequestedSubjectToMinimumAmount",
          "FundsWillBeAdvancedInExactlyTheAmountRequested",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Funds advanced subject to minimum amount",
          "Funds requested subject to minimum amount",
          "Funds will be advanced in exactly the amount requested",
          "Other"
        ],
        "enum": [
          "Unknown",
          "FundsAdvancedSubjectToMinimumAmount",
          "FundsRequestedSubjectToMinimumAmount",
          "FundsWillBeAdvancedInExactlyTheAmountRequested",
          "Other"
        ]
      },
      "TimeUnit": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Days",
          "Month",
          "Weeks",
          "Years"
        ],
        "x-enum-descriptions": [
          "",
          "Days",
          "Month",
          "Weeks",
          "Years"
        ],
        "enum": [
          "Unknown",
          "Days",
          "Month",
          "Weeks",
          "Years"
        ]
      },
      "BrandOfCard": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "VisaInterlink",
          "MasterCard",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Visa/Interlink",
          "MasterCard",
          "Other"
        ],
        "enum": [
          "Unknown",
          "VisaInterlink",
          "MasterCard",
          "Other"
        ]
      },
      "PeriodicRateCapType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "DoNotApply",
          "ApplyOnAPerAdjustmentBasis",
          "ApplyOnAnAnnualBasis"
        ],
        "x-enum-descriptions": [
          "",
          "Do not apply",
          "Apply on a per adjustment basis",
          "Apply on an annual basis"
        ],
        "enum": [
          "Unknown",
          "DoNotApply",
          "ApplyOnAPerAdjustmentBasis",
          "ApplyOnAnAnnualBasis"
        ]
      },
      "TXFinanceChargeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AccrueImmediately",
          "GracePeriod"
        ],
        "x-enum-descriptions": [
          "",
          "Accrue Immediately",
          "Grace Period"
        ],
        "enum": [
          "Unknown",
          "AccrueImmediately",
          "GracePeriod"
        ]
      },
      "OpenEndAgreementTypeOptions": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Draw",
          "DrawRepay",
          "Evergreen"
        ],
        "x-enum-descriptions": [
          "",
          "Draw",
          "Draw/Repay",
          "Evergreen"
        ],
        "enum": [
          "Unknown",
          "Draw",
          "DrawRepay",
          "Evergreen"
        ]
      },
      "ConsolidatedPaymentSchedule": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "paymentFrequency": {
                "description": "The frequency of payments for a particular line of the consolidated payment schedule.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPaymentFrequencyType"
                  }
                ]
              },
              "paymentNumber": {
                "type": "integer",
                "description": "The number of payments for a particular line of the consolidated payment schedule.",
                "format": "int32",
                "nullable": true
              },
              "startDate": {
                "type": "string",
                "description": "The start or due date of a payment or payments for a particular line of the consolidated payment schedule.",
                "format": "date-time",
                "nullable": true
              },
              "minPaymentAmount": {
                "type": "number",
                "description": "The minimum payment amount for a particular line of the consolidated payment schedule.",
                "format": "decimal",
                "nullable": true
              },
              "maxPaymentAmount": {
                "type": "number",
                "description": "The maximum payment amount for a particular line of the consolidated payment schedule.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "FinanceChargeComputed": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "DailyRateToDailyBalance",
          "CycleRateToAverageDailyBalance",
          "DailyRateToAverageDailyBalance"
        ],
        "x-enum-descriptions": [
          null,
          "Daily Rate To Daily Balance",
          "Cycle Rate To Average Daily Balance",
          "Daily Rate To Average Daily Balance"
        ],
        "enum": [
          "Unknown",
          "DailyRateToDailyBalance",
          "CycleRateToAverageDailyBalance",
          "DailyRateToAverageDailyBalance"
        ]
      },
      "MethodOfRounding": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ToTheNearest",
          "Up",
          "Down"
        ],
        "x-enum-descriptions": [
          null,
          "To the Nearest",
          "Up",
          "Down"
        ],
        "enum": [
          "Unknown",
          "ToTheNearest",
          "Up",
          "Down"
        ]
      },
      "RoundingValues": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ZeroPointZeroOne",
          "OnePointZeroZero",
          "FivePointZeroZero",
          "TenPointZeroZero",
          "TwentyFivePointZeroZero",
          "FiftyPointZeroZero",
          "OneHundredPointZeroZero"
        ],
        "x-enum-descriptions": [
          "0.01",
          "1.00",
          "5.00",
          "10.00",
          "25.00",
          "50.00",
          "100.00"
        ],
        "enum": [
          "ZeroPointZeroOne",
          "OnePointZeroZero",
          "FivePointZeroZero",
          "TenPointZeroZero",
          "TwentyFivePointZeroZero",
          "FiftyPointZeroZero",
          "OneHundredPointZeroZero"
        ]
      },
      "RepayMaxMin": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "UseMin",
          "UseMax"
        ],
        "x-enum-descriptions": [
          null,
          "Use Min",
          "Use Max"
        ],
        "enum": [
          "Unknown",
          "UseMin",
          "UseMax"
        ]
      },
      "DrawRepaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AccruedFinanceCharges",
          "DollarAmount",
          "AccruedFinanceChargesPlus",
          "PercentOfPrincipalBalance",
          "PercentOfPrincipalBalanceLastAdvance",
          "PercentOfInitialPrincipalBalance",
          "AccruedFinanceChargesPlusPercent",
          "AccruedFinanceChargesPlusPercentLastAdvance",
          "AccruedFinanceChargesPlusPercentInitial",
          "PercentOfAccountBalance",
          "PercentOfAccountBalanceLastAdvance",
          "RangeBasedAmount",
          "AmortizedPaymentUserDefined",
          "AmortizedPaymentRemainingTerm",
          "AmortizedPaymentUserDefinedRange",
          "AccruedFinanceChargesPlusLoanAccountBalance",
          "AccruedFinanceChargesPlusPercentEndDrawPeriod",
          "AccruedFinanceChargesPlusPercentBillingDate"
        ],
        "x-enum-descriptions": [
          "The amount of accrued finance charges on the last day of the billing cycle",
          "Dollar amount $______",
          "The amount of accrued finance charges on the last day of the billing cycle plus $_____",
          "_____% of the principal balance outstanding on the last day of the billing cycle",
          "_____% of the principal balance outstanding on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "_____ % of the initial principal balance",
          "The amount of accrued finance charges plus _____% of the principal balance outstanding on the last day of the billing cycle",
          "The amount of accrued finance charges plus _____% of the principal balance outstanding on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "The amount of accrued finance charges plus _____% of the initial principal balance",
          "_____% of the account balance on the last day of the billing cycle",
          "_____% of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "The amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
          "An amortized payment of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made amortized over a user-defined term",
          "An amortized payment of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made amortized over the remaining term of the agreement",
          "An amortized payment of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made amortized over a user-defined term corresponding to a user-defined range",
          "An amount of accrued finance charges on the last day of the billing cycle plus the percent of the loan account balance (principal + interest)",
          "An amount of accrued finance charges on the last day of the billing cycle plus the percent of the principal balance at the end of the draw period",
          "An amount of accrued finance charges on the last day of the billing cycle plus the percent of the principal balance on the billing date"
        ],
        "enum": [
          "AccruedFinanceCharges",
          "DollarAmount",
          "AccruedFinanceChargesPlus",
          "PercentOfPrincipalBalance",
          "PercentOfPrincipalBalanceLastAdvance",
          "PercentOfInitialPrincipalBalance",
          "AccruedFinanceChargesPlusPercent",
          "AccruedFinanceChargesPlusPercentLastAdvance",
          "AccruedFinanceChargesPlusPercentInitial",
          "PercentOfAccountBalance",
          "PercentOfAccountBalanceLastAdvance",
          "RangeBasedAmount",
          "AmortizedPaymentUserDefined",
          "AmortizedPaymentRemainingTerm",
          "AmortizedPaymentUserDefinedRange",
          "AccruedFinanceChargesPlusLoanAccountBalance",
          "AccruedFinanceChargesPlusPercentEndDrawPeriod",
          "AccruedFinanceChargesPlusPercentBillingDate"
        ]
      },
      "RepayRepaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AccruedFinanceCharges",
          "DollarAmount",
          "AccruedFinanceChargesPlus",
          "PercentOfPrincipalBalance",
          "PercentOfPrincipalBalanceLastAdvance",
          "PercentOfInitialPrincipalBalance",
          "AccruedFinanceChargesPlusPercent",
          "AccruedFinanceChargesPlusPercentLastAdvance",
          "AccruedFinanceChargesPlusPercentInitial",
          "PercentOfAccountBalance",
          "PercentOfAccountBalanceLastAdvance",
          "RangeBasedAmount",
          "AmortizedPaymentUserDefined",
          "PercentageOutstandingPrincipalBalance",
          "AmountAndPercentPrincipalBalance",
          "PercentLoanAccountBalance",
          "AccruedFinanceChargesPlusLoanAccountBalance",
          "AccruedFinanceChargesPlusPercentEndDrawPeriod",
          "AccruedFinanceChargesPlusPercentBillingDate"
        ],
        "x-enum-descriptions": [
          "The amount of accrued finance charges on the last day of the billing cycle",
          "Dollar amount $______",
          "The amount of accrued finance charges on the last day of the billing cycle plus $_____",
          "_____% of the principal balance outstanding on the last day of the billing cycle",
          "_____% of the principal balance outstanding on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "_____ % of the initial principal balance",
          "The amount of accrued finance charges plus _____% of the principal balance outstanding on the last day of the billing cycle",
          "The amount of accrued finance charges plus _____% of the principal balance outstanding on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "The amount of accrued finance charges plus _____% of the initial principal balance",
          "_____% of the account balance on the last day of the billing cycle",
          "_____% of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made",
          "The amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
          "An amortized payment of the account balance on the last day of the billing cycle for the last billing cycle in which an advance was made amortized over a user-defined term",
          "A percentage of the principal balance outstanding on the last day of the draw period",
          "The amount of accrued finance charges plus a percentage of the principal balance outstanding on the last day of the draw period",
          "A percentage of the loan account balance outstanding on the last day of the draw period",
          "An amount of accrued finance charges on the last day of the billing cycle plus the percent of the loan account balance (principal + interest)",
          "The amount of accrued finance charges on the last day of the billing cycle plus the percent of the principal balance at the end of the draw period",
          "The amount of accrued finance charges on the last day of the billing cycle plus the percent of the principal balance on the billing date"
        ],
        "enum": [
          "AccruedFinanceCharges",
          "DollarAmount",
          "AccruedFinanceChargesPlus",
          "PercentOfPrincipalBalance",
          "PercentOfPrincipalBalanceLastAdvance",
          "PercentOfInitialPrincipalBalance",
          "AccruedFinanceChargesPlusPercent",
          "AccruedFinanceChargesPlusPercentLastAdvance",
          "AccruedFinanceChargesPlusPercentInitial",
          "PercentOfAccountBalance",
          "PercentOfAccountBalanceLastAdvance",
          "RangeBasedAmount",
          "AmortizedPaymentUserDefined",
          "PercentageOutstandingPrincipalBalance",
          "AmountAndPercentPrincipalBalance",
          "PercentLoanAccountBalance",
          "AccruedFinanceChargesPlusLoanAccountBalance",
          "AccruedFinanceChargesPlusPercentEndDrawPeriod",
          "AccruedFinanceChargesPlusPercentBillingDate"
        ]
      },
      "RepaymentUnitType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Days",
          "Months",
          "Quarters",
          "Weeks",
          "Years"
        ],
        "x-enum-descriptions": [
          null,
          "Days",
          "Months",
          "Quarters",
          "Weeks",
          "Years"
        ],
        "enum": [
          "Unknown",
          "Days",
          "Months",
          "Quarters",
          "Weeks",
          "Years"
        ]
      },
      "RepaymentDetail": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "UseTheGreater",
          "UseTheLesser"
        ],
        "x-enum-descriptions": [
          null,
          "Use the Greater",
          "Use the Lesser"
        ],
        "enum": [
          "Unknown",
          "UseTheGreater",
          "UseTheLesser"
        ]
      },
      "LifetimeCeilingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "None",
          "RelativeToTheInitialRate",
          "RelativeToTheMarketRate",
          "SpecificValue"
        ],
        "x-enum-descriptions": [
          null,
          "None",
          "Relative to the initial rate",
          "Relative to the market rate",
          "Specific Value"
        ],
        "enum": [
          "Unknown",
          "None",
          "RelativeToTheInitialRate",
          "RelativeToTheMarketRate",
          "SpecificValue"
        ]
      },
      "LifetimeFloorType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "None",
          "RelativeToTheInitialRate",
          "RelativeToTheMarketRate",
          "SpecificValue"
        ],
        "x-enum-descriptions": [
          null,
          "None",
          "Relative to the initial rate",
          "Relative to the market rate",
          "Specific Value"
        ],
        "enum": [
          "Unknown",
          "None",
          "RelativeToTheInitialRate",
          "RelativeToTheMarketRate",
          "SpecificValue"
        ]
      },
      "InitialRateTermType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Biweeks",
          "Days",
          "Months",
          "Semiannums",
          "Semimonths",
          "Weeks",
          "Years"
        ],
        "x-enum-descriptions": [
          null,
          "Biweeks",
          "Days",
          "Months",
          "Semiannums",
          "Semimonths",
          "Weeks",
          "Years"
        ],
        "enum": [
          "Unknown",
          "Biweeks",
          "Days",
          "Months",
          "Semiannums",
          "Semimonths",
          "Weeks",
          "Years"
        ]
      },
      "CollateralCost": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collateral": {
                "description": "Collateral Type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralType"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "description": "The amount of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "collateralItemId": {
                "type": "string",
                "description": "Collateral Item Id.",
                "nullable": true
              }
            }
          }
        ]
      },
      "Credit": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "creditName": {
                "type": "string",
                "description": "Credit Name.",
                "nullable": true
              },
              "creditAmount": {
                "type": "number",
                "description": "The amount of the credit.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "CreditReportItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partySelections": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "partyNoId": {
                "type": "array",
                "description": "Name of the Party for whom the Credit report was pulled.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "internalAccountIdentifier": {
                "type": "string",
                "description": "A Unique Identifier used to designate a specific account to pull Credit report.",
                "nullable": true
              },
              "equifaxInd": {
                "type": "boolean",
                "description": "This element indicates whether Equifax is included in  the credit request.",
                "nullable": true
              },
              "experianInd": {
                "type": "boolean",
                "description": "This element indicates whether Experian is included in  the credit request.",
                "nullable": true
              },
              "transUnionInd": {
                "type": "boolean",
                "description": "This element indicates whether TransUnion is included in  the credit request.",
                "nullable": true
              },
              "excludeZeroLiabilitiesInd": {
                "type": "boolean",
                "description": "Describes that liabilities that are paid or closed should be excluded.",
                "nullable": true
              },
              "mustReorderCreditReportInd": {
                "type": "boolean",
                "description": "Describes if Credit report reorder is required, because of Party deletion from Loan file. Set to '1', when Party included in the Credit report was deleted from Loan file, othervise set to '0'.",
                "nullable": true
              },
              "orderResults": {
                "description": "OrderResults",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResults"
                  }
                ]
              },
              "addCreditReportResultsInd": {
                "type": "boolean",
                "description": "Describes that credit report results (scores, liabilities, key factors) returned from Credit should  be or not added to loan file.",
                "nullable": true
              }
            }
          }
        ]
      },
      "OrderResults": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "documentTitle": {
                "type": "string",
                "description": "Describes the Credit report title",
                "nullable": true
              },
              "loanOfficer": {
                "type": "string",
                "description": "The User who last ordered a Credit Report.",
                "nullable": true
              },
              "orderDate": {
                "type": "string",
                "description": "The Date/Time a Flood Determination order was last submitted",
                "nullable": true
              },
              "creditReportReferenceNumber": {
                "type": "string",
                "description": "A reference number assigned by the credit bureau to a specific credit report. This report number is also referenced when a Reissue or Upgrade of an existing report is requested.",
                "nullable": true
              },
              "status": {
                "type": "string",
                "description": "The order status message for the last ordered Flood Determination request",
                "nullable": true
              },
              "certNo": {
                "type": "string",
                "description": "The Flood Certificate number for the last ordered Flood Determination request",
                "nullable": true
              },
              "orderType": {
                "description": "The Order Type for the last ordered Flood Determination request",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodOrderType"
                  }
                ]
              },
              "productType": {
                "description": "The Product Type for the last ordered Flood Determination request",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodProductType"
                  }
                ]
              },
              "orderedBy": {
                "type": "string",
                "description": "The User who last ordered a Flood Determination",
                "nullable": true
              },
              "statusCode": {
                "type": "string",
                "description": "The order status code for the last ordered Flood Determination request",
                "nullable": true
              },
              "address": {
                "description": "The address associated with this order result",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "businessReportReferenceNumber": {
                "type": "string",
                "description": "A reference number assigned by the credit bureau to a specific business report. This report number is also referenced when a Reissue of an existing report is requested.",
                "nullable": true
              }
            }
          }
        ]
      },
      "FloodOrderType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NewOrder",
          "Reissue",
          "Downgrade",
          "Upgrade",
          "Cancel"
        ],
        "x-enum-descriptions": [
          "New Order",
          "Reissue",
          "Downgrade",
          "Upgrade",
          "Cancel"
        ],
        "enum": [
          "NewOrder",
          "Reissue",
          "Downgrade",
          "Upgrade",
          "Cancel"
        ]
      },
      "FloodProductType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "LifeOfLoan",
          "Basic"
        ],
        "x-enum-descriptions": [
          "Life of Loan",
          "Basic"
        ],
        "enum": [
          "LifeOfLoan",
          "Basic"
        ]
      },
      "Liability": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partySelections": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "type": {
                "description": "Specifies the general names (types) of items commonly listed as liabilities of the borrower in a loan transaction.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LiabilityType"
                  }
                ]
              },
              "description": {
                "type": "string",
                "description": "Specifies the other liability type when Other is selected.",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "description": "A unique identifier of a borrowers liability.",
                "nullable": true
              },
              "payeeName": {
                "type": "string",
                "description": "The name of the Financial Institution that owns the Liability.",
                "nullable": true
              },
              "heldByDesc": {
                "type": "string",
                "description": "The name or names in which the Liability is carried. For example John H. Smith, Judy R. Jones.",
                "nullable": true
              },
              "creditLimitAmount": {
                "type": "number",
                "description": "The maximum dollar amount of the Liability Type.",
                "format": "decimal",
                "nullable": true
              },
              "unpaidBalanceAmount": {
                "type": "number",
                "description": "The dollar amount of the current outstanding balance on borrowers Liability Type.",
                "format": "decimal",
                "nullable": true
              },
              "monthlyPaymentAmount": {
                "type": "number",
                "description": "The dollar amount of the monthly payment required on borrowers Liability Type.",
                "format": "decimal",
                "nullable": true
              },
              "term": {
                "type": "integer",
                "description": "The number of months the borrower must make payments in order to satisfy the identified liability.",
                "format": "int32",
                "nullable": true
              },
              "payoffInd": {
                "type": "boolean",
                "description": "Identifies whether the liability will be paid at or before closing.",
                "nullable": true
              },
              "payoffAmount": {
                "type": "number",
                "description": "The dollar amount for the debt that is being paid off as part of the closing transaction.",
                "format": "decimal",
                "nullable": true
              },
              "pastDueInd": {
                "type": "boolean",
                "description": "The status of the liability (current or past due).",
                "nullable": true
              },
              "omitInd": {
                "type": "boolean",
                "description": "If true the liability is excluded from the application.",
                "nullable": true
              },
              "partyNoId": {
                "type": "array",
                "description": "The unique identifier of each party who holds this particular Liability.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "creditReportIdentifier": {
                "type": "string",
                "description": "A reference number assigned by the credit bureau to a specific credit report. This report number is also referenced when a Reissue or Upgrade of an existing report is requested.",
                "nullable": true
              },
              "payoffPaidFrom": {
                "description": "Source of a payoff.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "payoffDate": {
                "type": "string",
                "description": "Date of payoff.",
                "format": "date",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "description": "It holds list of Signer.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              },
              "perDiem": {
                "type": "number",
                "description": "Per diem dollar amount associated with a liability.",
                "format": "decimal",
                "nullable": true
              },
              "partyName": {
                "type": "string",
                "description": "The name of the Liability owner.",
                "nullable": true
              },
              "address": {
                "type": "array",
                "description": "Address of Liability owner.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Address"
                }
              },
              "accountOpenedDate": {
                "type": "string",
                "description": "The date the liability account was opened.",
                "format": "date",
                "nullable": true
              },
              "additionalTermsOfPayoff": {
                "type": "string",
                "description": "A description of any additional terms for sale transfer or payoff of existing loan.",
                "nullable": true
              },
              "liabilityInd": {
                "type": "boolean",
                "description": "Identifies whether the record is a liability of a loan party. When true, the liability fields (Party, Type, Credit Limit, Unpaid Balance, Term, Amount) are shown.",
                "nullable": true
              }
            }
          }
        ]
      },
      "LiabilityType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Mortgage",
          "Rent",
          "Automobile",
          "InstallmentLoans",
          "CreditCardRevolvingLoan",
          "JobRelatedExpenses",
          "StockPledges",
          "OtherFinancing",
          "Utilities",
          "HazardInsurance",
          "RealEstateTaxes",
          "MortgageInsurance",
          "HomeOwnerAssnDues",
          "OtherHousingExpense",
          "Alimony",
          "ChildSupport",
          "Maintenance",
          "FederalDebt",
          "SuitOrJudgment",
          "DependentCare",
          "LandContract",
          "GroundRent",
          "LeaseholdPayment",
          "CreditLine",
          "Installment",
          "Revolving",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Mortgage",
          "Rent",
          "Automobile",
          "Installment Loans",
          "Credit Card/Revolving Loan",
          "Job Related Expenses",
          "Stock Pledges",
          "Other Financing",
          "Utilities",
          "Hazard Insurance",
          "Real Estate Taxes",
          "Mortgage Insurance",
          "Home Owner Assn. Dues",
          "Other Housing Expense",
          "Alimony",
          "Child Support",
          "Maintenance",
          "Federal Debt",
          "Suit or Judgment",
          "Dependent Care",
          "Land Contract",
          "Ground Rent",
          "Leasehold Payment",
          "Credit Line",
          "Installment",
          "Revolving",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Mortgage",
          "Rent",
          "Automobile",
          "InstallmentLoans",
          "CreditCardRevolvingLoan",
          "JobRelatedExpenses",
          "StockPledges",
          "OtherFinancing",
          "Utilities",
          "HazardInsurance",
          "RealEstateTaxes",
          "MortgageInsurance",
          "HomeOwnerAssnDues",
          "OtherHousingExpense",
          "Alimony",
          "ChildSupport",
          "Maintenance",
          "FederalDebt",
          "SuitOrJudgment",
          "DependentCare",
          "LandContract",
          "GroundRent",
          "LeaseholdPayment",
          "CreditLine",
          "Installment",
          "Revolving",
          "Other"
        ]
      },
      "BillingFrequency": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Weekly",
          "Everyotherweek",
          "Semimonthly",
          "Monthly",
          "Quarterly"
        ],
        "x-enum-descriptions": [
          "",
          "Weekly",
          "Every other week",
          "Semimonthly",
          "Monthly",
          "Quarterly"
        ],
        "enum": [
          "Unknown",
          "Weekly",
          "Everyotherweek",
          "Semimonthly",
          "Monthly",
          "Quarterly"
        ]
      },
      "DrawRepaymentRangeofBalances": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "from": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              },
              "to": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              },
              "payment": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "RepayRepaymentRangeofBalances": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "from": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              },
              "to": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              },
              "payment": {
                "type": "number",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "RepayRepaymentDetail": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "UsetheGreater",
          "UsetheLesser"
        ],
        "x-enum-descriptions": [
          null,
          "Use the Greater",
          "Use the Lesser"
        ],
        "enum": [
          "Unknown",
          "UsetheGreater",
          "UsetheLesser"
        ]
      },
      "DrawRepaymentDetail": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "UsetheGreater",
          "UsetheLesser"
        ],
        "x-enum-descriptions": [
          null,
          "Use the Greater",
          "Use the Lesser"
        ],
        "enum": [
          "Unknown",
          "UsetheGreater",
          "UsetheLesser"
        ]
      },
      "CreditInsurance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "termForPremiumOtherDescription": {
                "type": "string",
                "description": "The other description for the period that the rate applies",
                "nullable": true
              },
              "termForPremium": {
                "description": "The period that the rate applies",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TermForPremium"
                  }
                ]
              },
              "rateAppliedToOtherDescription": {
                "type": "string",
                "description": "The other description for what the rate applies to",
                "nullable": true
              },
              "rateAppliedTo": {
                "description": "The amount the rate is applied to",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateAppliedTo"
                  }
                ]
              },
              "coverageAmount": {
                "type": "number",
                "description": "The amount of coverage provided by the credit insurance.",
                "format": "decimal",
                "nullable": true
              },
              "coverageType": {
                "description": "Specifies how the debtors are covered by the credit insurance.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CoverageType"
                  }
                ]
              },
              "deductibleAmount": {
                "type": "number",
                "description": "The deductible amount if any.",
                "format": "decimal",
                "nullable": true
              },
              "eligibilityConditionsDescription": {
                "type": "string",
                "description": "A description of the conditions of eligibility for this insurance.",
                "nullable": true
              },
              "exceptionsDescription": {
                "type": "string",
                "description": "A description of the exceptions limitations or exclusions related to the credit insurance if any.",
                "nullable": true
              },
              "insuredEventDescription": {
                "type": "string",
                "description": "A description of the what the policy covers (the insured event).",
                "nullable": true
              },
              "multipleCreditInsuranceAvailable": {
                "type": "boolean",
                "description": "Indicate if only one kind of credit insurance is available or if more than one kind of credit insurance is available.",
                "nullable": true
              },
              "multipleCreditInsurancePurchasedSeparately": {
                "type": "boolean",
                "description": "Indicate if more than one kind of credit insurance may be purchased separately or if they must be purchased together.",
                "nullable": true
              },
              "creditInsuranceRateDetails": {
                "type": "string",
                "description": "Credit Insurance rate details (cost and factor - e.g. $2.00 per $1000).",
                "nullable": true
              },
              "creditInsurancePremium": {
                "type": "number",
                "description": "The amount of the monthly premium for the credit insurance.",
                "format": "decimal",
                "nullable": true
              },
              "creditInsuranceTerm": {
                "type": "integer",
                "description": "The number of terms in the credit insurance policy.",
                "format": "int32",
                "nullable": true
              },
              "creditInsuranceTermUnitType": {
                "description": "The unit of time for the term of credit insurance.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceTermUnitType"
                  }
                ]
              },
              "creditInsuranceType": {
                "description": "Specifies the type of credit insurance being offered.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceType"
                  }
                ]
              },
              "creditInsuranceTypeOtherDescription": {
                "type": "string",
                "description": "A description of the Other type of credit insurance being offered.",
                "nullable": true
              },
              "waitingOrEliminationPeriodDescription": {
                "type": "string",
                "description": "A description of the waiting or elimination period if any.",
                "nullable": true
              },
              "waiverOfPremiumProvisions": {
                "type": "string",
                "description": "A description of waiver of premium provisions if any.",
                "nullable": true
              },
              "creditInsuranceSolicitedOverPhone": {
                "type": "boolean",
                "description": "If true, the sale of credit life insurance has been solicited or consummated over the telephone.",
                "nullable": true
              },
              "otherInsuredParty": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OtherInsuredParty"
                }
              }
            }
          }
        ]
      },
      "TermForPremium": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Month",
          "BillingCycle",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Month",
          "Billing Cycle",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Month",
          "BillingCycle",
          "Other"
        ]
      },
      "RateAppliedTo": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CreditLimit",
          "OutstandingBalance",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Credit Limit",
          "Outstanding Balance",
          "Other"
        ],
        "enum": [
          "Unknown",
          "CreditLimit",
          "OutstandingBalance",
          "Other"
        ]
      },
      "CoverageType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "SingleValue",
          "Joint",
          "JointProportional"
        ],
        "x-enum-descriptions": [
          null,
          "Single",
          "Joint",
          "Joint Proportional"
        ],
        "enum": [
          "Unknown",
          "SingleValue",
          "Joint",
          "JointProportional"
        ]
      },
      "CreditInsuranceTermUnitType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Months",
          "Years"
        ],
        "x-enum-descriptions": [
          null,
          "Months",
          "Years"
        ],
        "enum": [
          "Unknown",
          "Months",
          "Years"
        ]
      },
      "CreditInsuranceType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CreditLife",
          "CreditDisability",
          "Unemployment",
          "CreditLifeAndDisability",
          "AccidentalDeath",
          "Dismemberment",
          "Paraplegia",
          "Quadriplegia",
          "TerminalIllnessOrAcceleratedDeath",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Credit Life",
          "Credit Disability",
          "Unemployment",
          "Credit Life and Disability",
          "Accidental Death",
          "Dismemberment",
          "Paraplegia",
          "Quadriplegia",
          "Terminal Illness or Accelerated Death",
          "Other"
        ],
        "enum": [
          "Unknown",
          "CreditLife",
          "CreditDisability",
          "Unemployment",
          "CreditLifeAndDisability",
          "AccidentalDeath",
          "Dismemberment",
          "Paraplegia",
          "Quadriplegia",
          "TerminalIllnessOrAcceleratedDeath",
          "Other"
        ]
      },
      "OtherInsuredParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyId": {
                "type": "string",
                "nullable": true
              },
              "partyName": {
                "type": "string",
                "description": "Name of Other Insured Party.",
                "nullable": true
              },
              "birthDate": {
                "type": "string",
                "description": "Birthdate of a loan party.",
                "format": "date",
                "nullable": true
              },
              "emailAddress": {
                "type": "string",
                "description": "Email Address for Other Insured Party",
                "nullable": true
              }
            }
          }
        ]
      },
      "LineOfBusinessType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "Commercial",
          "Consumer",
          "HomeEquity"
        ],
        "enum": [
          "None",
          "Commercial",
          "Consumer",
          "HomeEquity"
        ]
      },
      "ImportFileType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Json",
          "IBO",
          "MismoXml",
          "DesktopUnderwriter"
        ],
        "x-enum-descriptions": [
          "JSON",
          "IBO",
          "MISMO XML",
          "Desktop Underwriter"
        ],
        "enum": [
          "Json",
          "IBO",
          "MismoXml",
          "DesktopUnderwriter"
        ]
      },
      "ExportFileType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Json",
          "XmlTxn",
          "IBO",
          "MismoXml26",
          "MismoXml3x",
          "MismoXml3xTemp",
          "DuExport",
          "LpaExport"
        ],
        "x-enum-descriptions": [
          "JSON",
          "XML (TXN)",
          "IBO",
          "MISMO XML 2.6",
          "MISMO XML 3.x",
          "MISMO XML 3.x Temp",
          "DU Export",
          "LPA Export"
        ],
        "enum": [
          "Json",
          "XmlTxn",
          "IBO",
          "MismoXml26",
          "MismoXml3x",
          "MismoXml3xTemp",
          "DuExport",
          "LpaExport"
        ]
      },
      "ImportTemplateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Json",
          "XmlTxn",
          "IBO"
        ],
        "x-enum-descriptions": [
          "JSON",
          "XML (TXN)",
          "IBO"
        ],
        "enum": [
          "Json",
          "XmlTxn",
          "IBO"
        ]
      },
      "ExportTemplateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Json",
          "XmlTxn",
          "IBO"
        ],
        "x-enum-descriptions": [
          "JSON",
          "XML (TXN)",
          "IBO"
        ],
        "enum": [
          "Json",
          "XmlTxn",
          "IBO"
        ]
      },
      "Modification": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "modificationRoleStatuses": {
                "type": "array",
                "description": "Name, role and modification status of a party in modification loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ModificationRoleStatus"
                }
              },
              "formReleasePartyIncludeBorrowerSignaturesInd": {
                "type": "boolean",
                "description": "If true, the Lender selects to print the borrower signatures with the guarantor signatures. This is form-specific for Release Party.",
                "nullable": true
              },
              "modificationCreationType": {
                "description": "Modification Loan Creation Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModificationCreationType"
                  }
                ]
              },
              "loanOriginationType": {
                "description": "Loan Origination Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanOriginationType"
                  }
                ]
              },
              "originalLoanType": {
                "description": "The original loan type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "originalLoanAmount": {
                "type": "number",
                "description": "The original amount of the note.",
                "format": "decimal",
                "nullable": true
              },
              "originalClosingDate": {
                "type": "string",
                "description": "The date of closing of the original note.",
                "format": "date",
                "nullable": true
              },
              "originalMaturityDate": {
                "type": "string",
                "description": "The original maturity date of the note.",
                "format": "date",
                "nullable": true
              },
              "extendMaturityDateInd": {
                "type": "boolean",
                "description": "If true, the maturity date of the note is being amended, either by extension or reduction.",
                "nullable": true
              },
              "modifyInterestRateInd": {
                "type": "boolean",
                "description": "Indicates if interest rate is being modified.",
                "nullable": true
              },
              "modificationInterestRateDesc": {
                "type": "string",
                "description": "Description of interest rate modification.",
                "nullable": true
              },
              "extendAdvanceExpirationDateInd": {
                "type": "boolean",
                "description": "Indicates if advance expiration date is being extended.",
                "nullable": true
              },
              "modifyLoanAmountInd": {
                "type": "boolean",
                "description": "Indicates if loan amount is being modified.",
                "nullable": true
              },
              "modificationAvailabilityType": {
                "description": "The current balance on the note.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModificationAvailabilityType"
                  }
                ]
              },
              "currentBalanceAmount": {
                "type": "number",
                "description": "The current balance on the note.",
                "format": "decimal",
                "nullable": true
              },
              "userDefinedModificationInd": {
                "type": "boolean",
                "description": "Indicates if there are user-defined modifications.",
                "nullable": true
              },
              "modificationUserDefinedDesc": {
                "type": "string",
                "description": "Description of user-defined modifications.",
                "nullable": true
              },
              "previousAmendmentInd": {
                "type": "boolean",
                "description": "If true, the note amount has been previously modified or amended.",
                "nullable": true
              },
              "previouslyAmendedLoanAmount": {
                "type": "number",
                "description": "The amount of the note prior to the amendment.",
                "format": "decimal",
                "nullable": true
              },
              "formAmendmentLoanUserDefinedWhereasAppliesInd": {
                "type": "boolean",
                "description": "The lender wants to include user-defined 'WHEREAS' clause text in the Amendment-Loan. This is form-specific to Amendment-Loan.",
                "nullable": true
              },
              "formAmendmentLoanUserDefinedWhereasDesc": {
                "type": "string",
                "description": "The user-defined 'WHEREAS' clause text. The text for this data is printed after a standard printing of 'WHEREAS, ' in the Amendment-Loan and will not be the final WHEREAS clause in the section. This is form-specific to Amendment-Loan.",
                "nullable": true
              },
              "formAmendmentLoanAdditionalProvisionsInd": {
                "type": "boolean",
                "description": "The lender wants to include additional provisions in Amendment Loan document. This is form-specific to Amendment-Loan.",
                "nullable": true
              },
              "formAmendmentLoanAdditionalProvisionsTitleDesc": {
                "type": "string",
                "description": "The description of any additional provisions to be included in Amendment Loan document. This is form-specific to Amendment-Loan.",
                "nullable": true
              },
              "formAmendmentLoanAdditionalProvisionsDesc": {
                "type": "string",
                "description": "The description of the specific title for the additional provisions to be included in Amendment Loan document. This is form-specific to Amendment-Loan.",
                "nullable": true
              },
              "modifyOtherTermsInd": {
                "type": "boolean",
                "description": "If true the note amendment will be modifying other terms.",
                "nullable": true
              },
              "modifyOtherTermsDesc": {
                "type": "string",
                "description": "A description of the Other Terms being modified for the amended note.",
                "nullable": true
              },
              "institutionSuccessorInd": {
                "type": "boolean",
                "description": "If true the Instituition is successor in Interest Regarding Loan Documents",
                "nullable": true
              },
              "predecessorInstitutionName": {
                "type": "string",
                "description": "The name of the predecessor institution.",
                "nullable": true
              },
              "predecessorInstitutionTermDescription": {
                "type": "string",
                "description": "The term used to refer to the predecessor lender(s).",
                "nullable": true
              },
              "dateOfPreviousAgreement": {
                "type": "string",
                "description": "The date of the previous agreement.",
                "format": "date",
                "nullable": true
              },
              "previousAgreementType": {
                "description": "Specifies the type of the previous agreement by the borrower.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviousAgreementType"
                  }
                ]
              },
              "previousAgreements": {
                "type": "array",
                "description": "The collection of previous agreements associated with the modification loan.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PreviousAgreement"
                }
              },
              "recordingNumber": {
                "type": "string",
                "description": "The recording number of the security instrument.",
                "nullable": true
              },
              "recordingOffice": {
                "type": "string",
                "description": "The office where the security instrument is recorded.",
                "nullable": true
              },
              "recordedDate": {
                "type": "string",
                "description": "The date in which the security instrument is recorded.",
                "nullable": true
              },
              "recordedBook": {
                "type": "string",
                "description": "A description of the book in which the security instrument is recorded.",
                "nullable": true
              },
              "recordedPage": {
                "type": "string",
                "description": "The page in which the security instrument is recorded.",
                "nullable": true
              },
              "recordingCrossReferenceDescription": {
                "type": "string",
                "description": "The cross reference description for recording.",
                "nullable": true
              },
              "confirmationInd": {
                "type": "boolean",
                "description": "If true the guarantor is confirming and continuing an existing guaranty.",
                "nullable": true
              },
              "phase": {
                "type": "array",
                "description": "The phases of the modification.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Phase"
                }
              },
              "includeAmendmentRealEstateSecurityInstrument": {
                "type": "boolean",
                "description": "If true, the amendment includes the real estate security instrument in the modification.",
                "nullable": true
              },
              "collateralModificationStatus": {
                "description": "The modification status of the collateral item (Existing, Released, or Added).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralModificationStatusType"
                  }
                ]
              },
              "modificationOriginalTaxAmount": {
                "type": "number",
                "description": "The original tax amount associated with the modification.",
                "format": "decimal",
                "nullable": true
              },
              "mortgageRegistryTaxSecuresNewAndSeparateMortgageMNInd": {
                "type": "boolean",
                "description": "If true, the mortgage registry tax secures a new and separate mortgage in Minnesota.",
                "nullable": true
              },
              "collateralDesc": {
                "type": "string",
                "description": "A description of the collateral item being modified.",
                "nullable": true
              },
              "partialReleaseInd": {
                "type": "boolean",
                "description": "If true, this is a partial release of the collateral.",
                "nullable": true
              },
              "mortgageeName": {
                "type": "string",
                "description": "The name of the mortgagee.",
                "nullable": true
              },
              "mortgageAddress": {
                "description": "The address of the mortgagee associated with this modification.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "releasedCollateralLoanIdentifierDesc": {
                "type": "string",
                "description": "A description identifying the loan associated with released collateral.",
                "nullable": true
              },
              "orgNewAddress": {
                "type": "boolean",
                "description": "If true, the organization has a new address for the modification.",
                "nullable": true
              },
              "paidInFullInd": {
                "type": "boolean",
                "description": "If true, the loan has been paid in full.",
                "nullable": true
              },
              "recordingCounty": {
                "type": "string",
                "description": "The county where the modification document is recorded.",
                "nullable": true
              },
              "recordingLocationDesc": {
                "type": "string",
                "description": "The description of the original recording location of the amended real estate security instrument within real property records, such as Book 1234, Page 987.",
                "nullable": true
              },
              "meetsVARefinancePriorityRequirementsInd": {
                "type": "boolean",
                "description": "If true, the loan being originated is a new loan that refinances and fully pays off an existing first lien single residential loan, meeting the criteria set forth in Virginia Code Section 55.1-319(B)(1),(2),(3) and thus allows the new loan to retain first lien priority over an existing subordinate lien that will remain in effect.",
                "nullable": true
              },
              "assignedReleasedDocumentReferenceNumberDesc": {
                "type": "string",
                "description": "A description of the reference number assigned to the released document.",
                "nullable": true
              }
            }
          }
        ]
      },
      "ModificationRoleStatus": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyRole": {
                "type": "string",
                "description": "Name and role of a party in modification loan.",
                "nullable": true
              },
              "roleModificationStatus": {
                "description": "Modification status of the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RoleModificationStatusType"
                  }
                ]
              }
            }
          }
        ]
      },
      "RoleModificationStatusType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Existing",
          "Released",
          "Added"
        ],
        "x-enum-descriptions": [
          "Existing",
          "Released",
          "Added"
        ],
        "enum": [
          "Existing",
          "Released",
          "Added"
        ]
      },
      "ModificationCreationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NewLoanModification",
          "FirstModificationOfExistingLoan",
          "SubsequentModificationOfExistingLoan"
        ],
        "x-enum-descriptions": [
          "New Loan Modification",
          "First Modification of Existing Loan",
          "Subsequent Modification of Existing Loan"
        ],
        "enum": [
          "NewLoanModification",
          "FirstModificationOfExistingLoan",
          "SubsequentModificationOfExistingLoan"
        ]
      },
      "LoanOriginationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "New",
          "Modification"
        ],
        "x-enum-descriptions": [
          "New Loan",
          "Modification Loan"
        ],
        "enum": [
          "New",
          "Modification"
        ]
      },
      "ModificationAvailabilityType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "IncreaseAvailability",
          "ReduceAvailability"
        ],
        "enum": [
          "Unknown",
          "IncreaseAvailability",
          "ReduceAvailability"
        ]
      },
      "PreviousAgreementType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "LoanAgreement",
          "SecurityAgreement",
          "CombinedLoanAndSecurityAgreement"
        ],
        "x-enum-descriptions": [
          "Loan Agreement",
          "Security Agreement",
          "Combined Loan and Security Agreement"
        ],
        "enum": [
          "LoanAgreement",
          "SecurityAgreement",
          "CombinedLoanAndSecurityAgreement"
        ]
      },
      "PreviousAgreement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "previousAgreementType": {
                "description": "Specifies the type of the previous agreement by the borrower.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviousAgreementType"
                  }
                ]
              },
              "dateOfPreviousAgreement": {
                "type": "string",
                "description": "The date of the previous agreement.",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "CollateralModificationStatusType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Existing",
          "Released",
          "Added"
        ],
        "x-enum-descriptions": [
          "Existing",
          "Released",
          "Added"
        ],
        "enum": [
          "Existing",
          "Released",
          "Added"
        ]
      },
      "HmdaLoanPurposeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "HomePurchase",
          "HomeImprovement",
          "Refinancing",
          "CashOutRefinancing",
          "Other",
          "NotApplicable"
        ],
        "enum": [
          "HomePurchase",
          "HomeImprovement",
          "Refinancing",
          "CashOutRefinancing",
          "Other",
          "NotApplicable"
        ]
      },
      "SubmissionOfApplicationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SubmittedDirectlyToYourInstitution",
          "NotSubmittedDirectlyToYourInstitution",
          "NotApplicable"
        ],
        "enum": [
          "SubmittedDirectlyToYourInstitution",
          "NotSubmittedDirectlyToYourInstitution",
          "NotApplicable"
        ]
      },
      "CollateralItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "category": {
                "description": "The category of the Collateral Item",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralCategory"
                  }
                ]
              },
              "legalDesc": {
                "type": "string",
                "description": "The legal description of the collateral item.",
                "nullable": true
              },
              "lienPriority": {
                "description": "Lien Priority of the new loan in favor of the lender making the loan.  Typically it is first but we support from first to fifth lien position.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LienPriority"
                  }
                ]
              },
              "lienHolders": {
                "type": "array",
                "description": "List of Lien Holders.  This is used when the lender for the new loan is not taking a first lien position in the collateral.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LienHolder"
                }
              },
              "realEstate": {
                "description": "The real estate associated with the collateral item.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstate"
                  }
                ]
              },
              "ownerNoId": {
                "type": "array",
                "description": "List of owner identification numbers.",
                "items": {
                  "type": "string"
                }
              },
              "collateralOwners": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralOwnerRef"
                }
              },
              "owners": {
                "type": "string",
                "description": "The owners of the collateral item.",
                "nullable": true
              },
              "landlordConsentObligation": {
                "description": "The type of obligation the lender will have when entering the property.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LandlordConsentObligation"
                  }
                ]
              },
              "landlordsConsentInd": {
                "type": "boolean",
                "description": "Indicates whether a Landlord's Consent and Waiver of Lien document is required for the collateral item",
                "nullable": true
              },
              "landlordConsentObligationOtherDesc": {
                "type": "string",
                "description": "Custom description of the lender's obligation to the landlord.",
                "nullable": true
              },
              "ucc": {
                "description": "Ucc",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Ucc"
                  }
                ]
              },
              "landlords": {
                "type": "array",
                "description": "Landlords",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Landlord"
                }
              },
              "insRequiredInd": {
                "type": "boolean",
                "description": "Specifies whether property insurance is required to be kept on the collateral",
                "nullable": true
              },
              "consumer": {
                "description": "The Consumer details",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Consumer"
                  }
                ]
              },
              "futureAdvances": {
                "type": "boolean",
                "description": "If true future advances on the loan are secured by the collateral.",
                "nullable": true
              },
              "primaryUse": {
                "description": "Defines the primary use of the collateral item for the application",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrimaryUseType"
                  }
                ]
              },
              "warehousemen": {
                "type": "array",
                "description": "List of Warehousemen.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Warehouseman"
                }
              },
              "warehousemanInd": {
                "type": "boolean",
                "description": "Indicates whether a Warehouseman's Letter will be required.",
                "nullable": true
              },
              "lifeInsurance": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifeInsurance"
                  }
                ]
              },
              "pledge": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Pledge"
                  }
                ]
              },
              "locationDesc": {
                "type": "string",
                "description": "Description of the location of warehoused goods for the Warehouseman's Letter document.",
                "nullable": true
              },
              "goodsDesc": {
                "type": "string",
                "description": "Description of warehoused goods for the Warehouseman's Letter document.",
                "nullable": true
              },
              "noClaimOrInterestInd": {
                "type": "boolean",
                "description": "Indicates whether a warehouseman has ownership or interest in a borrower's goods stored at the warehouse.",
                "nullable": true
              },
              "lenderMayInspectInd": {
                "type": "boolean",
                "description": "Indicates whether the lender has rights to inspect a borrower's collateral goods stored in a warehouse.",
                "nullable": true
              },
              "debtsSecuredBy": {
                "description": "The debt that is secured by the collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DebtsSecuredBy"
                  }
                ]
              },
              "debtsSecuredByDesc": {
                "type": "string",
                "description": "Describes the note contract or other evidence of debt secured by the collateral.",
                "nullable": true
              },
              "confirmOralNoticeInd": {
                "type": "boolean",
                "description": "Assignment of Deposit Account",
                "nullable": true
              },
              "crossCollateralizationVoidInd": {
                "type": "boolean",
                "description": "If true, the cross collateralization clause on any existing or future loan is void and ineffective by this collateral.",
                "nullable": true
              },
              "collateralCode": {
                "type": "string",
                "description": "The collateral code assigned to the loan from the lender.",
                "nullable": true
              },
              "debtsSecuredByUseDefault": {
                "type": "boolean",
                "description": "Lock icon to customize the Debts Secured By Description.",
                "nullable": true
              },
              "personalPropertyInd": {
                "type": "boolean",
                "description": "If true the collateral is personal property.",
                "nullable": true
              },
              "linkedInsurance": {
                "type": "string",
                "description": "The Insurance[] record linked to the collateral item",
                "nullable": true
              },
              "policy": {
                "description": "Policy settings specific to this collateral item.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralItemPolicy"
                  }
                ]
              },
              "locationState": {
                "description": "The state in which the collateral item is located.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "insuranceId": {
                "type": "string",
                "description": "Insurance identifier for the collateral item",
                "nullable": true
              },
              "constructionPropertyInd": {
                "type": "boolean",
                "description": "Indicates whether this is a construction property",
                "nullable": true
              },
              "farmProducts": {
                "type": "array",
                "description": "The farm products associated with this collateral item",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FarmProduct"
                }
              },
              "farmProductBuyers": {
                "type": "array",
                "description": "The farm product buyers associated with this collateral item",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FarmProductBuyer"
                }
              },
              "valuations": {
                "type": "array",
                "description": "Collection of valuations associated with the entity",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Valuation"
                }
              },
              "noticeOfLienOKInd": {
                "type": "boolean",
                "description": "Indicates lien notice for Oklahoma.",
                "nullable": true
              },
              "motorVehicleTransitionalOwnershipWYInd": {
                "type": "boolean",
                "description": "Flags transitional ownership for Wyoming vehicles.",
                "nullable": true
              },
              "motorVehicleTitleNotificationInd": {
                "type": "boolean",
                "description": "Shows if a title notification is included.",
                "nullable": true
              },
              "motorVehicleTitleNoticeInd": {
                "type": "boolean",
                "description": "Shows if a title notice is included.",
                "nullable": true
              },
              "motorVehicleTitleApplicationInd": {
                "type": "boolean",
                "description": "Shows if a title application is included.",
                "nullable": true
              },
              "motorVehiclePowerOfAttorneyInd": {
                "type": "boolean",
                "description": "Flags inclusion of a motor vehicle power of attorney.",
                "nullable": true
              },
              "motorVehicleNoticeOfLienFLInd": {
                "type": "boolean",
                "description": "Indicates lien notice for Florida vehicles.",
                "nullable": true
              },
              "boatTitleApplicationInd": {
                "type": "boolean",
                "description": "Shows if a boat title application is included.",
                "nullable": true
              },
              "motorVehicleTitleNoticeOfLienMOInd": {
                "type": "boolean",
                "description": "Indicates lien notice for Missouri vehicles.",
                "nullable": true
              },
              "assignees": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Assignee"
                }
              },
              "lessees": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Lessee"
                }
              },
              "lessors": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Lessor"
                }
              },
              "primaryUsers": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PrimaryUser"
                }
              },
              "collateralSections": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralSection"
                }
              },
              "sellers": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Seller"
                }
              },
              "titleApplicationFees": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TitleApplicationFee"
                }
              },
              "isGhost": {
                "type": "boolean",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)"
              },
              "assignmentDebtsSecuredBy": {
                "description": "The debt that is secured by the collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DebtsSecuredBy"
                  }
                ]
              },
              "assignmentDebtsSecuredByDesc": {
                "type": "string",
                "description": "Describes the note contract or other evidence of debt secured by the collateral.",
                "nullable": true
              },
              "assignmentDebtsSecuredByUseDefault": {
                "type": "boolean",
                "description": "Checkbox to customize the Debts Secured By Description.",
                "nullable": true
              },
              "modification": {
                "description": "The modification details for this collateral item.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              },
              "tenants": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Tenant"
                }
              },
              "isLegalDescUpdated": {
                "type": "boolean",
                "description": "On refresh or after navigating away and reopening the collateral, getCollateralDetails fetches without the flag, and patchWithData restores See Exhibit A.",
                "nullable": true
              }
            }
          }
        ]
      },
      "CollateralCategory": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "RealEstate",
          "UCC",
          "Consumer",
          "Pledge",
          "LifeInsurance"
        ],
        "x-enum-descriptions": [
          "",
          "Real Estate",
          "UCC",
          "Consumer",
          "The category of the Collateral Item",
          "The category of the Collateral Item"
        ],
        "enum": [
          "Unknown",
          "RealEstate",
          "UCC",
          "Consumer",
          "Pledge",
          "LifeInsurance"
        ]
      },
      "LienPriority": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "First",
          "Second",
          "Third",
          "Fourth",
          "Fifth"
        ],
        "enum": [
          "First",
          "Second",
          "Third",
          "Fourth",
          "Fifth"
        ]
      },
      "LienHolder": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "description": "Type of the lien holder party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "First Name of the Lien Holder",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "Middle Name of the Lien Holder",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "Last Name of the Lien Holder",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Suffix of the Lien Holder",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "Name of the Lien Holder",
                "nullable": true
              },
              "establishedState": {
                "description": "State in which the lien holder entity is established.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "originalDate": {
                "type": "string",
                "description": "Original Date",
                "format": "date",
                "nullable": true
              },
              "originalAmt": {
                "type": "number",
                "description": "Original amount of the loan on the prior lien.",
                "format": "decimal",
                "nullable": true
              },
              "balance": {
                "type": "number",
                "description": "Existing balance of the loan on the prior lien.",
                "format": "decimal",
                "nullable": true
              },
              "account": {
                "type": "string",
                "description": "Account number or other means to identify the loan with the prior lien holder.",
                "nullable": true
              },
              "loanTermsDescription": {
                "type": "string",
                "description": "Description of the terms of the loan for the existing lien.",
                "nullable": true
              },
              "residence": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "notaryCounty": {
                "type": "string",
                "nullable": true
              },
              "notaryPublicName": {
                "type": "string",
                "nullable": true
              },
              "notaryState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "lienDescription": {
                "type": "string",
                "description": "Description of the prior lien.",
                "nullable": true
              },
              "recordedCity": {
                "type": "string",
                "description": "City in which the security instrument was recorded for the existing lien.",
                "nullable": true
              },
              "recordedCounty": {
                "type": "string",
                "description": "County in which the security instrument was recorded for the prior lien.",
                "nullable": true
              },
              "recordedDate": {
                "type": "string",
                "description": "Date on which the security instrument was recorded for the prior lien.",
                "format": "date",
                "nullable": true
              },
              "recordedVolumeId": {
                "type": "string",
                "description": "Volume or book number or ID for the recordation of the prior lien's security instrument.",
                "nullable": true
              },
              "recordedPageNo": {
                "type": "string",
                "description": "Page number for the recordation of the prior lien's security instrument.",
                "nullable": true
              },
              "deedOfTrustTrustee": {
                "type": "string",
                "description": "The name of the party entrusted with holding the property as security for the existing lien.",
                "nullable": true
              },
              "partyID": {
                "type": "string",
                "description": "The party ID of the lien holder",
                "nullable": true
              },
              "recordedEntryNo": {
                "type": "string",
                "description": "Number or other odentifier for the recordation of the prior lien's security instrument.",
                "nullable": true
              },
              "phones": {
                "type": "array",
                "description": "Phones for the LienHolder",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Phone"
                }
              }
            }
          }
        ]
      },
      "InterestedPartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Individual",
          "Association",
          "Cooperative",
          "Corporation",
          "DomesticGovernmentUnit",
          "Estate",
          "FinancialInstitution",
          "ForeignGovernmentUnit",
          "GeneralPartnership",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "SoleProprietorship",
          "Trust",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Individual",
          "Association",
          "Cooperative",
          "Corporation",
          "Domestic Government Unit",
          "Estate",
          "Financial Institution",
          "Foreign Government Unit",
          "General Partnership",
          "Limited Liability Company",
          "Limited Liability Partnership",
          "Limited Partnership",
          "Sole Proprietorship",
          "Trust",
          "Other"
        ],
        "enum": [
          "Unknown",
          "Individual",
          "Association",
          "Cooperative",
          "Corporation",
          "DomesticGovernmentUnit",
          "Estate",
          "FinancialInstitution",
          "ForeignGovernmentUnit",
          "GeneralPartnership",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "SoleProprietorship",
          "Trust",
          "Other"
        ]
      },
      "Phone": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "preferred": {
                "description": "Preffered contact phone of a loan party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PhoneType"
                  }
                ]
              },
              "home": {
                "type": "string",
                "description": "Home phone number of a loan party.",
                "nullable": true
              },
              "cell": {
                "type": "string",
                "description": "Cell phone number of a loan party. ",
                "nullable": true
              },
              "work": {
                "type": "string",
                "description": "Work phone number of a loan party. ",
                "nullable": true
              },
              "workExt": {
                "type": "string",
                "description": "Work phone extension of a loan party. ",
                "nullable": true
              }
            }
          }
        ]
      },
      "PhoneType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Home",
          "Work",
          "Cell"
        ],
        "enum": [
          "Home",
          "Work",
          "Cell"
        ]
      },
      "RealEstate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "realEstateSecurityInstId": {
                "type": "string",
                "description": "Security Instrument Id (Ref)",
                "nullable": true
              },
              "realEstateType": {
                "description": "The real estate type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstateType"
                  }
                ]
              },
              "addresses": {
                "type": "array",
                "description": "Property Addresses",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EnhancedAddress"
                }
              },
              "purchaseMoneyIndicator": {
                "type": "boolean",
                "description": "If true the collateral is being purchased with the proceeds of the Loan.",
                "nullable": true
              },
              "taxMapKey": {
                "type": "string",
                "description": "The tax map key.",
                "nullable": true
              },
              "acquiredDate": {
                "type": "string",
                "description": "The date the collateral was acquired by the owners.",
                "format": "date",
                "nullable": true
              },
              "homesteadIndicator": {
                "type": "boolean",
                "description": "If true the real estate securing this loan is the owner's homestead",
                "nullable": true
              },
              "parcel": {
                "type": "string",
                "description": "The parcel",
                "nullable": true
              },
              "occupancyStatus": {
                "description": "The occupancy status",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OccupancyStatus"
                  }
                ]
              },
              "hmdaOccupancyStatus": {
                "description": "The HMDA occupancy status",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HmdaOccupancyStatus"
                  }
                ]
              },
              "shortLegalDesc": {
                "type": "string",
                "description": "The short legal desc",
                "nullable": true
              },
              "matrimonialPrincipalResidenceInd": {
                "type": "boolean",
                "description": "The matrimonial principal residenceInd",
                "nullable": true
              },
              "permittedEncumbrancesIndicator": {
                "type": "boolean",
                "description": "The permitted encumbrances indicator",
                "nullable": true
              },
              "permittedEncumbrancesDesc": {
                "type": "string",
                "description": "The permitted encumbrances desc",
                "nullable": true
              },
              "policy": {
                "description": "Policy for the Real Estate.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstatePolicy"
                  }
                ]
              },
              "existingLeaseInd": {
                "type": "boolean",
                "description": "If true, existing leases should be added for the collateral.",
                "nullable": true
              },
              "leases": {
                "type": "array",
                "description": "Leases associated with this real estate",
                "items": {
                  "$ref": "#/components/schemas/Lease"
                }
              },
              "formCertificationOfTrustInd": {
                "type": "boolean",
                "description": "If true, select the Certification Of Trust form when the owner of the property is a trust and the property is located in one of the states supported. Form specific to the Certification of Trust.",
                "nullable": true
              },
              "formStatementOfAuthorityCOCommercialInd": {
                "type": "boolean",
                "description": "If true, for the entity owner of real estate collateral in Colorado, an instance of the Statement of Authority-CO should select (e.g., where the document might not otherwise have automatically selected based on the collateral criteria). If false, no instance of the document should select for the entity (e.g., to prevent it from selecting automatically based on the collateral data, which might be appropriate, for example, where the document's statutory function may have been accomplished by other means).  Generally, this document is intended to accompany an instrument recorded with the applicable county for real estate collateral located in Colorado and owned by an entity. It establishes statutory presumptions about the entity and the individuals authorized to act for it – including any specified limitations. When selecting this document, the user should also indicate at least one individual Signer in the immediate party data as an \"Authorization Signer\" specifically qualified to execute authority documents for the entity.",
                "nullable": true
              },
              "geocoding": {
                "description": "Geographic location and census tract information for the property.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Geocoding"
                  }
                ]
              },
              "hmdaReportedCollateralInd": {
                "type": "boolean",
                "description": "Indicates which collateral will be reported to HMDA.",
                "nullable": true
              },
              "excludePropertyValueInd": {
                "type": "boolean",
                "description": "Property Value Not Applicable indicates that the property value is not required to be reported for a specific loan or application, typically due to exemptions or the nature of the loan.",
                "nullable": true
              },
              "propertyValue": {
                "type": "number",
                "description": "Property Value refers to the value of the property securing the loan, typically determined by an appraisal, evaluation, or estimated market value, and reported to assess loan-to-value ratios and lending patterns.",
                "format": "decimal",
                "nullable": true
              },
              "constructionMethod": {
                "description": "Construction Method refers to whether the property securing the loan is a site-built home or a manufactured home, as required for reporting and analyzing loan data.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionMethodType"
                  }
                ]
              },
              "manufacturedHomeSecuredPropertyType": {
                "description": "Manufactured Home Secured Property Type refers to whether a manufactured home securing the loan is classified as real property (permanently affixed to land) or personal property (not affixed to land), for reporting purposes.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ManufacturedHomeSecuredPropertyType"
                  }
                ]
              },
              "manufacturedHomeLandPropertyInterest": {
                "description": "Manufactured Home Land Property Interest refers to the type of land ownership or interest associated with the manufactured home, such as Direct Ownership, Paid Leasehold, Unpaid Leasehold, or Not Applicable, for accurate reporting and analysis.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ManufacturedHomeLandPropertyInterestType"
                  }
                ]
              },
              "unitsNumber": {
                "type": "integer",
                "description": "Number of Units refers to the total number of housing units in the property securing the loan, such as single-family homes, duplexes, or multi-unit buildings, for reporting and analysis purposes.",
                "format": "int32",
                "nullable": true
              },
              "multifamilyAffordableUnitsNumber": {
                "type": "integer",
                "description": "Number of Multifamily Affordable Units refers to the number of housing units within a multifamily property that are designated as affordable under federal, state, or local programs, used for tracking and reporting community lending efforts.",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "RealEstateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NonResidential",
          "SingleFamilyDwelling",
          "TwoToFourFamilyDwelling",
          "MultiFamilyDwellingFivePlus",
          "Condominium",
          "PlannedUnitDevelopment",
          "RawLand"
        ],
        "x-enum-descriptions": [
          "Non Residential",
          "Single Family Dwelling",
          "2-4 Family Dwelling",
          "Multi Family Dwelling Five Plus",
          null,
          "Planned Unit Development",
          "Raw Land"
        ],
        "enum": [
          "NonResidential",
          "SingleFamilyDwelling",
          "TwoToFourFamilyDwelling",
          "MultiFamilyDwellingFivePlus",
          "Condominium",
          "PlannedUnitDevelopment",
          "RawLand"
        ]
      },
      "EnhancedAddress": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Address"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "flood": {
                "description": "Flood information associated with this address",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Flood"
                  }
                ]
              },
              "geocoding": {
                "description": "Geocoding information associated with this address",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Geocoding"
                  }
                ]
              },
              "includeFloodHazDeterminationInd": {
                "type": "boolean",
                "description": "Indicates if the Flood Determination Form should be included",
                "nullable": true
              }
            }
          }
        ]
      },
      "Flood": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "lenderIdNo": {
                "type": "string",
                "description": "Identification of the lender funding the loan",
                "nullable": true
              },
              "certNo": {
                "type": "string",
                "description": "The certification number assigned by the compliance company when an order is received from the submitting / requesting party",
                "nullable": true
              },
              "productCertifyDate": {
                "type": "string",
                "description": "The date on which the flood determination was assessed by the certification provider",
                "format": "date",
                "nullable": true
              },
              "insAmount": {
                "type": "number",
                "description": "The minimal Federal requirement for flood insurance coverage",
                "format": "decimal",
                "nullable": true
              },
              "nfipCommunityName": {
                "type": "string",
                "description": "The complete name of the community in which the building or mobile home is located",
                "nullable": true
              },
              "nfipCounty": {
                "type": "string",
                "description": "The name of the county or counties in which the community is located",
                "nullable": true
              },
              "nfipStateCode": {
                "description": "The state in which the community is located, the two-digit state abbreviation",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "nfipCommunityId": {
                "type": "string",
                "description": "A 6-digit designation identifying each NFIP community",
                "nullable": true
              },
              "nfipMapIndicator": {
                "type": "boolean",
                "description": "Indicates if the NFIP map covers the area where the building or mobile home is located",
                "nullable": true
              },
              "nfipMapId": {
                "type": "string",
                "description": "The 11-digit number shown on the NFIP map that covers the building or mobile home",
                "nullable": true
              },
              "nfipMapPanelDate": {
                "type": "string",
                "description": "The map effective date or the map revised date shown on the NFIP map",
                "format": "date",
                "nullable": true
              },
              "nfipFloodDataRevisionCaseNo": {
                "type": "string",
                "description": "The case number of a Letter of Map Change (LOMC) or a Letter of Map Amendment (LOMA)",
                "nullable": true
              },
              "nfipLetterOfMapDate": {
                "type": "string",
                "description": "The date the letter (LOMA /LOMR) was issued",
                "format": "date",
                "nullable": true
              },
              "zoneType": {
                "type": "string",
                "description": "The flood zone covering the building or mobile home",
                "nullable": true
              },
              "nfipCommunityParticipationStatusType": {
                "description": "A code indicating the type of flood program",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodNfipCommunityParticipationStatusType"
                  }
                ]
              },
              "protectedAreaIndicator": {
                "type": "boolean",
                "description": "Indicates if the building/mobile home is within a Coastal Barrier Resources Area (CBRA) or Otherwise Protected Area (OPA)",
                "nullable": true
              },
              "protectedAreaDesignationDate": {
                "type": "string",
                "description": "The date of the Coastal Barrier Resources Area (CBRA) or Otherwise Protected Area (OPA)",
                "format": "date",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "description": "The data printed on the Flood Hazard Determination form in the 'Comments' section",
                "nullable": true
              },
              "orderType": {
                "description": "The Flood Order Type to be requested upon ordering a Flood Determination via the Flood Integration",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodOrderType"
                  }
                ]
              },
              "productType": {
                "description": "The Flood Determination Product Type last ordered for this collateral",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodProductType"
                  }
                ]
              },
              "certDeliveryEmail": {
                "type": "string",
                "description": "The email address where the Flood Determination results will be emailed when the results are ready",
                "nullable": true
              },
              "propertyLocationDesc": {
                "type": "string",
                "description": "The property location description that appears on the \"Standard Flood Hazard Determination - Commercial\" Expere form under Collateral Description",
                "nullable": true
              },
              "inFloodZone": {
                "type": "boolean",
                "description": "Indicates if the collateral is in a flood zone",
                "nullable": true
              },
              "preparer": {
                "description": "The preparer information associated with this flood determination",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "orderResults": {
                "description": "The order results associated with this flood determination",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResults"
                  }
                ]
              }
            }
          }
        ]
      },
      "FloodNfipCommunityParticipationStatusType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Emergency",
          "NonParticipating",
          "Probation",
          "Regular",
          "Suspended"
        ],
        "x-enum-descriptions": [
          "",
          "Emergency",
          "Non-Participating",
          "Probation",
          "Regular",
          "Suspended"
        ],
        "enum": [
          "Unknown",
          "Emergency",
          "NonParticipating",
          "Probation",
          "Regular",
          "Suspended"
        ]
      },
      "ContactInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string",
                "description": "The email address of the contact.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the contact.",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "The title of the contact.",
                "nullable": true
              },
              "contact": {
                "type": "string",
                "description": "The contact information.",
                "nullable": true
              },
              "address": {
                "description": "The address of the contact.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the contact.",
                "nullable": true
              },
              "link": {
                "description": "The tax bill sent to link",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TaxBillSentToLink"
                  }
                ]
              },
              "printOptIndicator": {
                "type": "boolean",
                "description": "The print opt indicator",
                "nullable": true
              },
              "partyType": {
                "description": "The party type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ReturnedToPartyType"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "The first name",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Suffix",
                "nullable": true
              },
              "businessName": {
                "type": "string",
                "description": "Business Name",
                "nullable": true
              },
              "contactName": {
                "type": "string",
                "description": "Contact Name",
                "nullable": true
              },
              "deliveryType": {
                "description": "Delivery Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryType"
                  }
                ]
              },
              "identificationNumber": {
                "type": "string",
                "description": "The Identification Number of a loan party.",
                "nullable": true
              }
            }
          }
        ]
      },
      "TaxBillSentToLink": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Lender",
          "CollateralAddress",
          "Other"
        ],
        "x-enum-descriptions": [
          "Lender",
          "Collateral Address",
          "Other"
        ],
        "enum": [
          "Lender",
          "CollateralAddress",
          "Other"
        ]
      },
      "ReturnedToPartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Individual",
          "Entity"
        ],
        "x-enum-descriptions": [
          "",
          "Individual",
          "Entity"
        ],
        "enum": [
          "Unknown",
          "Individual",
          "Entity"
        ]
      },
      "Geocoding": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "countyFIPSCode": {
                "type": "string",
                "description": "The Federal Information Processing Standard (FIPS) three-digit numerical code for the county",
                "nullable": true
              },
              "stateFIPSCode": {
                "type": "string",
                "description": "The Federal Information Processing Standard (FIPS) two-digit numerical code for the county",
                "nullable": true
              },
              "censusTractId": {
                "type": "string",
                "description": "Identifies census tract as defined by the U.S. Census Bureau where the collateral is located",
                "nullable": true
              },
              "msaId": {
                "type": "string",
                "description": "The metropolitan area number",
                "nullable": true
              },
              "manualInd": {
                "type": "boolean",
                "description": "Manual Geocode refers to the process of manually assigning a geographic location (census tract) to a property when automated geocoding systems cannot accurately determine the location.",
                "nullable": true
              },
              "geocodingDoesNotApplyInd": {
                "type": "boolean",
                "description": "Geocode Not Applicable indicates that geographic location data, such as the census tract, is not required to be reported for a specific loan or application, typically due to exemptions or the nature of the loan.",
                "nullable": true
              },
              "hmdamsaCode": {
                "type": "string",
                "description": "MSA Metropolitan Area Number refers to the unique code assigned to a Metropolitan Statistical Area (MSA) where the property securing the loan is located, used for reporting and analyzing lending activity within specific geographic regions.",
                "nullable": true
              },
              "hmdaStateFIPSCode": {
                "type": "string",
                "description": "State Code refers to the two-digit Federal Information Processing Standards (FIPS) code representing the U.S. state or territory where the property securing the loan is located, used for geographic reporting and analysis.",
                "nullable": true
              },
              "hmdaCountyFIPSCode": {
                "type": "string",
                "description": "County Code refers to the three-digit Federal Information Processing Standards (FIPS) code that identifies the specific county where the property securing the loan is located, used for geographic reporting and compliance.",
                "nullable": true
              },
              "hmdaCensusTractCode": {
                "type": "string",
                "description": "Census Tract refers to the geographic area defined by the U.S. Census Bureau, identified by a unique code, where the property securing the loan is located, used for reporting and analyzing lending patterns within specific communities.",
                "nullable": true
              },
              "hmdaCountyFIPSCode5": {
                "type": "string",
                "description": "County 5 refers to the five-digit code that uniquely identifies the specific county where the property securing the loan is located, combining the two-digit state FIPS code and the three-digit county FIPS code for precise geographic reporting.",
                "nullable": true
              },
              "hmdaCensusTractCode11": {
                "type": "string",
                "description": "Census Tract 11 refers to the eleven-digit code that uniquely identifies a specific census tract within a county, combining the state code, county code, and tract number for detailed geographic reporting.",
                "nullable": true
              },
              "latitude": {
                "type": "string",
                "description": "The Latitude to which the address was matched.",
                "nullable": true
              },
              "longitude": {
                "type": "string",
                "description": "The Longitude to which the address was matched.",
                "nullable": true
              },
              "mmwStat": {
                "type": "string",
                "description": "The match status code.",
                "nullable": true
              }
            }
          }
        ]
      },
      "OccupancyStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PrincipalDwellingOfOneOrMoreOfTheCollateralOwners",
          "DwellingOfOneOrMoreOfTheCollateralOwners",
          "NotaDwellingOfOneOrMoreOfTheCollateralOwners"
        ],
        "enum": [
          "PrincipalDwellingOfOneOrMoreOfTheCollateralOwners",
          "DwellingOfOneOrMoreOfTheCollateralOwners",
          "NotaDwellingOfOneOrMoreOfTheCollateralOwners"
        ]
      },
      "HmdaOccupancyStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "PrincipalResidence",
          "SecondResidence",
          "InvestmentProperty"
        ],
        "enum": [
          "Unknown",
          "PrincipalResidence",
          "SecondResidence",
          "InvestmentProperty"
        ]
      },
      "RealEstatePolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "attachGuarantyInd": {
                "type": "boolean",
                "description": "If true, a copy of the guaranty or guaranties is attached to the security instrument.",
                "nullable": true
              },
              "controlledSubstanceInd": {
                "type": "boolean",
                "description": "If true, controlled substance language addressing the conflict between state laws legalizing marijuana and federal laws that continue to prohibit the cultivation, distribution, and sale of controlled substances will be included.",
                "nullable": true
              },
              "formAffidavitOfTitleNewJerseyInd": {
                "type": "boolean",
                "description": "The institution desires to create an Affidavit of Title for the collateral.",
                "nullable": true
              },
              "includeCoverPageInd": {
                "type": "boolean",
                "description": "If true, the lender elects to use a cover page, also known as a fly sheet.",
                "nullable": true
              },
              "notaryRealEstateMaritalStatusInd": {
                "type": "boolean",
                "description": "If true, the user intends that the notary acknowledgment(s) for any individual Owners of the real estate collateral should include marital status information. (This option only applies to real estate collateral located in a state that doesn't already explicitly require marital status information in the notary. Note that, separately, the marital status description can also be overridden for any individual Owner.)",
                "nullable": true
              },
              "omitDeliveryInformationForTaxStatementsInd": {
                "type": "boolean",
                "description": "If true, the lender wishes to omit the delivery address information for tax statements for real property.",
                "nullable": true
              },
              "securityAgreementSpecificObligationsInd": {
                "type": "boolean",
                "description": "If true, specific obligations should be listed in the security agreement.",
                "nullable": true
              },
              "securityInstrumentLoanReferenceInObligationsDefinitionInd": {
                "type": "boolean",
                "description": "If true, the loan references will be in the Obligations Definition section of the security instrument rather than the Granting section.",
                "nullable": true
              },
              "uccAllAssetsInd": {
                "type": "boolean",
                "description": "If true, the collateral description should include the UCC all assets language.",
                "nullable": true
              },
              "connecticutAttachMortgageOptionType": {
                "description": "Connecticut Attach Mortgage Option Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConnecticutAttachMortgageOptionType"
                  }
                ]
              },
              "formAppraisalDiscriminationNoticeCAInd": {
                "type": "boolean",
                "description": "If true, the Lender wants to provide the Appraisal Discrimination Notice-CA for refinancing a first lien purchase money loan secured by residential real property containing no more than four dwelling units, located in California.",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConnecticutAttachMortgageOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AttachNotesAndGuaranties",
          "AttachNotesOnly"
        ],
        "x-enum-descriptions": [
          "Attach Notes And Guaranties",
          "Attach Notes Only"
        ],
        "enum": [
          "AttachNotesAndGuaranties",
          "AttachNotesOnly"
        ]
      },
      "Lease": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "amendedDate": {
                "type": "string",
                "description": "The date the lease was amended.",
                "format": "date",
                "nullable": true
              },
              "currentThroughDate": {
                "type": "string",
                "description": "The date the payments on the lease on the collateral are current through.",
                "format": "date",
                "nullable": true
              },
              "depositAmount": {
                "type": "number",
                "description": "The amount of the security deposit paid from the lessee to the lessor on the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "leaseDate": {
                "type": "string",
                "description": "The date on which the lease was executed.",
                "format": "date",
                "nullable": true
              },
              "propertyDesc": {
                "type": "string",
                "description": "A description of the leased property.",
                "nullable": true
              },
              "expirationDate": {
                "type": "string",
                "description": "The expiration date of the lease on the collateral.",
                "format": "date",
                "nullable": true
              },
              "address": {
                "description": "Address of the leased property",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "lessees": {
                "type": "array",
                "description": "Lessees associated with this lease",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Lessee"
                }
              },
              "useCollateralAddressforLease": {
                "type": "boolean",
                "description": "If true, location address of the lease is the same as Collateral's first address. ",
                "nullable": true
              }
            }
          }
        ]
      },
      "Lessee": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "businessName": {
                "type": "string",
                "description": "The business name of the lessee.",
                "nullable": true
              },
              "dbaName": {
                "type": "string",
                "description": "The 'doing business as' or trade name of the Lessee.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The email of a lessee.",
                "nullable": true
              },
              "partyType": {
                "description": "The party type of the lessee.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "establishedState": {
                "description": "The state in which the business of the collateral lessee is incorporated registered or organized.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "The first name of a lessee.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name of a lessee.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name of a lessee.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the lessee.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The suffix to name of a lessee.",
                "nullable": true
              },
              "address": {
                "description": "Permanent address of the lessee",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "mailing": {
                "description": "Mailing address of the lessee",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "signers": {
                "type": "array",
                "description": "Signers for the lessee",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              }
            }
          }
        ]
      },
      "ConstructionMethodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SiteBuilt",
          "ManufacturedHome"
        ],
        "enum": [
          "SiteBuilt",
          "ManufacturedHome"
        ]
      },
      "ManufacturedHomeSecuredPropertyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ManufacturedHomeAndLand",
          "ManufacturedHomeAndNotLand",
          "NotApplicable"
        ],
        "enum": [
          "ManufacturedHomeAndLand",
          "ManufacturedHomeAndNotLand",
          "NotApplicable"
        ]
      },
      "ManufacturedHomeLandPropertyInterestType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DirectOwnership",
          "IndirectOwnership",
          "PaidLeasehold",
          "UnpaidLeasehold",
          "NotApplicable"
        ],
        "enum": [
          "DirectOwnership",
          "IndirectOwnership",
          "PaidLeasehold",
          "UnpaidLeasehold",
          "NotApplicable"
        ]
      },
      "CollateralOwnerRef": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ownerNoId": {
                "type": "string",
                "nullable": true
              },
              "uniqueApprovedIdentifier": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LandlordConsentObligation": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "RestorationAndRent",
          "Other"
        ],
        "x-enum-descriptions": [
          "None",
          "Restoration And Rent",
          "Other"
        ],
        "enum": [
          "None",
          "RestorationAndRent",
          "Other"
        ]
      },
      "Ucc": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "securityAgreementId": {
                "type": "string",
                "description": "A link to the Security Agreement, to which the UCC Collateral item is tied",
                "nullable": true
              },
              "uccType": {
                "description": "The type of the UCC Collateral",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UccType"
                  }
                ]
              },
              "policy": {
                "description": "Policy",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UccPolicy"
                  }
                ]
              },
              "addresses": {
                "type": "array",
                "description": "UCC Addresses",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Address"
                }
              },
              "titledGoodsInd": {
                "type": "boolean",
                "description": "Identify whether Titled Goods should be included in addition to All Assets collateral",
                "nullable": true
              },
              "specificEquipmentInd": {
                "type": "boolean",
                "description": "Identify whether specific equipment should be included in collateral definition",
                "nullable": true
              },
              "specificEquipmentDesc": {
                "type": "string",
                "description": "Specific Equipment definition",
                "nullable": true
              },
              "userDefinedDesc": {
                "type": "string",
                "description": "Description of the custom collateral",
                "nullable": true
              },
              "specificUCCCategories": {
                "type": "array",
                "description": "The type of the Specific UCC Categories to be selected",
                "items": {
                  "$ref": "#/components/schemas/SpecificUCCCategory"
                }
              },
              "titledGoods": {
                "type": "array",
                "description": "TitledGoods",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TitledGood"
                }
              },
              "specificDesc": {
                "type": "string",
                "description": "Description of the collateral",
                "nullable": true
              },
              "filerDesignationType": {
                "description": "With whom the filer designates the filing",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FilerDesignationType"
                  }
                ]
              },
              "uccFilingAuthInd": {
                "type": "boolean",
                "description": "Indicates that a UCC/Financing Statement Authorization is required.",
                "nullable": true
              },
              "uccFilingRefNumber": {
                "type": "string",
                "description": "The filing or reference number assigned to the Financing Statement Authorization.",
                "nullable": true
              },
              "uccAdditionalInfo": {
                "type": "string",
                "description": "Additional information regarding the Financing Statement provided by the secured party.",
                "nullable": true
              },
              "uccAddendumMiscInfo": {
                "type": "string",
                "description": "Additional miscellaneous text for the Financing Statement Addendum (multi-state or any state specific variation).",
                "nullable": true
              },
              "uccAdditionalPartyMiscInfo": {
                "type": "string",
                "description": "The additional information not provided on the Financing Statement (Form UCC1) that may be required or where states may have non-uniform requirements which should be disclosed on the UCC Financing Statement Additional Party (UCC1AP).",
                "nullable": true
              },
              "uccCollateralDescInd": {
                "type": "boolean",
                "description": "If true, the lender wants Expere to generate a freestanding collateral description document for any collateral that would (separately) generate a UCC1 Financing Statement. (For example, a lender may wish to generate a collateral description document for purposes of an electronic filing attachment or assisting in the processing of electronic filing of a UCC financing statement in a state or jurisdiction that allows or requires electronic filing.)",
                "nullable": true
              },
              "useUCCGeneralDesc": {
                "type": "boolean",
                "description": "If true the UCC general collateral description should be used to describe this collateral in the security agreement.",
                "nullable": true
              },
              "formAssignmentOfFarmProductsPaymentsAdditionalTermsDesc": {
                "type": "string",
                "description": "User-defined additional terms that will print in the Assignment of Farm Products Payments.",
                "nullable": true
              },
              "formAssignmentOfFarmProductsPaymentsSourceType": {
                "description": "The source of the payments being assigned.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FormAssignmentOfFarmProductsPaymentsSourceType"
                  }
                ]
              },
              "formAssignmentOfFarmProductsPaymentsInd": {
                "type": "boolean",
                "description": "If true, the lender is taking an assignment of accounts receivable collateral relating to the sale of farm products, to income from contracts related to the sale of farm products, or both.",
                "nullable": true
              },
              "paymentObligationsDesc": {
                "type": "string",
                "description": "If the Secured Party (lender) wishes to waive or release its security interest this data point states the conditions that will be imposed on a farm products buyer.",
                "nullable": true
              },
              "realPropertyDesc": {
                "type": "string",
                "description": "\r\nThe legal description of the collateral (one paragraph).",
                "nullable": true
              }
            }
          }
        ]
      },
      "UccType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AllAssets",
          "Equipment",
          "TitledGoods",
          "SpecificUCCCategories",
          "UserDefined"
        ],
        "x-enum-descriptions": [
          "",
          null,
          "Equipment",
          "Titled Goods",
          "Specific UCC Categories",
          "User Defined"
        ],
        "enum": [
          "Unknown",
          "AllAssets",
          "Equipment",
          "TitledGoods",
          "SpecificUCCCategories",
          "UserDefined"
        ]
      },
      "UccPolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "useGeneral": {
                "type": "boolean",
                "description": "If true the UCC general collateral description should be used to describe this collateral in the security agreement."
              }
            }
          }
        ]
      },
      "SpecificUCCCategory": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Accounts",
          "AllGoods",
          "ChattelPaper",
          "CommercialTortClaims",
          "Documents",
          "FarmProducts",
          "GeneralIntangibles",
          "Instruments",
          "Inventory",
          "LetterofCredit",
          "Timbertobecut"
        ],
        "x-enum-descriptions": [
          "Accounts",
          "All Goods",
          "Chattel Paper",
          "Commercial Tort Claims",
          "Documents",
          "Farm Products",
          "General Intangibles",
          "Instruments",
          "Inventory",
          "Letter of Credit",
          "Timber to be cut"
        ],
        "enum": [
          "Accounts",
          "AllGoods",
          "ChattelPaper",
          "CommercialTortClaims",
          "Documents",
          "FarmProducts",
          "GeneralIntangibles",
          "Instruments",
          "Inventory",
          "LetterofCredit",
          "Timbertobecut"
        ]
      },
      "TitledGood": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "conditionNewUsedType": {
                "description": "The condition of the collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConditionNewUsedType"
                  }
                ]
              },
              "type": {
                "description": "The type of the Titled Goods to be added to transaction",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TitledGoodsType"
                  }
                ]
              },
              "year": {
                "type": "string",
                "description": "The year of the collateral.",
                "nullable": true
              },
              "make": {
                "type": "string",
                "description": "The make of the collateral.",
                "nullable": true
              },
              "model": {
                "type": "string",
                "description": "The model number and/or model description of the collateral.",
                "nullable": true
              },
              "vin": {
                "type": "string",
                "description": "The VIN number of the motor vehicle",
                "nullable": true
              },
              "titleMailingAddressState": {
                "description": "The state of the address of the person to whom the title should be mailed.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "desc": {
                "type": "string",
                "description": "Additional description of the titled vehicle",
                "nullable": true
              },
              "powerOfAttorneyInd": {
                "type": "boolean",
                "description": "Indicated whether Power of Attornay will be generated for this document",
                "nullable": true
              },
              "hullId": {
                "type": "string",
                "description": "The hull identification number of the collateral.",
                "nullable": true
              },
              "residenceInd": {
                "type": "boolean",
                "description": "The identification whether boat is used for residence purposes",
                "nullable": true
              },
              "manufacturer": {
                "type": "string",
                "description": "The manufacturer of the collateral.",
                "nullable": true
              },
              "color": {
                "type": "string",
                "description": "The color of the collateral.",
                "nullable": true
              },
              "serial": {
                "type": "string",
                "description": "The serial of the collateral.",
                "nullable": true
              },
              "combinedDesc": {
                "type": "string",
                "description": "This is the combined description of the collateral that displays on the Collateral page Expanded Summary View for each collateral item. For Auto collateral, this will be the Year, Make and Model of the vehicle.",
                "nullable": true
              },
              "titleId": {
                "type": "string",
                "description": "Indicated the titled boat",
                "nullable": true
              },
              "licenseNumber": {
                "type": "string",
                "description": "The license number or identifier assigned to the collateral.",
                "nullable": true
              },
              "additionalDesc": {
                "type": "string",
                "description": "Additional description of this collateral.",
                "nullable": true
              },
              "value": {
                "type": "number",
                "description": "The value of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "titleStatus": {
                "description": "The titled status of the Collateral",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TitleStatus"
                  }
                ]
              },
              "horsepower": {
                "type": "integer",
                "description": "The horsepower rating for the collateral.",
                "format": "int32",
                "nullable": true
              },
              "lengthFeet": {
                "type": "integer",
                "description": "The number of full feet in the length of the collateral item (for example in the full length is 12 feet 6 inches this would be 12).",
                "format": "int32",
                "nullable": true
              },
              "lengthInches": {
                "type": "integer",
                "description": "The inches portion of the length of the collateral item (for example in the full length is 12 feet 6 inches this would be 6).",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConditionNewUsedType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "New",
          "Used"
        ],
        "enum": [
          "New",
          "Used"
        ]
      },
      "TitledGoodsType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Vehicle",
          "Boat",
          "OutboardMotor",
          "Trailer"
        ],
        "x-enum-descriptions": [
          "",
          "Vehicle",
          "Boat",
          "Outboard Motor",
          "Trailer"
        ],
        "enum": [
          "Unknown",
          "Vehicle",
          "Boat",
          "OutboardMotor",
          "Trailer"
        ]
      },
      "TitleStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Titled",
          "Untitled"
        ],
        "enum": [
          "Titled",
          "Untitled"
        ]
      },
      "FilerDesignationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Lessor",
          "Consigner",
          "Bailor",
          "BuyerSeller"
        ],
        "enum": [
          "Unknown",
          "Lessor",
          "Consigner",
          "Bailor",
          "BuyerSeller"
        ]
      },
      "FormAssignmentOfFarmProductsPaymentsSourceType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "SaleOfFarmProducts",
          "SaleOfFarmProductsAndContractIncome",
          "ContractIncome"
        ],
        "enum": [
          "Unknown",
          "SaleOfFarmProducts",
          "SaleOfFarmProductsAndContractIncome",
          "ContractIncome"
        ]
      },
      "Landlord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "description": "Type of the landlord party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "First name of the landlord.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "Middle name of the landlord.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "Last name of the landlord.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Suffix of the landlord.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "Name of the landlord entity",
                "nullable": true
              },
              "establishedState": {
                "description": "State in which the landlord entity is established.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "email": {
                "type": "string",
                "description": "Email address of the landlord.",
                "nullable": true
              },
              "addressIds": {
                "type": "array",
                "description": "Address Ids of the landlord.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "signers": {
                "type": "array",
                "description": "Signers of the landlord.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              }
            }
          }
        ]
      },
      "Consumer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "consumerType": {
                "description": "The type of Consumer Collateral",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerType"
                  }
                ]
              },
              "useOwner1Address": {
                "type": "boolean",
                "description": "When selected, this field will copy the Address information from a Collateral Owner 1 to the Collateral Address",
                "nullable": true
              },
              "address": {
                "description": "The Collateral Address.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "titledGood": {
                "description": "The Titled Good.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TitledGood"
                  }
                ]
              },
              "purchaseMoneyIndicator": {
                "type": "boolean",
                "description": "The Purchase Money Indicator.",
                "nullable": true
              },
              "securityAgreementId": {
                "type": "string",
                "description": "The unique identifier assigned to the Security Agreement that the collateral should be included on.  Multiple pieces of collateral can in some cases be included on the same Security Agreement and in that case those pieces of collateral should have the same value here.  In order for multiple collateral to be referenced on the same Security Agreement the collateral must have the same owners the same debts secured and must not be collateral of types Boat (Federally Documented/Residence) (803) or Boat (Federally Documented/Non-Residence) (1004).",
                "nullable": true
              },
              "additionalTILDesc": {
                "type": "string",
                "description": "Additional description of the collateral for the TIL Disclosure",
                "nullable": true
              },
              "seller": {
                "type": "array",
                "description": "The sellers for vessel collateral",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Seller"
                }
              },
              "financialAsset": {
                "description": "The Financial Asset details",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialAsset"
                  }
                ]
              },
              "issuer": {
                "type": "array",
                "description": "The issuers for securities collateral",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Issuer"
                }
              },
              "beneficiary": {
                "type": "array",
                "description": "The beneficiaries for life insurance collateral",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Beneficiary"
                }
              },
              "lifeInsurance": {
                "description": "The life insurance collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifeInsurance"
                  }
                ]
              },
              "propertyHeldInTrustInd": {
                "type": "boolean",
                "description": "Indicates whether the Consumer collateral property is held in trust.",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConsumerType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Auto",
          "Boat",
          "Bond",
          "CertificateOfDeposit",
          "ConsumerGoods",
          "DepositAccount",
          "Equipment",
          "LifeInsurancePolicy",
          "MutualFunds",
          "OutboardMotor",
          "RecreationalVehicle",
          "SecuritiesStock",
          "Trailer",
          "VesselsShipsFederal"
        ],
        "x-enum-descriptions": [
          "",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral",
          "The type of Consumer Collateral"
        ],
        "enum": [
          "Unknown",
          "Auto",
          "Boat",
          "Bond",
          "CertificateOfDeposit",
          "ConsumerGoods",
          "DepositAccount",
          "Equipment",
          "LifeInsurancePolicy",
          "MutualFunds",
          "OutboardMotor",
          "RecreationalVehicle",
          "SecuritiesStock",
          "Trailer",
          "VesselsShipsFederal"
        ]
      },
      "Seller": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "businessName": {
                "type": "string",
                "description": "The business name of the seller.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The email address of the Seller.",
                "nullable": true
              },
              "partyType": {
                "description": "The party type of the seller.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "establishedState": {
                "description": "The state in which the business of the seller is incorporated, registered, or organized.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "The first name of the seller.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name of the seller.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name of the seller.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The suffix to the name of the seller.",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "description": "The signers for the seller.",
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              },
              "address": {
                "description": "The address of the seller.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "identifications": {
                "type": "array",
                "description": "The Identification of the seller.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Identification"
                }
              }
            }
          }
        ]
      },
      "Identification": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "Identification Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IdentificationType"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "description": "Identification Type Other Description",
                "nullable": true
              },
              "number": {
                "type": "string",
                "description": "Number",
                "nullable": true
              },
              "issuedDate": {
                "type": "string",
                "description": "Issued Date",
                "format": "date",
                "nullable": true
              },
              "expirationDate": {
                "type": "string",
                "description": "Expiration Date",
                "format": "date",
                "nullable": true
              },
              "issuedByType": {
                "description": "Issued By Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IssuedBy"
                  }
                ]
              },
              "issuedByOtherDesc": {
                "type": "string",
                "description": "Issued By Other Description",
                "nullable": true
              },
              "primaryID": {
                "type": "boolean",
                "description": "If true, the Identification document provided by the borrower is a primary ID.",
                "nullable": true
              }
            }
          }
        ]
      },
      "IdentificationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DriversLicense",
          "Passport",
          "MilitaryIdentificationCard",
          "StateIssuedIdentificationCard",
          "UnitedStatesCitizenshipandImmigrationServicesUSCISDocumentation",
          "NATOID",
          "OtherMilitaryStatusofForcesID",
          "USDepartmentofStateID",
          "USDepartmentofHomelandSecurityID",
          "Other"
        ],
        "enum": [
          "DriversLicense",
          "Passport",
          "MilitaryIdentificationCard",
          "StateIssuedIdentificationCard",
          "UnitedStatesCitizenshipandImmigrationServicesUSCISDocumentation",
          "NATOID",
          "OtherMilitaryStatusofForcesID",
          "USDepartmentofStateID",
          "USDepartmentofHomelandSecurityID",
          "Other"
        ]
      },
      "IssuedBy": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Other",
          "AK",
          "AL",
          "AR",
          "AZ",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NM",
          "NV",
          "NY",
          "OH",
          "OK",
          "OR",
          "PA",
          "RI",
          "SC",
          "SD",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY"
        ],
        "enum": [
          "Other",
          "AK",
          "AL",
          "AR",
          "AZ",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NM",
          "NV",
          "NY",
          "OH",
          "OK",
          "OR",
          "PA",
          "RI",
          "SC",
          "SD",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY"
        ]
      },
      "FinancialAsset": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "accountIdentifier": {
                "type": "string",
                "description": "This item identifies the account or loan number/identifier assigned to the collateral item.",
                "nullable": true
              },
              "pledgeType": {
                "description": "The the Pledged Collateral.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PledgeType"
                  }
                ]
              },
              "commonStockInd": {
                "type": "boolean",
                "description": "If true the security is considered common stock.",
                "nullable": true
              },
              "holderCity": {
                "type": "string",
                "description": "The city of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true
              },
              "holderEmailAddress": {
                "type": "string",
                "description": "The corresponding email address of the collateral holder.",
                "nullable": true
              },
              "holderEstablishedState": {
                "type": "string",
                "description": "The state or jurisdiction that the holder of the collateral is incorporated registered or organized. This would be a broker or other financial institution holding the collateral (for example a deposit account or investment account).",
                "nullable": true
              },
              "holderId": {
                "type": "string",
                "description": "The unique identifier of the holder of the collateral.",
                "nullable": true
              },
              "holderName": {
                "type": "string",
                "description": "The name of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true
              },
              "holderPostalCode": {
                "type": "string",
                "description": "The zip code of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true
              },
              "holderSignerName": {
                "type": "string",
                "description": "This is the name of the person signing on behalf of the holder of the collateral. This would be a broker or other financial institution holding the collateral (for example a deposit account or investment account).",
                "nullable": true
              },
              "holderSignerTitle": {
                "type": "string",
                "description": "This is the title of the person signing on behalf of the holder of the collateral. This would be a broker or other financial institution holding the collateral (for example a deposit account or investment account).",
                "nullable": true
              },
              "holderState": {
                "description": "The state of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "holderStreetLine1": {
                "type": "string",
                "description": "The street address of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true
              },
              "holderUnitType": {
                "description": "The unit type of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "holderUnitNo": {
                "type": "string",
                "description": "The unit number of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true
              },
              "issuerName": {
                "type": "string",
                "description": "The name of the issuer of the collateral.",
                "nullable": true
              },
              "lenderIsHolderInd": {
                "type": "boolean",
                "description": "If true the lender is also the holder of the collateral.",
                "nullable": true
              },
              "pledgedAccountLimitedInd": {
                "type": "boolean",
                "description": "If true the amount of funds in the account being pledged as collateral is limited. (i.e. by amount or percent)",
                "nullable": true
              },
              "pledgedAccountLimitationType": {
                "description": "The unit type of the holder of the stock commodity mutual fund or securities entitlement that is being taken as collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PledgedAccountLimitationType"
                  }
                ]
              },
              "pledgedAccountLimitationAmount": {
                "type": "number",
                "description": "The specific dollar amount being pledged as collateral from the account.",
                "format": "decimal",
                "nullable": true
              },
              "pledgedAccountLimitationPercent": {
                "type": "number",
                "description": "The percentage of the account being pledged as collateral.",
                "format": "decimal",
                "nullable": true
              },
              "pledgedCollateralDesc": {
                "type": "string",
                "description": "Describes the collateral being pledged.",
                "nullable": true
              },
              "representationOfPercentageOwnershipForCloselyHeldSecuritiesInd": {
                "type": "boolean",
                "description": "If true a percentage of ownership interest in the specified collateral will be provided.",
                "nullable": true
              },
              "representationOfPercentageOwnershipForCloselyHeldSecuritiesPercent": {
                "type": "number",
                "description": "The percentage of the account being pledged as collateral.",
                "format": "decimal",
                "nullable": true
              },
              "sharesNumber": {
                "type": "number",
                "description": "The number of shares of stock that are being taken as collateral.",
                "format": "decimal",
                "nullable": true
              },
              "securitiesDesc": {
                "type": "string",
                "description": "A description of the bond or stock type eg. 'convertible'.",
                "nullable": true
              },
              "bondAmount": {
                "type": "number",
                "description": "The dollar amount of the bond.",
                "format": "decimal",
                "nullable": true
              },
              "cusipNumber": {
                "type": "string",
                "description": "The CUSIP number of the stock in the securities account.",
                "nullable": true
              },
              "securityType": {
                "description": "Specifies the type of security in the securities account.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecurityType"
                  }
                ]
              },
              "certificateIdentifier": {
                "type": "string",
                "description": "For certificated securities this is the certificate identifier.",
                "nullable": true
              },
              "certificateType": {
                "description": "This item identifies the type of Certificate of Deposit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CertificateType"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "description": "That amount of the account being taken as collateral",
                "format": "decimal",
                "nullable": true
              },
              "issueDate": {
                "type": "string",
                "description": "That issue date of the Certificate of Deposit being taken as collateral",
                "format": "date",
                "nullable": true
              },
              "accountMaturityDate": {
                "type": "string",
                "description": "That maturity date of the Certificate of Deposit or Bond being taken as collateral",
                "format": "date",
                "nullable": true
              },
              "additionalAccountDesc": {
                "type": "string",
                "description": "The additional description of the Certificate of Deposit or Deposit Account collateral.",
                "nullable": true
              },
              "collateralReceiptInd": {
                "type": "boolean",
                "description": "If true the UCC general collateral description should be used to describe this collateral in the security agreement.",
                "nullable": true
              },
              "collateralReceiptDesc": {
                "type": "string",
                "description": "The additional description for the Collateral Receipt.",
                "nullable": true
              },
              "certificatedInd": {
                "type": "boolean",
                "description": "If true the security is certificated.",
                "nullable": true
              },
              "holderInstitutionType": {
                "description": "Specifies the type of institution for the holder of the collateral",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HolderInstitutionType"
                  }
                ]
              },
              "depControlAgrmtTerms": {
                "type": "string",
                "description": "The description of additional terms for the Deposit Account Control Agreement.",
                "nullable": true
              },
              "assignmentInd": {
                "type": "boolean",
                "description": "Identifies if the collateral is secured by an Assignment of Deposit Account instead of a Security Agreement.",
                "nullable": true
              },
              "accountCurrentBalance": {
                "type": "number",
                "description": "The actual dollar amount currently in the deposit or share account.",
                "format": "decimal",
                "nullable": true
              },
              "convertibleMarginStockInd": {
                "type": "boolean",
                "description": "If true the debt security is convertible into margin stock.",
                "nullable": true
              },
              "marginStockInd": {
                "type": "boolean",
                "description": "If true the security is considered margin stock.",
                "nullable": true
              },
              "corporateStockInd": {
                "type": "boolean",
                "description": "If true the security is considered corporate stock.",
                "nullable": true
              },
              "marketPrice": {
                "type": "number",
                "description": "The market price of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "estMarketValue": {
                "type": "number",
                "description": "The estimated market value of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "goodFaithValue": {
                "type": "number",
                "description": "The good faith loan value of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "valuationDate": {
                "type": "string",
                "description": "The date this collateral was valued.",
                "format": "date",
                "nullable": true
              },
              "valuationSource": {
                "type": "string",
                "description": "A description of the how the value of this collateral was determined.",
                "nullable": true
              },
              "controlAgrmtAdditionalTerms": {
                "type": "string",
                "description": "A description of the additional terms of an agreement relating to the control of a piece or type of collateral. This is for the Control Agreement.",
                "nullable": true
              },
              "controlAgrmtPropertyDesc": {
                "type": "string",
                "description": "The description of the property usually including account number number of shares type of security.",
                "nullable": true
              },
              "convertiblePrincipalAmount": {
                "type": "number",
                "description": "The principal amount of the debt securities convertible into margin stock.",
                "format": "decimal",
                "nullable": true
              },
              "convertibleDesc": {
                "type": "string",
                "description": "A specific description for debt securities convertible to margin stock.",
                "nullable": true
              },
              "minimumBalance": {
                "type": "number",
                "description": "The minimum balance required in the deposit or share account.",
                "format": "decimal",
                "nullable": true
              },
              "nonPledgePartiesDesc": {
                "type": "string",
                "description": "The names of the account holders who did not pledge the account as security",
                "nullable": true
              }
            }
          }
        ]
      },
      "PledgeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "DepositAccounts",
          "PrivateStockOrOtherSecuritiesHeldByBank",
          "SpecificSecuritiesHeldInABrokerageAccount",
          "SecuritiesAccountsWithABrokerageFirm",
          "Other"
        ],
        "enum": [
          "Unknown",
          "DepositAccounts",
          "PrivateStockOrOtherSecuritiesHeldByBank",
          "SpecificSecuritiesHeldInABrokerageAccount",
          "SecuritiesAccountsWithABrokerageFirm",
          "Other"
        ]
      },
      "PledgedAccountLimitationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Amount",
          "Percentage"
        ],
        "enum": [
          "Unknown",
          "Amount",
          "Percentage"
        ]
      },
      "SecurityType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CommonStock",
          "OtherStock",
          "Bonds",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Common Stock",
          "Other Stock",
          "Bond(s)",
          "Other"
        ],
        "enum": [
          "Unknown",
          "CommonStock",
          "OtherStock",
          "Bonds",
          "Other"
        ]
      },
      "CertificateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CertificatedNegotiableInstrument",
          "CertificatedNonNegotiableInstrument",
          "Uncertificated"
        ],
        "x-enum-descriptions": [
          null,
          "Certificated Negotiable Instrument",
          "Certificated Non-Negotiable Instrument",
          "Uncertificated"
        ],
        "enum": [
          "Unknown",
          "CertificatedNegotiableInstrument",
          "CertificatedNonNegotiableInstrument",
          "Uncertificated"
        ]
      },
      "HolderInstitutionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "SecuritiesIntermediary",
          "CommodityIntermediary",
          "IssuerControls",
          "Broker",
          "Depository"
        ],
        "x-enum-descriptions": [
          null,
          "Securities Intermediary",
          "Commodity Intermediary",
          "Issuer Controls",
          "Broker",
          "Depository"
        ],
        "enum": [
          "Unknown",
          "SecuritiesIntermediary",
          "CommodityIntermediary",
          "IssuerControls",
          "Broker",
          "Depository"
        ]
      },
      "Issuer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "businessName": {
                "type": "string",
                "description": "The business name of the issuer.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The email address of the issuer.",
                "nullable": true
              },
              "partyType": {
                "type": "string",
                "description": "The party type of the issuer.",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "The first name of the issuer.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name of the issuer.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name of the issuer.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The suffix to the name of the issuer.",
                "nullable": true
              },
              "entityType": {
                "description": "The entity type of the issuer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EntityType"
                  }
                ]
              },
              "address": {
                "description": "The address associated with the issuer",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            }
          }
        ]
      },
      "EntityType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Association",
          "Cooperative",
          "Corporation",
          "DomesticGovernmentUnit",
          "Estate",
          "FinancialInstitution",
          "ForeignGovernmentUnit",
          "GeneralPartnership",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "Other",
          "SoleProprietorship",
          "Trust"
        ],
        "x-enum-descriptions": [
          "",
          "Association",
          "Cooperative",
          "Corporation",
          "Domestic Government Unit",
          "Estate",
          "Financial Institution",
          "Foreign Government Unit",
          "General Partnership",
          "Limited Liability Company",
          "Limited Liability Partnership",
          "Limited Partnership",
          "Other",
          "Sole Proprietorship",
          "Trust"
        ],
        "enum": [
          "Unknown",
          "Association",
          "Cooperative",
          "Corporation",
          "DomesticGovernmentUnit",
          "Estate",
          "FinancialInstitution",
          "ForeignGovernmentUnit",
          "GeneralPartnership",
          "LimitedLiabilityCompany",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "Other",
          "SoleProprietorship",
          "Trust"
        ]
      },
      "Beneficiary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "businessName": {
                "type": "string",
                "description": "Entity Name",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The email address of the Beneficiary.",
                "nullable": true
              },
              "partyType": {
                "type": "string",
                "description": "The party type of the Beneficiary.",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "The first name of the Beneficiary.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name of the Beneficiary.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name of the Beneficiary.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The suffix to the name of the Beneficiary.",
                "nullable": true
              },
              "entityType": {
                "description": "The entity type of the Beneficiary.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EntityType"
                  }
                ]
              }
            }
          }
        ]
      },
      "LifeInsurance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "insuredPerson": {
                "type": "string",
                "description": "The person who is insured under the collateral policy.",
                "nullable": true
              },
              "insuredFirstName": {
                "type": "string",
                "description": "First name of the insured person on the collateral policy",
                "nullable": true
              },
              "insuredMiddleName": {
                "type": "string",
                "description": "Middle name of the insured person on the collateral policy",
                "nullable": true
              },
              "insuredLastName": {
                "type": "string",
                "description": "Last name of the insured person on the collateral policy",
                "nullable": true
              },
              "insuredSuffix": {
                "type": "string",
                "description": "Name suffix of the insured person on the collateral policy",
                "nullable": true
              },
              "insuredEmail": {
                "type": "string",
                "description": "Email address of the insured person on the collateral policy",
                "nullable": true
              },
              "insuranceCompanyName": {
                "type": "string",
                "description": "Name of the company providing a collateral insurance policy.",
                "nullable": true
              },
              "insurancePolicyNo": {
                "type": "string",
                "description": "Number or other identifier of a collateral insurance policy",
                "nullable": true
              },
              "insurancePolicyAmt": {
                "type": "number",
                "description": "Amount of an insurance policy to be put up as collateral",
                "format": "decimal",
                "nullable": true
              },
              "insuranceCompanyEmail": {
                "type": "string",
                "description": "Email address of the insured person on the collateral policy",
                "nullable": true
              },
              "insuranceCompanyContact": {
                "type": "string",
                "description": "The contact person at the Life Insurance Company",
                "nullable": true
              },
              "assignmentAdditionalTerms": {
                "type": "string",
                "description": "This item identifies any additional terms to be included on the assignment of life Insurance.",
                "nullable": true
              },
              "address": {
                "description": "The address associated with the life insurance",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            }
          }
        ]
      },
      "PrimaryUseType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Agricultural",
          "Business",
          "Consumer"
        ],
        "enum": [
          "Agricultural",
          "Business",
          "Consumer"
        ]
      },
      "Warehouseman": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "description": "Type of the warehouseman party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "description": "First name of a sole proprietor warehouseman.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "Middle name of a sole proprietor warehouseman.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "Last name of a sole proprietor warehouseman.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Name suffix of a sole proprietor warehouseman.",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "description": "Entity name of a warehouseman.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "Email address of a warehouseman.",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              },
              "address": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            }
          }
        ]
      },
      "Pledge": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanToValueCovenantInd": {
                "type": "boolean",
                "description": "If true a Loan to Value Covenant provision will be added to the document.",
                "nullable": true
              },
              "loanToValuePercent": {
                "type": "number",
                "description": "The percent of the loan amount in relation to the value of the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "pledgeAgreementId": {
                "type": "string",
                "description": "The unique identifier assigned to the Pledge Agreement that the collateral should be included on.  Multiple pieces of collateral can in some cases be included on the same Pledge Agreement and in that case those pieces of collateral should have the same value here.  In order for multiple collateral to be referenced on the same Pledge Agreement the collateral must have the same owners and be held by the same depository institution.",
                "format": "guid",
                "nullable": true
              },
              "tradingAllowedInd": {
                "type": "boolean",
                "description": "If true trading of the pledged security(ies) is permitted.",
                "nullable": true
              },
              "tradingLimitationAcceptableInvestmentsDesc": {
                "type": "string",
                "description": "This is a description of the type of investments in the pledged Security(ies) Account(s) that are acceptable for an owner (or owners) to trade.",
                "nullable": true
              },
              "tradingLimitationType": {
                "description": "Specifies the type of trading limitation for security account collateral.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TradingLimitationType"
                  }
                ]
              },
              "tradingLimitationUnacceptableInvestmentsDesc": {
                "type": "string",
                "description": "This is a description of the type of investments in the pledged security(ies) that are unacceptable for an owner to trade.",
                "nullable": true
              },
              "controlAgreementID": {
                "type": "string",
                "description": "A unique identifier for Control Agreement",
                "format": "guid",
                "nullable": true
              },
              "financialAssets": {
                "type": "array",
                "description": "Specifies the type of Financial Assets",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FinancialAsset"
                }
              }
            }
          }
        ]
      },
      "TradingLimitationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AcceptableInvestments",
          "UnacceptableInvestments",
          "NoRestrictions"
        ],
        "x-enum-descriptions": [
          null,
          "Acceptable Investments",
          "Unacceptable Investments",
          "No Restrictions"
        ],
        "enum": [
          "Unknown",
          "AcceptableInvestments",
          "UnacceptableInvestments",
          "NoRestrictions"
        ]
      },
      "DebtsSecuredBy": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "GuarantorsDebt",
          "OnlyThisDebtOfBorrower",
          "ThisDebtAndAllOtherDebts",
          "ThisDebtAndFollowingDebts"
        ],
        "x-enum-descriptions": [
          "Guarantor's debt",
          "Only this debt of Borrower",
          "This debt and all other debts Borrower has with this organization",
          "This debt and the following debts Borrower has with this organization"
        ],
        "enum": [
          "GuarantorsDebt",
          "OnlyThisDebtOfBorrower",
          "ThisDebtAndAllOtherDebts",
          "ThisDebtAndFollowingDebts"
        ]
      },
      "CollateralItemPolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "formStockPowerBondPowerInd": {
                "type": "boolean",
                "description": "Indicates whether form stock power bond power is required.",
                "nullable": true
              },
              "formStockPowerBondPowerSignatureGuarantyInd": {
                "type": "boolean",
                "description": "Indicates whether form stock power bond power signature guaranty is required.",
                "nullable": true
              },
              "statementOfLienWVIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "If true there will be a lender signature on this document.",
                "nullable": true
              },
              "formStatementOfLienWVCommercialInd": {
                "type": "boolean",
                "description": "Indicates whether the Statement of Lien WV Commercial form is required.",
                "nullable": true
              }
            }
          }
        ]
      },
      "FarmProduct": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "Name or description of a collateral product.",
                "nullable": true
              },
              "amountDesc": {
                "type": "string",
                "description": "Described amount of a farm product being pledged as collateral.",
                "nullable": true
              },
              "cropYear": {
                "type": "string",
                "description": "Description of the crop year(s) of a farm product being pledged as collateral.",
                "nullable": true
              },
              "locationCounty": {
                "type": "string",
                "description": "Name of the county or counties in which a collateral farm product is located.",
                "nullable": true
              },
              "buyer": {
                "type": "string",
                "description": "Name of the buyer linked to the collateral farm product, if applicable.",
                "nullable": true
              },
              "code": {
                "type": "string",
                "description": "Product code associated with this category of product, assigned by the state for Effective Financing Statements.",
                "nullable": true
              },
              "farmProductType": {
                "description": "The type of farm product to be defined in the Assignment of Farm Products Payments.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FarmProductType"
                  }
                ]
              },
              "farmProductTypeDesc": {
                "type": "string",
                "description": "A definition of the other type of farm product.",
                "nullable": true
              }
            }
          }
        ]
      },
      "FarmProductType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DairyProducts",
          "Crops",
          "Other"
        ],
        "x-enum-descriptions": [
          "Dairy Products",
          "Crops",
          "Other"
        ],
        "enum": [
          "DairyProducts",
          "Crops",
          "Other"
        ]
      },
      "FarmProductBuyer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "description": "Party type of a buyer of farm products.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "products": {
                "type": "array",
                "description": "List of products a buyer has security interest in.",
                "items": {
                  "type": "string"
                }
              },
              "firstName": {
                "type": "string",
                "description": "First name of a buyer of farm products.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "Middle name of a buyer of farm products.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "Last name of a buyer of farm products.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Name suffix of a buyer of farm products.",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "description": "Business name of a buyer of farm products.",
                "nullable": true
              },
              "establishedState": {
                "description": "State in which a buyer of farm products was established.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EstablishedState"
                  }
                ]
              },
              "streetLine1": {
                "type": "string",
                "description": "Street address of a buyer of farm products.",
                "nullable": true
              },
              "unitType": {
                "type": "string",
                "description": "Address unit type of a buyer of farm products.",
                "nullable": true
              },
              "unitNo": {
                "type": "string",
                "description": "Address unit number of a buyer of farm products.",
                "nullable": true
              },
              "city": {
                "type": "string",
                "description": "Address city of a buyer of farm products.",
                "nullable": true
              },
              "state": {
                "description": "Address state of a buyer of farm products.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "description": "Address ZIP code of a buyer of farm products.",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "description": "The signers associated with the farm product buyer",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Signer"
                }
              },
              "farmProductIdRefs": {
                "type": "array",
                "description": "The product identifiers associated with the farm product",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "contractDate": {
                "type": "string",
                "description": "Date of contract between obligor (buyer) and assignor (owner).",
                "format": "date",
                "nullable": true
              },
              "contractSubjectDesc": {
                "type": "string",
                "description": "Description of the subject of the contract between the assignor and obligor that will print in the Assignment of Farm Products Payments.",
                "nullable": true
              },
              "firstPaymentAmount": {
                "type": "number",
                "description": "Amount of the first payment.",
                "format": "decimal",
                "nullable": true
              },
              "firstPaymentDate": {
                "type": "string",
                "description": "The date of the first payment.",
                "format": "date",
                "nullable": true
              },
              "firstRegularMonthlyPaymentAmount": {
                "type": "number",
                "description": "First regular monthly payment amount.",
                "format": "decimal",
                "nullable": true
              },
              "firstRegularPaymentDayNumber": {
                "type": "integer",
                "description": "Day of the month of first regular monthly payment (e.g. 1st).",
                "format": "int32",
                "nullable": true
              },
              "paymentCapFixedAmount": {
                "type": "number",
                "description": "The fixed dollar amount that the payment as a percentage amount will not exceed.",
                "format": "decimal",
                "nullable": true
              },
              "paymentCapPercent": {
                "type": "number",
                "description": "The value as a percent that a fixed amount of each payment will not exceed.",
                "format": "decimal",
                "nullable": true
              },
              "paymentFixedAmount": {
                "type": "number",
                "description": "The value as a fixed dollar amount of each payment made by the obligor.",
                "format": "decimal",
                "nullable": true
              },
              "paymentFrequency": {
                "description": "The frequency of obligor payments. This may be quarterly, weekly, daily, monthly, etc.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FarmProductBuyerPaymentFrequency"
                  }
                ]
              },
              "paymentLimitOptionInd": {
                "type": "boolean",
                "description": "If true, there is a limit on the amount from each payment made by the obligor.",
                "nullable": true
              },
              "paymentOptionType": {
                "description": "The type of payment option that will be made by the obligor.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FarmProductBuyerPaymentOptionType"
                  }
                ]
              },
              "paymentPercent": {
                "type": "number",
                "description": "The value as a percent of each payment made by the obligor.",
                "format": "decimal",
                "nullable": true
              },
              "regularMonthlyPaymentAmount": {
                "type": "number",
                "description": "Amount of regular monthly payment.",
                "format": "decimal",
                "nullable": true
              },
              "regularMonthlyPaymentDayNumber": {
                "type": "integer",
                "description": "Payment day of the regular monthly payment (e.g. 1st).",
                "format": "int32",
                "nullable": true
              },
              "secondPaymentAmount": {
                "type": "number",
                "description": "Amount of the second payment.",
                "format": "decimal",
                "nullable": true
              },
              "secondPaymentDate": {
                "type": "string",
                "description": "The date of the second payment.",
                "format": "date",
                "nullable": true
              },
              "secondRegularMonthlyPaymentAmount": {
                "type": "number",
                "description": "Second regular monthly payment amount.",
                "format": "decimal",
                "nullable": true
              },
              "secondRegularPaymentDayNumber": {
                "type": "integer",
                "description": "Day of the month of second regular monthly payment (e.g. 15th).",
                "format": "int32",
                "nullable": true
              },
              "productIds": {
                "type": "array",
                "description": "The list of farm product IDs selected by the buyer",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "EstablishedState": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AB",
          "AK",
          "AL",
          "AR",
          "AZ",
          "BC",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MB",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NB",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NL",
          "NM",
          "NS",
          "NT",
          "NU",
          "NV",
          "NY",
          "OH",
          "OK",
          "ON",
          "OR",
          "PA",
          "PE",
          "PR",
          "QC",
          "RI",
          "SC",
          "SD",
          "SK",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY",
          "YT"
        ],
        "x-enum-descriptions": [
          "Alberta",
          "Alaska",
          "Alabama",
          "Arkansas",
          "Arizona",
          "British Columbia",
          "California",
          "Colorado",
          "Connecticut",
          "District Of Columbia",
          "Delaware",
          "Florida",
          "Georgia",
          "Hawaii",
          "Iowa",
          "Idaho",
          "Illinois",
          "Indiana",
          "Kansas",
          "Kentucky",
          "Louisiana",
          "Massachusetts",
          "Manitoba",
          "Maryland",
          "Maine",
          "Michigan",
          "Minnesota",
          "Missouri",
          "Mississippi",
          "Montana",
          "New Brunswick",
          "North Carolina",
          "North Dakota",
          "Nebraska",
          "New Hampshire",
          "New Jersey",
          "Newfoundland And Labrador",
          "New Mexico",
          "Nova Scotia",
          "Northwest Territories",
          "Nunavut",
          "Nevada",
          "New York",
          "Ohio",
          "Oklahoma",
          "Ontario",
          "Oregon",
          "Pennsylvania",
          "Prince Edward Island",
          "Puerto Rico",
          "Quebec",
          "Rhode Island",
          "South Carolina",
          "South Dakota",
          "Saskatchewan",
          "Tennessee",
          "Texas",
          "Utah",
          "Virginia",
          "Vermont",
          "Washington",
          "Wisconsin",
          "West Virginia",
          "Wyoming",
          "Yukon"
        ],
        "enum": [
          "AB",
          "AK",
          "AL",
          "AR",
          "AZ",
          "BC",
          "CA",
          "CO",
          "CT",
          "DC",
          "DE",
          "FL",
          "GA",
          "HI",
          "IA",
          "ID",
          "IL",
          "IN",
          "KS",
          "KY",
          "LA",
          "MA",
          "MB",
          "MD",
          "ME",
          "MI",
          "MN",
          "MO",
          "MS",
          "MT",
          "NB",
          "NC",
          "ND",
          "NE",
          "NH",
          "NJ",
          "NL",
          "NM",
          "NS",
          "NT",
          "NU",
          "NV",
          "NY",
          "OH",
          "OK",
          "ON",
          "OR",
          "PA",
          "PE",
          "PR",
          "QC",
          "RI",
          "SC",
          "SD",
          "SK",
          "TN",
          "TX",
          "UT",
          "VA",
          "VT",
          "WA",
          "WI",
          "WV",
          "WY",
          "YT"
        ]
      },
      "FarmProductBuyerPaymentFrequency": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Annually",
          "BiMonthly",
          "Daily",
          "EveryOtherWeek",
          "Monthly",
          "Quarterly",
          "Semiannually",
          "Semimonthly",
          "SinglePayment",
          "Weekly"
        ],
        "x-enum-descriptions": [
          "Annually",
          "BiMonthly",
          "Daily",
          "Every Other Week",
          "Monthly",
          "Quarterly",
          "Semiannually",
          "Semimonthly",
          "Single",
          "Weekly"
        ],
        "enum": [
          "Annually",
          "BiMonthly",
          "Daily",
          "EveryOtherWeek",
          "Monthly",
          "Quarterly",
          "Semiannually",
          "Semimonthly",
          "SinglePayment",
          "Weekly"
        ]
      },
      "FarmProductBuyerPaymentOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "FixedDollarAmount",
          "PercentageOfEachPayment",
          "AllMoneyDueAndPayable",
          "OtherPayment"
        ],
        "x-enum-descriptions": [
          "Fixed Dollar Amount from Each Payment",
          "Percentage of Each Payment",
          "All Money Due and Payable",
          "Other Payment"
        ],
        "enum": [
          "FixedDollarAmount",
          "PercentageOfEachPayment",
          "AllMoneyDueAndPayable",
          "OtherPayment"
        ]
      },
      "Valuation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "valuationType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ValuationType"
                  }
                ]
              },
              "vin": {
                "type": "string",
                "nullable": true
              },
              "motorVehicle": {
                "type": "string",
                "nullable": true
              },
              "username": {
                "type": "string",
                "nullable": true
              },
              "referenceNumber": {
                "type": "string",
                "nullable": true
              },
              "documentTitle": {
                "type": "string",
                "nullable": true
              },
              "user": {
                "type": "string",
                "nullable": true
              },
              "orderTimestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "responseCode": {
                "type": "string",
                "nullable": true
              },
              "errorMessage": {
                "type": "string",
                "nullable": true
              },
              "expireTimestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "status": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ValuationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CarFax"
        ],
        "x-enum-descriptions": [
          "CarFax"
        ],
        "enum": [
          "CarFax"
        ]
      },
      "Assignee": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "Lessor": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "PrimaryUser": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "CollateralSection": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "TitleApplicationFee": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "Tenant": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "ActionTakenType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "LoanOriginated",
          "ApprovedNotAccepted",
          "ApplicationDenied",
          "ApplicationWithdrawn",
          "FileClosedForIncompleteness",
          "PurchasedLoan",
          "PreapprovalRequestDenied",
          "PreapprovalRequestApprovedNotAccepted"
        ],
        "enum": [
          "Unknown",
          "LoanOriginated",
          "ApprovedNotAccepted",
          "ApplicationDenied",
          "ApplicationWithdrawn",
          "FileClosedForIncompleteness",
          "PurchasedLoan",
          "PreapprovalRequestDenied",
          "PreapprovalRequestApprovedNotAccepted"
        ]
      },
      "PurchaserType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NotApplicable",
          "FannieMae",
          "GinnieMae",
          "FreddieMac",
          "FarmerMac",
          "PrivateSecuritizer",
          "CommercialSavingsBank",
          "CreditUnionMortgageCompanyFinanceCompany",
          "LifeInsuranceCompany",
          "AffiliateInstitution",
          "Other"
        ],
        "enum": [
          "NotApplicable",
          "FannieMae",
          "GinnieMae",
          "FreddieMac",
          "FarmerMac",
          "PrivateSecuritizer",
          "CommercialSavingsBank",
          "CreditUnionMortgageCompanyFinanceCompany",
          "LifeInsuranceCompany",
          "AffiliateInstitution",
          "Other"
        ]
      },
      "InitiallyPayableToYourInstitutionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "InitiallyPayableToYourInstitution",
          "NotInitiallyPayableToYourInstitution",
          "NotApplicable"
        ],
        "enum": [
          "InitiallyPayableToYourInstitution",
          "NotInitiallyPayableToYourInstitution",
          "NotApplicable"
        ]
      },
      "DenialReasonType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DebtToIncome",
          "EmploymentHistory",
          "CreditHistory",
          "Collateral",
          "InsufficientCash",
          "UnverifiedInfo",
          "CreditApplicationIncomplete",
          "MortgageInsuranceDenied",
          "Other"
        ],
        "enum": [
          "DebtToIncome",
          "EmploymentHistory",
          "CreditHistory",
          "Collateral",
          "InsufficientCash",
          "UnverifiedInfo",
          "CreditApplicationIncomplete",
          "MortgageInsuranceDenied",
          "Other"
        ]
      },
      "UnderwritingMethodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Manual",
          "Automated"
        ],
        "enum": [
          "Manual",
          "Automated"
        ]
      },
      "AutomatedUnderwritingSystem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "system": {
                "description": "Automated Underwriting System Type refers to the specific software or tool used by a financial institution to evaluate a borrower's creditworthiness through automated processes",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SystemType"
                  }
                ]
              },
              "systemDesc": {
                "type": "string",
                "description": "Automated Underwriting System Type Other Description refers to the description provided when the specific automated underwriting system used by a financial institution does not fall under the predefined categories.",
                "nullable": true
              },
              "result": {
                "description": "Automated Underwriting System Result refers to the outcome or decision generated by the automated underwriting system regarding a borrower's loan application.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Result"
                  }
                ]
              },
              "resultDesc": {
                "type": "string",
                "description": "Automated Underwriting System Result Other Description refers to the explanation provided when the result of an automated underwriting system does not align with the predefined categories.",
                "nullable": true
              }
            }
          }
        ]
      },
      "SystemType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "DesktopUnderwriter",
          "LoanProspector",
          "TOTALScorecard",
          "GuaranteedUnderwritingSystem",
          "Other",
          "Notapplicable",
          "InternalProprietarySystem"
        ],
        "x-enum-descriptions": [
          "",
          "DesktopUnderwriter",
          "LoanProspector",
          "TOTALScorecard",
          "GuaranteedUnderwritingSystem",
          "Other",
          "Notapplicable",
          "InternalProprietarySystem"
        ],
        "enum": [
          "None",
          "DesktopUnderwriter",
          "LoanProspector",
          "TOTALScorecard",
          "GuaranteedUnderwritingSystem",
          "Other",
          "Notapplicable",
          "InternalProprietarySystem"
        ]
      },
      "Result": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ApproveEligible",
          "ApproveIneligible",
          "ReferEligible",
          "ReferIneligible",
          "ReferWithCaution",
          "OutOfScope",
          "Error",
          "Accept",
          "Caution",
          "Ineligible",
          "Incomplete",
          "Invalid",
          "Refer",
          "Eligible",
          "UnableToDetermineOrUnknown",
          "Other",
          "NotApplicable",
          "AcceptEligible",
          "AcceptIneligible",
          "AcceptUnableToDetermine",
          "ReferWithCautionEligible",
          "ReferWithCautionIneligible",
          "ReferUnableToDetermine",
          "ReferWithCautionUnableToDetermine"
        ],
        "x-enum-descriptions": [
          "",
          "Approve/Eligible",
          "Approve/Ineligible",
          "Refer/Eligible",
          "Refer/Ineligible",
          "ReferWithCaution",
          "OutOfScope",
          "Error",
          "Accept",
          "Caution",
          "Ineligible",
          "Incomplete",
          "Invalid",
          "Refer",
          "Eligible",
          "UnableToDetermineOrUnknown",
          "Other",
          "NotApplicable",
          "Accept/Eligible",
          "Accept/Ineligible",
          "Accept/UnableToDetermine",
          "ReferWithCaution/Eligible",
          "ReferWithCaution/Ineligible",
          "Refer/UnableToDetermine",
          "ReferWithCaution/UnableToDetermine"
        ],
        "enum": [
          "Unknown",
          "ApproveEligible",
          "ApproveIneligible",
          "ReferEligible",
          "ReferIneligible",
          "ReferWithCaution",
          "OutOfScope",
          "Error",
          "Accept",
          "Caution",
          "Ineligible",
          "Incomplete",
          "Invalid",
          "Refer",
          "Eligible",
          "UnableToDetermineOrUnknown",
          "Other",
          "NotApplicable",
          "AcceptEligible",
          "AcceptIneligible",
          "AcceptUnableToDetermine",
          "ReferWithCautionEligible",
          "ReferWithCautionIneligible",
          "ReferUnableToDetermine",
          "ReferWithCautionUnableToDetermine"
        ]
      },
      "HmdaLarFile": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "larId": {
                "type": "string",
                "description": "The data point is returned in the GetLar API response.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The data point is returned in the GetLar API response.",
                "nullable": true
              },
              "activityYear": {
                "type": "string",
                "description": "The data point is returned in the GetLar API response.",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "FederalAgencyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "OCC",
          "FRS",
          "FDIC",
          "NCUA",
          "HUD",
          "CFPB"
        ],
        "enum": [
          "Unknown",
          "OCC",
          "FRS",
          "FDIC",
          "NCUA",
          "HUD",
          "CFPB"
        ]
      },
      "BorrowingParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "Party Type",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BorrowingPartyType"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "description": "Party Type Other Description",
                "nullable": true
              },
              "transactionRoles": {
                "type": "array",
                "description": "Transaction Roles",
                "items": {
                  "$ref": "#/components/schemas/TransactionRole"
                }
              },
              "phone": {
                "description": "Phone Information",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Phone"
                  }
                ]
              },
              "taxReturnFederalInd": {
                "type": "boolean",
                "description": "Federal tax return indicator.",
                "nullable": true
              },
              "taxReturnStateInd": {
                "type": "boolean",
                "description": "State tax return indicator.",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "description": "EntityName",
                "nullable": true
              },
              "dbaName": {
                "type": "string",
                "description": "DBA Name",
                "nullable": true
              },
              "businessDesc": {
                "type": "string",
                "description": "The description of the business in which the borrower(s)/guarantor(s) are engaged for the ''Affidavit-Business Purpose'' form.",
                "nullable": true
              },
              "ein": {
                "type": "string",
                "description": "EIN",
                "nullable": true
              },
              "emailAddress": {
                "type": "string",
                "description": "Email Address",
                "nullable": true
              },
              "isCommunityPropertyStateResident": {
                "type": "boolean",
                "description": "Community Property State Resident Indicator"
              },
              "establishedState": {
                "description": "Established State",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "identification": {
                "type": "array",
                "description": "Identification",
                "items": {
                  "$ref": "#/components/schemas/Identification"
                }
              },
              "title": {
                "type": "string",
                "description": "Title",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "Suffix",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "First Name",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "Middle Name",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "Last Name",
                "nullable": true
              },
              "birthDate": {
                "type": "string",
                "description": "Birth Date",
                "format": "date",
                "nullable": true
              },
              "ssn": {
                "type": "string",
                "description": "Social Security Number",
                "nullable": true
              },
              "citizenship": {
                "description": "Citizenship",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Citizenship"
                  }
                ]
              },
              "alternativeNames": {
                "type": "array",
                "description": "List of Alternative Names",
                "items": {
                  "$ref": "#/components/schemas/AlternativeName"
                }
              },
              "mailing": {
                "description": "Mailing Address",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "residence": {
                "description": "Residence Address",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "useCurrentAddressForMailing": {
                "type": "boolean",
                "description": "If true, mailing address of a loan party is the same as a current address."
              },
              "llcTaxClassification": {
                "description": "LLC Tax Classification",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LLcTaxClassification"
                  }
                ]
              },
              "loanAgreementId": {
                "type": "string",
                "description": "Loan Agreement Id - Is this needed",
                "nullable": true
              },
              "guarantyId": {
                "type": "string",
                "description": "Guaranty Id",
                "nullable": true
              },
              "maritalStatus": {
                "description": "Marital Status / Relationship Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaritalStatus"
                  }
                ]
              },
              "marriedToId": {
                "type": "string",
                "description": "Married To Party Id",
                "nullable": true
              },
              "relatedParties": {
                "type": "array",
                "description": "Related Parties",
                "items": {
                  "$ref": "#/components/schemas/RelatedParty"
                }
              },
              "hazardInsurance": {
                "description": "Hazard Insurance Information",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HazardInsurance"
                  }
                ]
              },
              "arizonaCommunityPropertySpouseLimitInd": {
                "type": "boolean",
                "description": "If true then an Arizona spouse who joins a guarantee does so only to the extent of community property.",
                "nullable": true
              },
              "marriedGuarantor": {
                "type": "string",
                "description": "Name of the married guarantor.",
                "nullable": true
              },
              "guarantorsSpouse": {
                "type": "string",
                "description": "Spouse name of the guarantor.",
                "nullable": true
              },
              "corporationBoardOfDirectorsMeetingDate": {
                "type": "string",
                "description": "The date that the board of directors for the corporation met to approve the resolutions in the authority document.",
                "format": "date",
                "nullable": true
              },
              "corporationSealIndicator": {
                "type": "boolean",
                "description": "If true, the corporate party has a seal.",
                "nullable": true
              },
              "corporationShareholdersMeetingDate": {
                "type": "string",
                "description": "The date that the shareholders for the corporation met to approve the resolutions in the authority document. 'Shareholders' is 'stockholders' in some states and shareholders/stockholders are 'members' when the corporation is not-for-profit.",
                "format": "date",
                "nullable": true
              },
              "nonProfitIndicator": {
                "type": "boolean",
                "description": "If true the party is a non-profit.",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "description": "The dollar amount of any outstanding debts for which the loan party is a comaker, surety, or guarantor.",
                "format": "decimal",
                "nullable": true
              },
              "comakerToOtherDebtsInd": {
                "type": "boolean",
                "description": "If true the loan party is a comaker, surety, or guarantor.",
                "nullable": true
              },
              "operatingAgreementDate": {
                "type": "string",
                "description": "The date of the Operating Agreement.",
                "format": "date",
                "nullable": true
              },
              "organizingDocumentDate": {
                "type": "string",
                "description": "The date of the organizing document.",
                "format": "date",
                "nullable": true
              },
              "organizationDocumentsDesc": {
                "type": "string",
                "description": "Calculated description of the document(s) used to organize the entity (i.e. Trust Agreement Articles of Organization Partnership Agreements Certificate of Formation etc.)",
                "nullable": true
              },
              "organizationDocumentsDescCustom": {
                "type": "boolean",
                "description": "Custom description of the document(s) used to organize the entity (i.e. Trust Agreement Articles of Organization Partnership Agreements Certificate of Formation etc.)"
              },
              "requiredSignatures": {
                "type": "integer",
                "description": "The amount or signatures that are required for an entity.",
                "format": "int32"
              },
              "chiefExecutiveOfficeLocationStateInd": {
                "type": "boolean",
                "description": "If True, The state in which the chief executive office of the party is located is different from the Established State."
              },
              "chiefExecutiveOfficeLocationState": {
                "description": "The state in which the chief executive office of the party is located when the owner operates more than one place of business.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "organizationId": {
                "type": "string",
                "description": "This field indicates the organization id of the entity. The field is required for iLien submissions.",
                "nullable": true
              },
              "corporationAuthorizeByType": {
                "description": "Specifies who has authorized the corporation to act. This can be done by the Board of Directors alone or the Board of Directors and Shareholders together. 'Shareholders' is 'stockholders' in some states and shareholders/stockholders are 'members' when the corporation is not-for-profit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CorporationAuthorizeByType"
                  }
                ]
              },
              "corporationVoteType": {
                "description": "Specifies how the Corporate acts were approved.  This can be by unanimous consent; or by the appropriate corporate body (or bodies) holding a special meeting and voting on the proposed actions.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CorporationVoteType"
                  }
                ]
              },
              "limitedLiabilityCompanyManagementType": {
                "description": "Specifies whether the Limited Liability Company is operated by members or managers.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LimitedLiabilityCompanyManagementType"
                  }
                ]
              },
              "confessionOfJudgmentCounty": {
                "description": "The county chosen by the party for entry of a confession of judgment.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfessionOfJudgmentCounty"
                  }
                ]
              },
              "policy": {
                "description": "Borrowing Party Policy",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BorrowingPartyPolicy"
                  }
                ]
              },
              "applicationId": {
                "type": "string",
                "description": "A unique identifier that identifies which application is tied to the  loan party.",
                "nullable": true
              },
              "creditScoreItems": {
                "type": "array",
                "description": "Credit Score Item",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditScoreItem"
                }
              },
              "numberDependents": {
                "type": "integer",
                "description": "The number of dependents for the borrower.",
                "format": "int32",
                "nullable": true
              },
              "dependentsAges": {
                "type": "string",
                "description": "The age(s) of the borrower's dependents.",
                "nullable": true
              },
              "includePOA": {
                "type": "boolean",
                "description": "If true, the loan party has a designated power of attorney. If not true, the loan party does not have a designated power of attorney.",
                "nullable": true
              },
              "previous": {
                "description": "The main address line of a previous address of a loan party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "nearestRelative": {
                "description": "The loan party's nearest relative.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NearestRelative"
                  }
                ]
              },
              "payeeName": {
                "type": "string",
                "description": "The name(s) of the party(ies) to whom the loan party is a co-maker, endorser, or guarantor on a loan or contract.",
                "nullable": true
              },
              "powerOfAttorney": {
                "description": "The individual serving as power of attorney for the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PowerOfAttorney"
                  }
                ]
              },
              "telephoneConsumerProtectionActConsentInd": {
                "type": "boolean",
                "description": "If true, the lender wants the Telephone Consumer Protection Act Consent form selected.",
                "nullable": true
              },
              "bankruptcyYear": {
                "type": "string",
                "description": "The year, within the past ten, in which the loan party declared bankruptcy.",
                "nullable": true
              },
              "bankruptInd": {
                "type": "boolean",
                "description": "If true the loan party has declared bankruptcy within the last 10 years.",
                "nullable": true
              },
              "bankruptcyLocation": {
                "type": "string",
                "description": "The place where the loan party has filed bankruptcy within the past ten years.",
                "nullable": true
              },
              "assigned": {
                "type": "string",
                "description": "Assigned application ID.",
                "nullable": true
              },
              "description": {
                "type": "string",
                "description": "A description of any leases, contracts, or other debts upon which the loan party is a comaker, surety, or guarantor.",
                "nullable": true
              },
              "creditReportReferenceNumber": {
                "type": "string",
                "description": "A reference number assigned by the credit bureau to a specific credit report. This report number is also referenced when a Reissue or Upgrade of an existing report is requested.",
                "nullable": true
              },
              "federalRegulationOAddendumSignerInd": {
                "type": "boolean",
                "description": "If true, the lender has elected the officer to sign on the Federal Regulation O Addendum. This is specific to the Federal Regulation O Addendum.",
                "nullable": true
              },
              "employment": {
                "description": "The loan parties employment details.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Employment"
                  }
                ]
              },
              "otherIncome": {
                "type": "array",
                "description": "The loan parties other income details.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OtherIncome"
                }
              },
              "insiderType": {
                "description": "The type of insider relationship the party has with the lender.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InsiderType"
                  }
                ]
              },
              "previousCreditInd": {
                "type": "boolean",
                "description": "If true the loan party has received previous credit from the lender.",
                "nullable": true
              },
              "previousCreditDate": {
                "type": "string",
                "description": "The date the loan party has previously received credit from the lender.",
                "format": "date",
                "nullable": true
              },
              "previousCreditBranchDesc": {
                "type": "string",
                "description": "The branch where the loan party has previously received credit from the lender.",
                "nullable": true
              },
              "incomeReducedInd": {
                "type": "boolean",
                "description": "If true the loan party will have income reduced before the loan is paid off.",
                "nullable": true
              },
              "aliasName": {
                "type": "array",
                "description": "Alternative name (alias) of a loan party. ",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AliasName"
                }
              },
              "subsidiaryCustomerInd": {
                "type": "boolean",
                "description": "If true the borrower is a customer of a subsidiary of the lender.",
                "nullable": true
              },
              "signatureNameAffidavitInd": {
                "type": "boolean",
                "description": "If true, the lender wants this document for the signer.",
                "nullable": true
              },
              "customerReportAdditionalInformationDesc": {
                "type": "string",
                "description": "Any additional information about the borrower for the Customer Information document.",
                "nullable": true
              },
              "integrationPartyId": {
                "type": "string",
                "description": "For a Core integration, this is the unique party ID from the core system. This may be a Customer Number, CIF Number, Shortname, or other unique identifier.",
                "nullable": true
              },
              "borrowingBaseBorrowerId": {
                "type": "string",
                "description": "A unique identifier that specifies that borrowing party acts as the borrowing base borrower.",
                "nullable": true
              },
              "uniqueApprovedIdentifier": {
                "type": "string",
                "description": "A number, combination of numbers and letters, or other identifier selected by the Secretary of State using a selection system or method approved by the Secretary of Agriculture. This is form specific to the Notice Buyer of Farm Products.",
                "nullable": true
              },
              "creditScoreItem": {
                "type": "array",
                "description": "Credit Score Items",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditScoreItem"
                }
              },
              "coreUploadStatus": {
                "type": "string",
                "description": "The status of the upload to the Core.",
                "nullable": true
              },
              "coreUploadedBy": {
                "type": "string",
                "description": "The name of the User that uploaded the Party to the Core.",
                "nullable": true
              },
              "coreUploadedDate": {
                "type": "string",
                "description": "The date the Party was uploaded to the Core.",
                "format": "date-time",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersIsApplicableInd": {
                "type": "boolean",
                "nullable": true
              },
              "businessTrustInd": {
                "type": "boolean",
                "description": "Indicates that the trust borrower is a business trust. If false, the Certification of Beneficial Owners is not generated.",
                "nullable": true
              },
              "publiclyTradedInd": {
                "type": "boolean",
                "description": "Indicates that the corporation borrower is publicly traded. If true, the Certification of Beneficial Owners is not generated.",
                "nullable": true
              },
              "legalEntityIdentifier": {
                "type": "string",
                "description": "A global standardized unique identifier (typically 20 alpha-numeric characters) specific to a legal entity. Optional.",
                "nullable": true
              },
              "beneficialOwners": {
                "type": "array",
                "description": "The beneficial owners of the borrowing party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BeneficialOwner"
                }
              },
              "trust": {
                "description": "The trust information for the borrowing party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Trust"
                  }
                ]
              },
              "statementOfAuthority": {
                "description": "Statement of authority associated with this borrowing party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StatementOfAuthority"
                  }
                ]
              },
              "partyName": {
                "type": "string",
                "description": "Name of Insured Party.",
                "nullable": true
              },
              "resolutionOfAddressDiscrepancies": {
                "description": "Resolution Of Address Discrepancies",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ResolutionOfAddressDiscrepancies"
                  }
                ]
              },
              "loanDecisionActionReportingAgencyInd": {
                "type": "boolean",
                "description": "If true information from a consumer reporting agency was used to make the loan decision",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersAdditionalInformationDesc": {
                "type": "string",
                "description": "Entirely optional and at the discretion of the financial institution, this describes any additional information the financial institution may want to include at the end of the Certification of Beneficial Owners document.",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersFrequentlyAskedQuestionsAddendumInd": {
                "type": "boolean",
                "description": "form certification of beneficial owners include account type number indicator",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersIncludeAccountTypeNumberInd": {
                "type": "boolean",
                "description": "form certification of beneficial owners include account type number indicator",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersPrintPercentageInd": {
                "type": "boolean",
                "description": "form certification of beneficial owners print percentage indicator",
                "nullable": true
              },
              "formCertificationOfBeneficialOwnersVerificationRecordInd": {
                "type": "boolean",
                "description": "If true, that the Certification of Beneficial Owners form should include an additional verification block at the end of the document for recording details about documentary identification used for the parties identified on the document.",
                "nullable": true
              },
              "ethnicity": {
                "type": "array",
                "description": "The ethnicity information for the borrowing party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EthnicityType"
                }
              },
              "otherHispanicOrLatinoDesc": {
                "type": "string",
                "description": "Other Ethnicity Type refers to an applicant's self-identified ethnicity that does not fit within the predefined categories, allowing them to specify a more detailed or alternative ethnic background.",
                "nullable": true
              },
              "race": {
                "type": "array",
                "description": "The race information for the borrowing party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RaceType"
                }
              },
              "americanIndianOrAlaskaNativeDesc": {
                "type": "string",
                "description": "Other American Indian or Alaska Native refers to an applicant's self-identified tribal affiliation or detailed description of their American Indian or Alaska Native heritage, beyond the predefined categories.",
                "nullable": true
              },
              "otherAsianDesc": {
                "type": "string",
                "description": "Other Asian allows an applicant to specify a self-identified Asian subgroup not listed in the predefined categories (e.g., Indian, Chinese, Filipino, etc.).",
                "nullable": true
              },
              "otherPacificIslander": {
                "type": "string",
                "description": "Other Pacific Islander allows an applicant to specify a self-identified Pacific Islander subgroup not included in the predefined categories (e.g., Native Hawaiian, Samoan, Guamanian, etc.).",
                "nullable": true
              },
              "gender": {
                "type": "array",
                "description": "The gender information for the borrowing party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GenderType"
                }
              },
              "ethnicityDeterminant": {
                "description": "Ethnicity by Observation/Surname refers to the lender's determination of the applicant's ethnicity based on visual observation or the applicant's surname, used only when the applicant does not provide the information themselves and the application is conducted in person.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EthnicityDeterminantType"
                  }
                ]
              },
              "genderDeterminant": {
                "description": "Sex by Observation/Surname refers to the lender's determination of the applicant's sex based on visual observation or the applicant's surname, used only when the applicant does not self-report this information and the application is conducted in person.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GenderDeterminantType"
                  }
                ]
              },
              "raceDeterminant": {
                "description": "Race by Observation/Surname refers to the lender's determination of the applicant's race based on visual observation or surname, used only when the applicant does not provide this information, and the application is conducted in person.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RaceDeterminantType"
                  }
                ]
              },
              "demographicInformationIsProvidedBy": {
                "description": "Demographic Information Provided Via refers to the method by which an applicant's demographic information (ethnicity, race, and sex) is collected.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DemographicInformationProvidedByType"
                  }
                ]
              },
              "monthlyIncomeAmount": {
                "type": "number",
                "description": "Monthly Total Income refers to the applicant's gross monthly income, as reported during the loan application process, which is used by lenders to evaluate the applicant's ability to repay the loan.",
                "format": "decimal",
                "nullable": true
              },
              "excludeAgeInd": {
                "type": "boolean",
                "description": "Exclude Borrower Age indicates that the applicant's age is not considered or reported for a specific loan application, typically due to certain exemptions or reporting exclusions outlined in HMDA regulations.",
                "nullable": true
              },
              "partyServiceId": {
                "type": "string",
                "description": "A unique ID assigned when a party is synced from Party DB",
                "nullable": true
              },
              "modification": {
                "description": "Modification details associated with this borrowing party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              },
              "infoFromAffiliateOrOtherNonCRAInd": {
                "type": "boolean",
                "description": "Information used in a loan decision action with respect to this party was obtained from an affiliate of the creditor or from another person other than a consumer reporting agency.",
                "nullable": true
              },
              "maPartyName": {
                "type": "string",
                "description": "Full name or entity name for each borrower on loan",
                "nullable": true
              },
              "maGrossAnnualRevenue": {
                "type": "number",
                "description": "The party's gross annual revenue for its preceding full fiscal year.",
                "format": "decimal",
                "nullable": true
              },
              "subordinatedDebtId": {
                "type": "string",
                "description": "SubordinatedDebtId for this borrowing party.",
                "nullable": true
              },
              "eTag": {
                "type": "string",
                "description": "The version identifier of the party in the Party Database, used for optimistic concurrency",
                "nullable": true
              },
              "caretakers": {
                "type": "array",
                "description": "For internal use in dynamic objects. (example: UCC CollateralItems)",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Caretaker"
                }
              }
            }
          }
        ]
      },
      "BorrowingPartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Individual",
          "Corporation",
          "SoleProprietorship",
          "LimitedLiabilityCompany",
          "GeneralPartnership",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "Association",
          "Trust",
          "Other"
        ],
        "enum": [
          "Individual",
          "Corporation",
          "SoleProprietorship",
          "LimitedLiabilityCompany",
          "GeneralPartnership",
          "LimitedLiabilityPartnership",
          "LimitedPartnership",
          "Association",
          "Trust",
          "Other"
        ]
      },
      "TransactionRole": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Borrower",
          "CollateralOwner",
          "Guarantor",
          "NonSigningSpouse",
          "Cosigner",
          "SubordinatedCreditor"
        ],
        "enum": [
          "Borrower",
          "CollateralOwner",
          "Guarantor",
          "NonSigningSpouse",
          "Cosigner",
          "SubordinatedCreditor"
        ]
      },
      "Citizenship": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "USCitizen",
          "PermanentResidentAlien",
          "NonPermanentResidentAlien"
        ],
        "enum": [
          "USCitizen",
          "PermanentResidentAlien",
          "NonPermanentResidentAlien"
        ]
      },
      "AlternativeName": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The type of the alternative name.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlternativeNameType"
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the alternative name.",
                "nullable": true
              },
              "creditor": {
                "type": "string",
                "description": "The creditor associated with the alternative name.",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "description": "The account number associated with the alternative name.",
                "nullable": true
              }
            }
          }
        ]
      },
      "AlternativeNameType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Both",
          "AKAOnly",
          "CreditOnly"
        ],
        "enum": [
          "Both",
          "AKAOnly",
          "CreditOnly"
        ]
      },
      "LLcTaxClassification": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "C",
          "D",
          "P",
          "S"
        ],
        "enum": [
          "C",
          "D",
          "P",
          "S"
        ]
      },
      "MaritalStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Married",
          "Separated",
          "Unmarried",
          "NotApplicable"
        ],
        "enum": [
          "Married",
          "Separated",
          "Unmarried",
          "NotApplicable"
        ]
      },
      "RelatedParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "relatedPartyId": {
                "type": "string",
                "description": "The ID of the related party",
                "nullable": true
              },
              "ownershipPercentage": {
                "type": "number",
                "description": "The percent of ownership of an entity.",
                "format": "decimal"
              },
              "partyName": {
                "type": "string",
                "description": "The name of linked party.",
                "nullable": true
              },
              "sharesCount": {
                "type": "number",
                "description": "The number of shares of ownership in the party held by the signer.",
                "format": "decimal",
                "nullable": true
              },
              "relationships": {
                "type": "array",
                "description": "Relationships",
                "items": {
                  "$ref": "#/components/schemas/Relationship"
                }
              },
              "relationshipRoleTrusts": {
                "type": "array",
                "description": "Role of a related party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RelationshipRoleTrust"
                }
              },
              "docSignerInd": {
                "type": "boolean",
                "description": "When true, the related party is a Doc Signer.",
                "nullable": true
              },
              "trustorNameTitleType": {
                "description": "The name of the title for the grantor/trustor/settlor.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TrustorNameTitleType"
                  }
                ]
              }
            }
          }
        ]
      },
      "Relationship": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "docSignerInd": {
                "type": "boolean",
                "description": "When true, the related party is a Doc Signer."
              },
              "title": {
                "type": "string",
                "description": "A title of a relationship role on a related party.",
                "nullable": true
              },
              "relationshipRole": {
                "description": "Role of a related party.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RelationshipRole"
                  }
                ]
              },
              "relationshipRoleTrusts": {
                "type": "array",
                "description": "Role of a related party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RelationshipRoleTrust"
                }
              }
            }
          }
        ]
      },
      "RelationshipRole": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AuthorizedSigner",
          "NaturalPersonOpeningAccount",
          "Owner",
          "PersonWithControl",
          "ControllingManager",
          "KeyEmployee",
          "PowerOfAttorney",
          "SecretaryClerk",
          "Member"
        ],
        "enum": [
          "Unknown",
          "AuthorizedSigner",
          "NaturalPersonOpeningAccount",
          "Owner",
          "PersonWithControl",
          "ControllingManager",
          "KeyEmployee",
          "PowerOfAttorney",
          "SecretaryClerk",
          "Member"
        ]
      },
      "RelationshipRoleTrust": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Trustee",
          "Beneficiary",
          "GrantorTrustorSettlor"
        ],
        "enum": [
          "Unknown",
          "Trustee",
          "Beneficiary",
          "GrantorTrustorSettlor"
        ]
      },
      "TrustorNameTitleType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Trustor",
          "Grantor",
          "Settlor"
        ],
        "enum": [
          "Trustor",
          "Grantor",
          "Settlor"
        ]
      },
      "HazardInsurance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "policyNo": {
                "type": "string",
                "description": "The policy number.",
                "nullable": true
              },
              "coverageAmt": {
                "type": "number",
                "description": "The amount of insurance coverage provided.",
                "format": "double"
              },
              "offeredbyLenderIndicator": {
                "type": "boolean",
                "description": "Indicates if the insurance is offered by the lender."
              },
              "offeredbyLenderPolicyTermNumber": {
                "type": "integer",
                "description": "The policy term number offered by the lender.",
                "format": "int32"
              },
              "offeredbyLenderPremium": {
                "type": "number",
                "description": "The premium offered by the lender.",
                "format": "double"
              },
              "requiredIndicator": {
                "type": "boolean",
                "description": "Indicates if the insurance is required."
              },
              "termMonths": {
                "type": "integer",
                "description": "The term in months.",
                "format": "int32"
              },
              "txPremiumApprovedDeptOfInsIndicator": {
                "type": "boolean",
                "description": "Indicates if the TX premium is approved by the department of insurance."
              },
              "agent": {
                "description": "The insurance agent.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "maxDeductibleDescOrAmt": {
                "type": "string",
                "description": "The maximum deductible description or amount.",
                "nullable": true
              }
            }
          }
        ]
      },
      "CorporationAuthorizeByType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Directors",
          "DirectorsAndShareholders",
          "Shareholders"
        ],
        "enum": [
          "Directors",
          "DirectorsAndShareholders",
          "Shareholders"
        ]
      },
      "CorporationVoteType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnanimousConsent",
          "SpecialMeeting"
        ],
        "enum": [
          "UnanimousConsent",
          "SpecialMeeting"
        ]
      },
      "LimitedLiabilityCompanyManagementType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnKnown",
          "MemberManaged",
          "ManagerManaged"
        ],
        "enum": [
          "UnKnown",
          "MemberManaged",
          "ManagerManaged"
        ]
      },
      "ConfessionOfJudgmentCounty": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnKnown",
          "KentCounty",
          "NewCastleCounty",
          "SussexCounty"
        ],
        "enum": [
          "UnKnown",
          "KentCounty",
          "NewCastleCounty",
          "SussexCounty"
        ]
      },
      "BorrowingPartyPolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "authorityDocumentInd": {
                "type": "boolean",
                "description": "If true a new authority document is needed for the entity",
                "nullable": true
              },
              "creditReportAuthorizationInd": {
                "type": "boolean",
                "description": "The institution wants a credit report authorization to print for the borrower.\r\n",
                "nullable": true
              },
              "formTelephoneConsumerProtectionActConsentInd": {
                "type": "boolean",
                "description": "If true, the lender wants to generate a Telephone Consumer Protection Act Consent form for this guarantor or for all the trustees, signers, or other representative parties of the guarantor.",
                "nullable": true
              },
              "signatureNameAffidavitInd": {
                "type": "boolean",
                "description": "If true, the lender wants this document for the signer.",
                "nullable": true
              },
              "authorityNoteInformationType": {
                "description": "Specifies how much note information will be included on the authority document.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AuthorityNoteInformationType"
                  }
                ]
              },
              "loanAgreementCommercialBooksAndRecordsAdditionalTermsDesc": {
                "type": "string",
                "description": "Additional terms for loan agreement commercial books and records.",
                "nullable": true
              },
              "loanAgreementCommercialBooksAndRecordsSpecificDocumentsDesc": {
                "type": "string",
                "description": "Specific documents for loan agreement commercial books and records.",
                "nullable": true
              },
              "loanAgreementCommercialExcludeBooksAndRecordsInd": {
                "type": "boolean",
                "description": "Indicates whether to exclude books and records from the loan agreement.",
                "nullable": true
              },
              "loanAgreementCommercialInspectionType": {
                "description": "The type of inspection for the loan agreement commercial.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanAgreementCommercialInspectionType"
                  }
                ]
              },
              "loanAgreementCommercialNoticeOfAddressChangeDaysNumber": {
                "type": "integer",
                "description": "The number of days for notice of address change in loan agreement commercial.",
                "format": "int32",
                "nullable": true
              },
              "operatingStatementsDeliveryDaysCount": {
                "type": "integer",
                "description": "The number of days for operating statements delivery.",
                "format": "int32",
                "nullable": true
              },
              "operatingStatementsInd": {
                "type": "boolean",
                "description": "Indicates whether operating statements are required.",
                "nullable": true
              },
              "operatingStatementsReportingFrequencyType": {
                "description": "The frequency type for operating statements reporting.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeFrequency"
                  }
                ]
              },
              "formAuthorityConsentofShareholdersNYExcludeInd": {
                "type": "boolean",
                "description": "If selected, the lender opts to exclude the Consent of Shareholders (NY) document, which is used to evidence shareholders' unanimous consent authorizing the corporation to provide a guaranty on the loan.",
                "nullable": true
              },
              "trustAsEntityInd": {
                "type": "boolean",
                "description": "If true, the party that is a trust should be treated like an entity on the documents.  In this case the name of the trust will print instead of the names of the trustees.",
                "nullable": true
              }
            }
          }
        ]
      },
      "AuthorityNoteInformationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UnKnown",
          "DoNotIncludeNoteInformation",
          "StateTheTotalAmountOfTheNotesAndDescribeEachNote",
          "StateTheTotalAmountOfTheNotesButDoNotDescribe"
        ],
        "enum": [
          "UnKnown",
          "DoNotIncludeNoteInformation",
          "StateTheTotalAmountOfTheNotesAndDescribeEachNote",
          "StateTheTotalAmountOfTheNotesButDoNotDescribe"
        ]
      },
      "LoanAgreementCommercialInspectionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Default",
          "ExcludeInspectionProvisions",
          "GAAPStandardProvisionOnly",
          "StandardInspectionAndGAAPStandardProvisions",
          "StandardInspectionProvisionsOnly"
        ],
        "enum": [
          "Default",
          "ExcludeInspectionProvisions",
          "GAAPStandardProvisionOnly",
          "StandardInspectionAndGAAPStandardProvisions",
          "StandardInspectionProvisionsOnly"
        ]
      },
      "CreditScoreItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "riskBasedPricingForm": {
                "description": "Displays the type of Risk-Based Form that was selected for the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RiskBasedPricingForm"
                  }
                ]
              },
              "creditReportIdentifier": {
                "type": "string",
                "description": "A reference number assigned by the credit bureau to a specific credit report. This report number is also referenced when a Reissue or Upgrade of an existing report is requested.",
                "nullable": true
              },
              "source": {
                "description": "Describes the source of the credit score.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Source"
                  }
                ]
              },
              "creditScoringModel": {
                "description": "Identifies the score algorithm model name used to produce the referenced credit risk score.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditScoringModel"
                  }
                ]
              },
              "description": {
                "type": "string",
                "description": "When the Credit Score Model Name Type is set to Other, this element holds the description.",
                "nullable": true
              },
              "date": {
                "type": "string",
                "description": "Date that the referenced credit score was produced.",
                "format": "date",
                "nullable": true
              },
              "score": {
                "type": "integer",
                "description": "Numeric credit score resulting from credit evaluation model.",
                "format": "int32",
                "nullable": true
              },
              "percentile": {
                "type": "integer",
                "description": "The percentile that the parties credit score is in comparison to all consumers.",
                "format": "int32",
                "nullable": true
              },
              "lowCreditScore": {
                "type": "integer",
                "description": "The lowest possible value in the credit score range.",
                "format": "int32",
                "nullable": true
              },
              "highCreditScore": {
                "type": "integer",
                "description": "The highest possible value in the credit score range.",
                "format": "int32",
                "nullable": true
              },
              "creditScoreNAInd": {
                "type": "boolean",
                "description": "If true the credit bureau was checked and the score was not available.",
                "nullable": true
              },
              "creditScoreUsedForRiskBasedPricingInd": {
                "type": "boolean",
                "description": "When selected, the credit score information is used in evaluating the loan and will be disclosed on the Risk-Based Pricing Notice or Risk-Based Pricing Exception Notice.",
                "nullable": true
              },
              "creditScoreUsedOnNoticeOfActionInd": {
                "type": "boolean",
                "description": "If true, the credit score and related information from the appropriate credit bureau will be disclosed on the notice of action taken.",
                "nullable": true
              },
              "creditScoreUsedForLoanDecisionInd": {
                "type": "boolean",
                "description": "Shows that the credit score information is used in evaluating the loan decision.",
                "nullable": true
              },
              "factorItems": {
                "type": "array",
                "description": "Factor Item",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FactorItem"
                }
              },
              "usedOnNoticeofActionTaken": {
                "type": "boolean",
                "description": "Displays the Used On Notice of Action Taken Indicator.",
                "nullable": true
              },
              "usedForHMDAInd": {
                "type": "boolean",
                "description": "Credit Score Used for HMDA Reporting refers to the credit score relied upon by the lender in making the credit decision for the applicant or co-applicant.",
                "nullable": true
              },
              "hmdaMoreThanOneScoringModelInd": {
                "type": "boolean",
                "description": "Multiple Credit Scoring Models Used indicates that the lender relied on more than one credit scoring model when evaluating the applicant's or co-applicant's creditworthiness for a loan application.",
                "nullable": true
              }
            }
          }
        ]
      },
      "RiskBasedPricingForm": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "RiskBasedPricingExceptionNotice",
          "RiskBasedPricingNotice"
        ],
        "x-enum-descriptions": [
          "Risk-Based Pricing Exception Notice",
          "Risk-Based Pricing Notice"
        ],
        "enum": [
          "RiskBasedPricingExceptionNotice",
          "RiskBasedPricingNotice"
        ]
      },
      "Source": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Equifax",
          "Experian",
          "TransUnion"
        ],
        "x-enum-descriptions": [
          "",
          "Equifax",
          "Experian",
          "TransUnion"
        ],
        "enum": [
          "Unknown",
          "Equifax",
          "Experian",
          "TransUnion"
        ]
      },
      "CreditScoringModel": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "EquifaxBeacon50",
          "EquifaxFICOScore8",
          "EquifaxFICOScore9",
          "EquifaxFICOScore10",
          "EquifaxFICOScore10T",
          "EquifaxVantageScore20",
          "EquifaxVantageScore30",
          "EquifaxVantageScore40",
          "ExperianFairIsaacRiskModelv2",
          "ExperianFICOScore8",
          "ExperianFICOScore9",
          "ExperianFICOScore10",
          "ExperianFICOScore10T",
          "ExperianVantageScore20",
          "ExperianVantageScore30",
          "ExperianVantageScore40",
          "TransUnionFICORiskScoreClassic04",
          "TransUnionFICORiskScoreClassic98",
          "TransunionFICOScore8",
          "TransUnionFICOScore9",
          "TransunionFICOScore10",
          "TransunionFICOScore10T",
          "TransUnionVantageScore20",
          "TransUnionVantageScore30",
          "TransunionVantageScore40",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Equifax Beacon 5.0",
          "Equifax FICO Score 8",
          "Equifax FICO Score 9",
          "Equifax FICO Score 10",
          "Equifax FICO Score 10T",
          "Equifax Vantage Score 2.0",
          "Equifax Vantage Score 3.0",
          "Equifax Vantage Score 4.0",
          "Experian Fair Isaac Risk Model v2",
          "Experian FICO Score 8",
          "Experian FICO Score 9",
          "Experian FICO Score 10",
          "Experian FICO Score 10T",
          "Experian Vantage Score 2.0",
          "Experian Vantage Score 3.0",
          "Experian Vantage Score 4.0",
          "TransUnion FICO Risk Score Classic 04",
          "TransUnion FICO Risk Score Classic 98",
          "Transunion FICO Score 8",
          "TransUnion FICO Score 9",
          "Transunion FICO Score 10",
          "Transunion FICO Score 10T",
          "TransUnion Vantage Score 2.0",
          "TransUnion Vantage Score 3.0",
          "Transunion Vantage Score 4.0",
          "Other"
        ],
        "enum": [
          "Unknown",
          "EquifaxBeacon50",
          "EquifaxFICOScore8",
          "EquifaxFICOScore9",
          "EquifaxFICOScore10",
          "EquifaxFICOScore10T",
          "EquifaxVantageScore20",
          "EquifaxVantageScore30",
          "EquifaxVantageScore40",
          "ExperianFairIsaacRiskModelv2",
          "ExperianFICOScore8",
          "ExperianFICOScore9",
          "ExperianFICOScore10",
          "ExperianFICOScore10T",
          "ExperianVantageScore20",
          "ExperianVantageScore30",
          "ExperianVantageScore40",
          "TransUnionFICORiskScoreClassic04",
          "TransUnionFICORiskScoreClassic98",
          "TransunionFICOScore8",
          "TransUnionFICOScore9",
          "TransunionFICOScore10",
          "TransunionFICOScore10T",
          "TransUnionVantageScore20",
          "TransUnionVantageScore30",
          "TransunionVantageScore40",
          "Other"
        ]
      },
      "FactorItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string",
                "description": "A numeric code that specify the Factor of the borrowers credit which give context to the referenced credit score.",
                "nullable": true
              },
              "factorText": {
                "type": "string",
                "description": "The text description associated with a Credit Score Factor.",
                "nullable": true
              }
            }
          }
        ]
      },
      "NearestRelative": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The loan party's nearest relative's name.",
                "nullable": true
              },
              "address": {
                "description": "The loan party's nearest relative's address.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "phone": {
                "description": "The loan party's nearest relative's phone.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Phone"
                  }
                ]
              }
            }
          }
        ]
      },
      "PowerOfAttorney": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of individual serving as power of attorney for the party.",
                "nullable": true
              },
              "address": {
                "description": "The address of the individual serving as power of attorney for the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "emailAddress": {
                "type": "string",
                "description": "The email address of the individual serving as power of attorney for the party.",
                "nullable": true
              },
              "certificationOfContinuingPowerOfAttorneyInd": {
                "type": "boolean",
                "description": "If true, lender wants the Certification of Continuing Power of Attorney form selected.",
                "nullable": true
              },
              "powerOfAttorneyDate": {
                "type": "string",
                "description": "The date the Power of Attorney form was created between the borrower and their agent.",
                "format": "date",
                "nullable": true
              },
              "powerOfAttorneyDescription": {
                "type": "string",
                "description": "Alternate descriptive language for the power of attorney.",
                "nullable": true
              }
            }
          }
        ]
      },
      "Employment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "current": {
                "type": "array",
                "description": "The loan parties current employer details.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EmploymentDetails"
                }
              },
              "previous": {
                "type": "array",
                "description": "The loan parties previous employer details",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EmploymentDetails"
                }
              },
              "totalMonthlyIncome": {
                "type": "number",
                "description": "A calculated summary of all Employment Income (for current employers only) PLUS Other Income for a loan party.",
                "format": "double",
                "nullable": true
              },
              "employmentIncome": {
                "type": "number",
                "description": "A calculated summary of all Employment Income amounts for current employers [BorrowingParty.Employment.Current.Income.IncomeAmount] for a loan party. This does not include any Monthly Income from Previous Employers.",
                "format": "double",
                "nullable": true
              },
              "otherIncome": {
                "type": "number",
                "description": "A calculated summary of all Other Income amounts [BorrowingParty.OtherIncome.IncomeAmount] for a loan party.",
                "format": "double",
                "nullable": true
              }
            }
          }
        ]
      },
      "EmploymentDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "employmentType": {
                "description": "The employment type of the loan party's current/previous employer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmploymentType"
                  }
                ]
              },
              "selfEmployedInd": {
                "type": "boolean",
                "description": "If true, the loan party is self-employed.",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "The position or title of the loan party in their current/previous employment.",
                "nullable": true
              },
              "yearsEmployed": {
                "type": "number",
                "description": "The number of years the loan party has been employed by this employer.",
                "format": "decimal",
                "nullable": true
              },
              "employerName": {
                "type": "string",
                "description": "The name of the loan party's current/previous employer.",
                "nullable": true
              },
              "contactName": {
                "type": "string",
                "description": "The name of the contact for the current/previous employer of the loan party.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the loan party's current/previous employer.",
                "nullable": true
              },
              "address": {
                "description": "Theaddress details of the loan party's current/previous employer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "income": {
                "type": "array",
                "description": "The income details of the loan party.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Income"
                }
              },
              "employmentOrder": {
                "type": "integer",
                "description": "The Employment Order",
                "format": "int32",
                "nullable": true
              },
              "verbalVerificationInd": {
                "type": "boolean",
                "description": "A verbal verification of employment is being requested.",
                "nullable": true
              },
              "contactTitle": {
                "type": "string",
                "description": "The employer contact title of the party's current/previous employer.",
                "nullable": true
              },
              "thirdPartySource": {
                "type": "string",
                "description": "The description of the third party source of the current/previous employer.",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "description": "The description of the additional information for the current/previous employer.",
                "nullable": true
              },
              "verificationOfEmploymentDate": {
                "type": "string",
                "description": "The date the party's current/previous place of employment was verified.",
                "format": "date",
                "nullable": true
              },
              "verifierName": {
                "type": "string",
                "description": "The name of the verifier of the current/previous employer.",
                "nullable": true
              },
              "verifierTitle": {
                "type": "string",
                "description": "The title of the verifier of the current/previous employer.",
                "nullable": true
              }
            }
          }
        ]
      },
      "EmploymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Current",
          "Previous"
        ],
        "x-enum-descriptions": [
          "Current",
          "Previous"
        ],
        "enum": [
          "Current",
          "Previous"
        ]
      },
      "Income": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "incomeType": {
                "description": "This identifies the loan party's type of employment income.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IncomeType"
                  }
                ]
              },
              "incomeAmount": {
                "type": "number",
                "description": "The amount of income the loan party receives per month from their current employment.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "IncomeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Base",
          "Overtime",
          "Bonus",
          "Commissions"
        ],
        "x-enum-descriptions": [
          "Base",
          "Overtime",
          "Bonus",
          "Commissions"
        ],
        "enum": [
          "Base",
          "Overtime",
          "Bonus",
          "Commissions"
        ]
      },
      "OtherIncome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "incomeType": {
                "description": "This identifies the loan party's type of other income..",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OtherIncomeType"
                  }
                ]
              },
              "incomeDescription": {
                "type": "string",
                "description": "This is a description of other income when the Income Type selected is 'Other'.",
                "nullable": true
              },
              "incomeAmount": {
                "type": "number",
                "description": "The amount of income the loan party receives per month from other income.",
                "format": "decimal",
                "nullable": true
              },
              "incomeReceivedUnder": {
                "description": "Condition by which the loan party receives certain income.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IncomeReceivedUnder"
                  }
                ]
              }
            }
          }
        ]
      },
      "OtherIncomeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Alimony",
          "ChildSupport",
          "DividendsAndInterest",
          "RentalIncome",
          "SeparateMaintenance",
          "Other"
        ],
        "x-enum-descriptions": [
          "Alimony",
          "Child Support",
          "Dividends and Interest",
          "Rental Income",
          "Separate Maintenance",
          "Other"
        ],
        "enum": [
          "Alimony",
          "ChildSupport",
          "DividendsAndInterest",
          "RentalIncome",
          "SeparateMaintenance",
          "Other"
        ]
      },
      "IncomeReceivedUnder": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CourtOrder",
          "OralAgreement",
          "WrittenAgreement"
        ],
        "x-enum-descriptions": [
          "Court Order",
          "Oral Agreement",
          "Written Agreement"
        ],
        "enum": [
          "CourtOrder",
          "OralAgreement",
          "WrittenAgreement"
        ]
      },
      "InsiderType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "ExecutiveOfficer",
          "Employee",
          "Insider"
        ],
        "x-enum-descriptions": [
          "None",
          "Executive Officer",
          "Employee",
          "Insider"
        ],
        "enum": [
          "None",
          "ExecutiveOfficer",
          "Employee",
          "Insider"
        ]
      },
      "AliasName": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "Alternative name (alias) of a loan party",
                "nullable": true
              }
            }
          }
        ]
      },
      "BeneficialOwner": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of a beneficial owner.",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "The title of a beneficial owner",
                "nullable": true
              },
              "role": {
                "type": "array",
                "description": "Indicates whether the beneficial owner is a controlling manager and/or a certifying signer.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BeneficialOwnerRole"
                }
              },
              "ownershipPercent": {
                "type": "number",
                "description": "Percentage of ownership of a beneficial owner.",
                "format": "decimal",
                "nullable": true
              },
              "nonUSOwnerInd": {
                "type": "boolean",
                "description": "Indicates whether a beneficial owner is a US person.",
                "nullable": true
              }
            }
          }
        ]
      },
      "BeneficialOwnerRole": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ControllingManager",
          "CertifyingSigner"
        ],
        "enum": [
          "ControllingManager",
          "CertifyingSigner"
        ]
      },
      "Trust": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "redactTrustIdentifierInd": {
                "type": "boolean",
                "description": "If true, the lender does not want to print the Trust Identifier.",
                "nullable": true
              },
              "date": {
                "type": "string",
                "description": "The date of the trust certificate.",
                "format": "date",
                "nullable": true
              },
              "revocableInd": {
                "type": "boolean",
                "description": "If true the trust is revocable.",
                "nullable": true
              },
              "recordedCounty": {
                "type": "string",
                "description": "The county in which the trust instrument is recorded.",
                "nullable": true
              },
              "recordedDistrictDesc": {
                "type": "string",
                "description": "This is the description of the Registry District or Land Court District where the Declaration of Trust is recorded or filed.",
                "nullable": true
              },
              "recordedDate": {
                "type": "string",
                "description": "The date the trust instrument or certificate of trust (inter vivos) or decree or instrument (testamentary) was recorded.",
                "format": "date",
                "nullable": true
              },
              "declarationRecordingType": {
                "description": "Specifies whether the trust declaration is recorded registered or both.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DeclarationRecordingType"
                  }
                ]
              },
              "recordedBookDesc": {
                "type": "string",
                "description": "A description of the book in which the trust instrument is recorded.",
                "nullable": true
              },
              "recordedPageDesc": {
                "type": "string",
                "description": "The page in which the trust instrument is recorded.",
                "nullable": true
              },
              "documentIdentifier": {
                "type": "string",
                "description": "The document identifier for the trust when it was filed.",
                "nullable": true
              },
              "certificateOfTitleIdentifier": {
                "type": "string",
                "description": "The certificate of title identifier for the trust when it was filed.",
                "nullable": true
              },
              "ownerName": {
                "type": "string",
                "description": "Name of the Trust entity that is Owner of the collateral item",
                "nullable": true
              },
              "massachusettsTypeOfTrust": {
                "description": "If Massachusetts Real Property Trust is selected, the trust is for a certification under the Real Property Statute (also known as a nominee trust). If Massachusetts Uniform Trust Code is selected, the trust is for a certification under the Uniform Trust Code [MUTC] (also known as a non-nominee trust). Form specific to the Certification of Trust.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MassachusettsTypeOfTrust"
                  }
                ]
              },
              "formCertificationOfTrustAllPowersGrantedInd": {
                "type": "boolean",
                "description": "If true, the signer is granting all powers allowed by law. Form specific to the Certification of Trust.",
                "nullable": true
              },
              "formCertificationOfTrustAllPowersGrantedUserDesc": {
                "type": "string",
                "description": "The user defined terms for powers granted. Form specific to the Certification of Trust.",
                "nullable": true
              },
              "formCertificationOfTrustSuccessorTrusteeUserDesc": {
                "type": "string",
                "description": "The user defined terms for Successor Trustees. Form specific to the Certification of Trust.",
                "nullable": true
              }
            }
          }
        ]
      },
      "DeclarationRecordingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Recorded",
          "Registered",
          "RecordedAndRegistered"
        ],
        "enum": [
          "Recorded",
          "Registered",
          "RecordedAndRegistered"
        ]
      },
      "MassachusettsTypeOfTrust": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "MassachusettsRealPropertyTrustNomineeTrust",
          "MassachusettsUniformTrustCode"
        ],
        "enum": [
          "Unknown",
          "MassachusettsRealPropertyTrustNomineeTrust",
          "MassachusettsUniformTrustCode"
        ]
      },
      "StatementOfAuthority": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "personsAuthorizedDescCustom": {
                "type": "boolean",
                "description": "If true the user can enter a custom description of the names and/or position titles of the persons who may act on the entity's behalf in executing instruments that convey, encumber, or otherwise affect title to the real estate owned by the entity, bearing in mind that subsequent filings, as needed, will amend and supersede prior filings. If false the list of names and titles is calculated from authorized signers.",
                "nullable": true
              },
              "personsAuthorizedDesc": {
                "type": "string",
                "description": "A description of the names and/or position titles of the persons who may act on the entity's behalf in executing instruments that convey, encumber, or otherwise affect title to the real estate owned by the entity, bearing in mind that subsequent filings, as needed, will amend and supersede prior filings. For example, a trust may include, in addition to detailing existing trustee names, language reflecting that the trust empowers any trustee, or any successor, acting alone, to act in the stated capacity.",
                "nullable": true
              },
              "limitationsOnAuthorityDesc": {
                "type": "string",
                "description": "A description of any limitations on the authority of named persons who may act on the entity's behalf in executing instruments that convey, encumber, or otherwise affect title to the real estate owned by the entity. If none are provided, a statement will print indicating that there are no such limitations.",
                "nullable": true
              },
              "otherMattersDesc": {
                "type": "string",
                "description": "A description of any other matters concerning the entity's dealings with transactions that convey, encumber or otherwise affect title to the real estate owned by the entity. If none are provided, a statement will print indicating that there are no such other matters.",
                "nullable": true
              }
            }
          }
        ]
      },
      "ResolutionOfAddressDiscrepancies": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "resolutionOfAddressDiscrepanciesInd": {
                "type": "boolean",
                "description": "If true lender has received notice from a consumer reporting agency that there is a discrepancy between the address noted on the loan application and that on consumer report.",
                "nullable": true
              },
              "accountTypeDesc": {
                "type": "string",
                "description": "The type of account on which there is a discrepancy between the address noted on the loan application and that on the consumer report.",
                "nullable": true
              },
              "accountEstablishedInd": {
                "type": "boolean",
                "description": "If true the borrower's account was established.",
                "nullable": true
              },
              "additionalInformationDesc": {
                "type": "string",
                "description": "Additional information regarding the resolution of the address discrepancies.",
                "nullable": true
              },
              "agencyNotifiedDate": {
                "type": "string",
                "description": "The date the consumer agency was notified of the correct address.",
                "format": "date",
                "nullable": true
              },
              "applicationAddress": {
                "type": "string",
                "description": "The address provided by the borrower on the loan application that differs from a consumer report address.",
                "nullable": true
              },
              "consumerReportAddress": {
                "type": "string",
                "description": "The address on the consumer report that differs from that provided by the borrower on the loan application.",
                "nullable": true
              },
              "correctAddress": {
                "type": "string",
                "description": "The borrower's correct address as determined by the lender.",
                "nullable": true
              },
              "methodAccountEstablishedOtherDesc": {
                "type": "string",
                "description": "A description of the other method used to establish the borrower's account.",
                "nullable": true
              },
              "methodAccountEstablishedType": {
                "description": "The method that was used to establish the borrower's account.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MethodAccountEstablishedType"
                  }
                ]
              },
              "methodIdentityVerifiedOtherDesc": {
                "type": "string",
                "description": "A description of the other method used to verify the borrower's identity.",
                "nullable": true
              },
              "methodIdentityVerifiedType": {
                "description": "The method that was used to verify the borrower's identity to the lender.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MethodIdentityVerifiedType"
                  }
                ]
              },
              "reportingAgencyDesc": {
                "type": "string",
                "description": "The agency reporting to lender that there is a discrepancy between the address noted on the loan application and that on the consumer report.",
                "nullable": true
              },
              "verifiedByDesc": {
                "type": "string",
                "description": "The party that verified the borrower's identity.",
                "nullable": true
              },
              "verifiedDate": {
                "type": "string",
                "description": "The date the borrower's identity was verified.",
                "format": "date",
                "nullable": true
              },
              "verifiedIdentityInd": {
                "type": "boolean",
                "description": "If true the lender was able to verify the borrower's identity.",
                "nullable": true
              }
            }
          }
        ]
      },
      "MethodAccountEstablishedType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "PersonNamedInConsumerReport",
          "InstitutionRecords",
          "ThirdPartySources",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Person named in consumer report",
          "Institution Records",
          "Third Party Sources",
          "Other"
        ],
        "enum": [
          "Unknown",
          "PersonNamedInConsumerReport",
          "InstitutionRecords",
          "ThirdPartySources",
          "Other"
        ]
      },
      "MethodIdentityVerifiedType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CIPProcess",
          "PersonNamedInConsumerReport",
          "InstitutionRecords",
          "ThirdPartySources",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "CIP Process",
          "Person named in consumer report",
          "Institution Records",
          "Third Party Sources",
          "Other"
        ],
        "enum": [
          "Unknown",
          "CIPProcess",
          "PersonNamedInConsumerReport",
          "InstitutionRecords",
          "ThirdPartySources",
          "Other"
        ]
      },
      "EthnicityType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "HispanicOrLatino",
          "Mexican",
          "PuertoRican",
          "Cuban",
          "OtherHispanicOrLatino",
          "NotHispanicOrLatino",
          "InformationNotProvidedByApplicant"
        ],
        "enum": [
          "Unknown",
          "HispanicOrLatino",
          "Mexican",
          "PuertoRican",
          "Cuban",
          "OtherHispanicOrLatino",
          "NotHispanicOrLatino",
          "InformationNotProvidedByApplicant"
        ]
      },
      "RaceType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AmericanIndianOrAlaskaNative",
          "Asian",
          "AsianIndian",
          "Chinese",
          "Filipino",
          "Japanese",
          "Korean",
          "Vietnamese",
          "OtherAsian",
          "BlackOrAfricanAmerican",
          "NativeHawaiianPacificIslander",
          "NativeHawaiian",
          "GuamanianChamorro",
          "Samoan",
          "OtherPacificIslander",
          "White",
          "InformationNotProvidedByApplicant"
        ],
        "enum": [
          "Unknown",
          "AmericanIndianOrAlaskaNative",
          "Asian",
          "AsianIndian",
          "Chinese",
          "Filipino",
          "Japanese",
          "Korean",
          "Vietnamese",
          "OtherAsian",
          "BlackOrAfricanAmerican",
          "NativeHawaiianPacificIslander",
          "NativeHawaiian",
          "GuamanianChamorro",
          "Samoan",
          "OtherPacificIslander",
          "White",
          "InformationNotProvidedByApplicant"
        ]
      },
      "GenderType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Female",
          "Male",
          "InformationNotProvidedByApplicant"
        ],
        "enum": [
          "Female",
          "Male",
          "InformationNotProvidedByApplicant"
        ]
      },
      "EthnicityDeterminantType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ],
        "enum": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ]
      },
      "GenderDeterminantType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ],
        "enum": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ]
      },
      "RaceDeterminantType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ],
        "enum": [
          "Unknown",
          "CollectedOnBasisOfVisualObservationOrSurname",
          "NotCollectedOnBasisOfVisualObservationOrSurname"
        ]
      },
      "DemographicInformationProvidedByType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "FaceToFace",
          "EmailOrInternet",
          "TelephoneInterview",
          "FaxOrMail"
        ],
        "enum": [
          "Unknown",
          "FaceToFace",
          "EmailOrInternet",
          "TelephoneInterview",
          "FaxOrMail"
        ]
      },
      "Caretaker": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "LoanFilePolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "antiMergerProvisionInd": {
                "type": "boolean",
                "description": "If true, the costs and attorneys' fees provisions related to collection shall not merge into any final or other judgement to the extent permitted by applicable law.",
                "nullable": true
              },
              "antiTerrorismLawsRepresentationInd": {
                "type": "boolean",
                "description": "If true, anti-terrorism laws representation has been included on the loan agreement.",
                "nullable": true
              },
              "arbitrationInd": {
                "type": "boolean",
                "description": "If true the loan documents should include a provision regarding an agreement to arbitrate.",
                "nullable": true
              },
              "arkansasLienReleaseContactInd": {
                "type": "boolean",
                "description": "If true, the lender wants to print Lien Holder contact information for property located in Arkansas after the Prepared By section on a recordable lien document in accordance with Arkansas Code 18-1-101.",
                "nullable": true
              },
              "californiaOneActionAntideficiencyWaiverInd": {
                "type": "boolean",
                "description": "Indicates that the institution wants the California waiver of one action and antideficiency language in the note.",
                "nullable": true
              },
              "confessionOfJudgement": {
                "type": "boolean",
                "description": "If true the loan documents should include a section regarding a confession of judgment.",
                "nullable": true
              },
              "conflictOfLawExcludedInd": {
                "type": "boolean",
                "description": "If true, language regarding conflicts of law will be added to the governing law statement.",
                "nullable": true
              },
              "customDefinitionIndexBaseRateDesc": {
                "type": "string",
                "description": "A custom description of the institution's base rate index.",
                "nullable": true
              },
              "customDefinitionIndexPrimeRateDesc": {
                "type": "string",
                "description": "A custom description of the institution's Prime Rate index.",
                "nullable": true
              },
              "customDefinitionIndexSOFRDesc": {
                "type": "string",
                "description": "The user defined description of the institution's SOFR index.",
                "nullable": true
              },
              "customDefinitionIndexTreasuryDesc": {
                "type": "string",
                "description": "A custom description of the institution's Treasury Index.",
                "nullable": true
              },
              "customDefinitionIndexWallStreetJournalPrimeDesc": {
                "type": "string",
                "description": "A custom description of the institution's Wall Street Journal Prime Rate index.",
                "nullable": true
              },
              "deliveryCityStateIndicator": {
                "type": "boolean",
                "description": "If true, City and State of delivery is always printed on the promissory note.",
                "nullable": true
              },
              "environmentalLawRepresentationInd": {
                "type": "boolean",
                "description": "If true environmental laws representation has been included on the loan agreement.",
                "nullable": true
              },
              "federalPreemptionInd": {
                "type": "boolean",
                "description": "If true the lender is opting to preempt state law with federal law to the extent there is federal law available which preempts state law. (For commercial content purposes selection of this option will result in all governing law provisions being formatted as such: 'shall be governed by federal law applicable to Bank and to the extent not preempted by federal law the laws of the State of __________' as opposed to 'shall be governed by the laws of the State of __________'.)",
                "nullable": true
              },
              "formBusinessPurposeAffidavitLenderSignatureInd": {
                "type": "boolean",
                "description": "If true, the lender signature will appear on the Business Purpose Affidavit. This is form specific to Business Purpose Affidavit.",
                "nullable": true
              },
              "formCertificateOfOilAndHazardousMaterialsInd": {
                "type": "boolean",
                "description": "If true a Certificate of Oil and Hazardous Materials form should be selected for the transaction.",
                "nullable": true
              },
              "formAlternativePaymentScheduleDisclosureNYIncludeSignaturesInd": {
                "type": "boolean",
                "description": "If true, the user would like to include the party signatures on the document. This is form specific for the AlternativePaymentScheduleDisclosure-NY.\r\n",
                "nullable": true
              },
              "formFreedomToChooseInsCoAndInsProfessionalNMExcludeSignatureSectionInd": {
                "type": "boolean",
                "description": "If true, the institution elects to exclude the signature section on the Freedom to Choose Insurance Company and Insurance Professional-NM. Signatures are not required for this document. This is form specific for the Freedom to Choose Insurance Company and Insurance   Professional NM.\r\n",
                "nullable": true
              },
              "formNoticeOfSecondaryLienVTIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "If true, the lender signature is included on the Notice of Secondary Lien-VT.",
                "nullable": true
              },
              "formCertificateOfOilAndHazardousMaterialsLoanDescriptionInd": {
                "type": "boolean",
                "description": "If true a description of the loan should be included on the Certificate of Oil and Hazardous Materials.",
                "nullable": true
              },
              "formCertificateOfOilAndHazardousMaterialsRealEstateDescriptionInd": {
                "type": "boolean",
                "description": "If true a description of the real property should be included on the Certificate of Oil and Hazardous Materials.",
                "nullable": true
              },
              "formPrivacyNoticeIncludeOtherImportantInformationInd": {
                "type": "boolean",
                "description": "If true, the financial institution wants to include information pertaining to the Other Important Information section. This is form specific for the Privacy Notice.",
                "nullable": true
              },
              "furtherAssurancesTextInNotesInd": {
                "type": "boolean",
                "description": "If true, a 'further assurances' paragraph will be added to each note. This data must specifically be passed as false if a 'further assurances' paragraph should not be added.",
                "nullable": true
              },
              "gaForeclosureConfirmationWaiverInd": {
                "type": "boolean",
                "description": "If true, the lender elects to include the Foreclosure Confirmation Waiver for Georgia (GA). This is for use in the Commercial line of business.",
                "nullable": true
              },
              "guarantyDepositCollateralExcludedInd": {
                "type": "boolean",
                "description": "If true, the guaranty content will not include a grant of a security interest in deposit accounts.",
                "nullable": true
              },
              "highlightSignaturesInd": {
                "type": "boolean",
                "description": "Trigger to turn on signature highlighting.\r\n",
                "nullable": true
              },
              "homesteadWaiverInd": {
                "type": "boolean",
                "description": "If true homestead waiver provisions to the extent permitted by applicable law will be included in various loan documents.",
                "nullable": true
              },
              "includeCityStateDeliveredInd": {
                "type": "boolean",
                "description": "If true documents should include the city and state where the Agreements are delivered.",
                "nullable": true
              },
              "includeCreditUnionRightOfSetOffInd": {
                "type": "boolean",
                "description": "If true, content will include credit union right of set off.",
                "nullable": true
              },
              "includeDelawareConfessionOfJudgmentsInNotesAndGuarantiesInd": {
                "type": "boolean",
                "description": "If true a confession paragraph will be included in Notes and Guaranties governed by Delaware law.",
                "nullable": true
              },
              "includeEndorserAndGuarantorReferenceInNotesInd": {
                "type": "boolean",
                "description": "If true references to Endorser(s) and Guarantor(s) will be included in notes.",
                "nullable": true
              },
              "includeEscrowAmountsInLateChargeCalculationInd": {
                "type": "boolean",
                "description": "If true language will be added to the late charge text to address amounts required to be paid into escrow accounts.",
                "nullable": true
              },
              "includeGuarantorsAsIndemnitorsInd": {
                "type": "boolean",
                "description": "If true guarantors will be included as an Indemnitor.",
                "nullable": true
              },
              "includeHighVelocityCommercialRealEstateLanguageInd": {
                "type": "boolean",
                "description": "If true, High Volatility Commercial Real Estate Language will be included in the Loan Agreement-Commercial-Construction and Real Estate Security Instrument-Commercial.",
                "nullable": true
              },
              "includeListOfThirdPartyFeesInd": {
                "type": "boolean",
                "description": "If true, a Separate Estimate of Third Party Fees should be prepared.\r\n",
                "nullable": true
              },
              "includeLenderBorrowerAddressesInNoteInd": {
                "type": "boolean",
                "description": "If true the financial institution's and Borrower's address will be included in the first paragraph of Notes.",
                "nullable": true
              },
              "includeSeal": {
                "type": "boolean",
                "description": "If true, the instrument will be signed under seal, and the word 'Seal' will print next to the signature lines on contract documents. FNMA/FHLMC documents always have the word 'seal' next to the signature lines regardless of how this option is set.",
                "nullable": true
              },
              "legalSizePageInd": {
                "type": "boolean",
                "description": "If true the lender wants recordable documents in the transaction to print on legal size paper.",
                "nullable": true
              },
              "loanAgreementContactAccountantInd": {
                "type": "boolean",
                "description": "If true the Contact with Accountant provision should be included in any Loan Agreement.",
                "nullable": true
              },
              "loanAgreementDepositCollateralExcludedInd": {
                "type": "boolean",
                "description": "If true the deposit collateral section should be excluded from the loan agreement.",
                "nullable": true
              },
              "loanAgreementIndemnificationInd": {
                "type": "boolean",
                "description": "If true the Indemnification provision should be included in any Loan Agreement.",
                "nullable": true
              },
              "loanAgreementOperatingDepositAccountInd": {
                "type": "boolean",
                "description": "If true the Operating and Deposit Accounts provision should be included in any Loan Agreement.",
                "nullable": true
              },
              "loanAgreementPensionPlanInd": {
                "type": "boolean",
                "description": "If true the Pension Plan provision should be included in any Loan Agreement.",
                "nullable": true
              },
              "loanAgreementCorporateTransparencyActBOIProvisionInd": {
                "type": "boolean",
                "description": "If true, the commercial loan agreement and/or commercial construction loan agreement documents will include a provision, where applicable, whereby the borrower agrees to comply with Beneficial Ownership Information reporting requirements of the Corporate Transparency Act, as applicable.",
                "nullable": true
              },
              "loanInsuranceInvestmentRiskInd": {
                "type": "boolean",
                "description": "If true there is a risk of a loss of principal in this investment.\r\n",
                "nullable": true
              },
              "newYorkLienLawCovenantInd": {
                "type": "boolean",
                "description": "If true loan documents should include the New York lien law covenant where appropriate.",
                "nullable": true
              },
              "actual360DisclosureInd": {
                "type": "boolean",
                "description": "If true, when the lender has selected Actual/360 as the accrual method the Note will contain a disclosure that the effective interest rate will be higher.",
                "nullable": true
              },
              "amortizationPeriodExpresslyStatedInd": {
                "type": "boolean",
                "description": "If true an additional paragraph will be added to certain types of notes that expressly states the amortization period. If false such paragraph is only referenced in Notes containing a payment recalculation.",
                "nullable": true
              },
              "formBusinessPurposeAffidavitInd": {
                "type": "boolean",
                "description": "Describes how frequently that the fee will be charged.",
                "nullable": true
              },
              "formTelephoneConsumerProtectionActConsentExcludeSignatureSectionInd": {
                "type": "boolean",
                "description": "If true, a signature section should not appear on the Telephone Consumer Protection Act Consent document. Form specific for the Consumer Protection Act Consent.\r\n",
                "nullable": true
              },
              "includeEffectOfBenchmarkTransitionEventInd": {
                "type": "boolean",
                "description": "If true, the lender wants to apply the Effect of Benchmark Transition Event language to index types other than SOFR in the transaction.",
                "nullable": true
              },
              "loanIdentifierIncludedInd": {
                "type": "boolean",
                "description": "If true a loan number will be included on the document.",
                "nullable": true
              },
              "noticeRegardingInaccurateInformationInd": {
                "type": "boolean",
                "description": "If true, the institution wants a Notice Regarding Inaccurate Information to print for the transaction.",
                "nullable": true
              },
              "remedyPossessionInd": {
                "type": "boolean",
                "description": "If true the take possession Remedy is included in residential real estate security instruments.",
                "nullable": true
              },
              "shortFormInd": {
                "type": "boolean",
                "description": "If true, short forms should be used where applicable.",
                "nullable": true
              },
              "waiverOfJuryTrial": {
                "type": "boolean",
                "description": "If true the loan documents should include a section regarding a waiver of jury trial.",
                "nullable": true
              },
              "waiversExcludedInd": {
                "type": "boolean",
                "description": "If true, the institution elects to exclude waivers.",
                "nullable": true
              },
              "witnessLinesIncludedInd": {
                "type": "boolean",
                "description": "Include witness lines for each signer.",
                "nullable": true
              },
              "witnessLinesSuppressedInd": {
                "type": "boolean",
                "description": "If true witness lines will not be included on documents unless otherwise required under applicable state law.",
                "nullable": true
              },
              "benchmarkReplacementSettingRiderInd": {
                "type": "boolean",
                "description": "If true, a commercial note referencing Daily Simple SOFR/standard index(es) (but not Term SOFR) is opting to print the Benchmark Replacement Setting Rider instead of the benchmark replacement provision provided in the Index Definition section in the body of the note.",
                "nullable": true
              },
              "creditFacilitiesInRateElectionNoticeAndPubliclyAvailableInd": {
                "type": "boolean",
                "description": "If true, the comparable credit facilities are identified in the applicable Rate Election Notice and are publicly available for review.",
                "nullable": true
              },
              "includeEarlyOptInElectionLanguageInd": {
                "type": "boolean",
                "description": "If true, the lender wants to include the early opt in election in connection with the Benchmark Replacement.",
                "nullable": true
              },
              "provideBorrowerOptionToObjectToEarlyOptInInd": {
                "type": "boolean",
                "description": "If true, the lender is providing an option for the borrower to object to an early opt-in prior to the effective date of the change.",
                "nullable": true
              },
              "riskBasedPricingNoticeCreditScoreInd": {
                "type": "boolean",
                "description": "If true, Lender wants to use the Risk Based Pricing Notice instead of one of the exception notices permitted under Regulation V. This is used when there is a credit score.\r\n",
                "nullable": true
              },
              "riskBasedPricingNoticeInd": {
                "type": "boolean",
                "description": "If true, Lender wants to use the Risk Based Pricing Notice instead of one of the exception notices permitted under Regulation V. This is used when there is no credit score.\r\n",
                "nullable": true
              },
              "provideEarlyOptInOptionInd": {
                "type": "boolean",
                "description": "If true, the lender wants to provide the option for an early opt-in.",
                "nullable": true
              },
              "userDefinedCreditFacilitiesUsedNumber": {
                "type": "integer",
                "description": "The user-defined number of currently outstanding U.S. dollar-denominated syndicated or bilateral credit facilities that are publicly available for review that the rate is substantially consistent with.",
                "format": "int32",
                "nullable": true
              },
              "taxInformationAuthorizationInd": {
                "type": "boolean",
                "description": "If true, the lender is authorized to obtain tax information directly from the IRS.\r\n",
                "nullable": true
              },
              "vendorSingleInterestInsuranceOfferedInd": {
                "type": "boolean",
                "description": "If true, vendor single interest insurance is being offered as a part of the transaction.\r\n",
                "nullable": true
              },
              "includeReassignmentToBorrowerInSecurityAgreementCommercialInd": {
                "type": "boolean",
                "description": "Include Reassignment To Borrower In Security Agreement Commercial Indicator",
                "nullable": true
              },
              "assignmentOfLeasesAndRentsInSecurityInstrumentInd": {
                "type": "boolean",
                "description": "Assignment Of Leases And Rents In Security Instrument Indicator",
                "nullable": true
              },
              "suppressNorthDakotaHomesteadWaiverNoticeInd": {
                "type": "boolean",
                "description": "Suppress North Dakota Homestead Waiver Notice Indicator",
                "nullable": true
              },
              "formRealEstatePropertyInsuranceDisclosureCAIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Form Real Estate Property Insurance Disclosure CA Include Lender Signature Indicator",
                "nullable": true
              },
              "prepaymentPenaltyLenderOptionInd": {
                "type": "boolean",
                "description": "Prepayment Penalty Lender Option Indicator",
                "nullable": true
              },
              "defaultNonPaymentGraceDaysCount": {
                "type": "integer",
                "description": "The number of days for the grace period for non-payment related defaults.",
                "format": "int32",
                "nullable": true
              },
              "defaultPaymentGraceDaysCount": {
                "type": "integer",
                "description": "The number of days for the grace period for payment related defaults.",
                "format": "int32",
                "nullable": true
              },
              "benchmarkReplacementEffectiveDaysCount": {
                "type": "integer",
                "description": "The number of business days after the date notice of such Benchmark Replacement is provided to the borrower.",
                "format": "int32",
                "nullable": true
              },
              "daysAfterReplacementEventCount": {
                "type": "integer",
                "description": "The number of days after a replacement event that the change dates are set, to determine the interest rate and monthly payment.",
                "format": "int32",
                "nullable": true
              },
              "statementErrorNoticeDaysCount": {
                "type": "integer",
                "description": "The number of days the loan parties have to notify the lender of an error on their monthly statement.",
                "format": "int32",
                "nullable": true
              },
              "benchmarkReplacementCDRateIndexPeriodOtherTypeYearsNumber": {
                "type": "integer",
                "description": "Specifies the number of years for the period of the applicable CD Rate index used as a fallback rate for a benchmark replacement event.",
                "format": "int32",
                "nullable": true
              },
              "benchmarkReplacementTreasuryIndexPeriodOtherTypeYearsNumber": {
                "type": "integer",
                "description": "Specifies the number of years for the period of the applicable Treasury index used as a fallback rate for a benchmark replacement event.",
                "format": "int32",
                "nullable": true
              },
              "earlyOptInNoticeExpirationDaysCount": {
                "type": "integer",
                "description": "The number of business days after an Early-Opt in election by the lender that the borrower has to object to such election. The default is to print 'sixth'.",
                "format": "int32",
                "nullable": true
              },
              "benchmarkReplacementCDRateIndexPeriodType": {
                "description": "Specifies the period of the applicable CD Rate index used as a fallback rate for a benchmark replacement event.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BenchmarkReplacementCDRateIndexPeriodType"
                  }
                ]
              },
              "benchmarkReplacementCommercialIndexType": {
                "description": "The type of replacement/fallback index that will apply when a benchmark index replacement event occurs. The standard option for Alternate Base Rate, which is determined by the taking greater of the lender's Prime Rate or the Federal Funds Rate for each day plus .5%, should only be selected for Term SOFR loans. The User Defined option can be used to describe either a single index not listed or to define a user-defined alternate base rate. In the latter case, the definition should include all details for determining the fallback rate, including definition of any index named therein that is not elsewhere defined for the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BenchmarkReplacementCommercialIndexType"
                  }
                ]
              },
              "benchmarkReplacementTreasuryIndexPeriodType": {
                "description": "Specifies the period of the applicable Treasury index used as a fallback rate for a benchmark replacement event.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BenchmarkReplacementTreasuryIndexPeriodType"
                  }
                ]
              },
              "defaultIncludeGracePeriodsType": {
                "description": "Specifies the type of default language to include on loan documents.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DefaultIncludeGracePeriodsType"
                  }
                ]
              },
              "defaultOptionType": {
                "description": "Specifies the type of default text to be included and the documents that should print the default provisions in full. [WARNING: For any transaction selecting the option, \"Standard in Loan Agreements Only,\" the user must separately ensure that instances of the loan agreement will always be selected as part of the transaction. When selected, the note prints a cross-reference to the separate loan agreement(s) as providing the full list of events of default.]",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DefaultOptionType"
                  }
                ]
              },
              "effectOfBenchmarkTransitionEventRiderType": {
                "description": "The type of rider that the lender wants to use to describe the effect of benchmark transition event.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EffectOfBenchmarkTransitionEventRiderType"
                  }
                ]
              },
              "highVelocityCommercialRealEstateLanguageType": {
                "description": "The type of High Volatility Commercial Real Estate Language to be included in the Loan Agreement-Commercial-Construction and Real Estate Security Instrument-Commercial.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HighVelocityCommercialRealEstateLanguageType"
                  }
                ]
              },
              "institutionTransferPolicyType": {
                "description": "Specifies the institutions policy on transfers.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InstitutionTransferPolicyType"
                  }
                ]
              },
              "loanAgreementRepresentationExceptionType": {
                "description": "Specifies the type of Loan Agreement representation exception options.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanAgreementRepresentationExceptionType"
                  }
                ]
              },
              "paymentsAppliedOrderType": {
                "description": "Specifies the order in which payments will be applied.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentsAppliedOrderType"
                  }
                ]
              },
              "prepaymentOptionType": {
                "description": "Prepayment Option Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrepaymentOptionType"
                  }
                ]
              },
              "witnessLines": {
                "description": "The number of witness lines that should print for each signature line on the documents.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/WitnessLines"
                  }
                ]
              },
              "benchmarkReplacementMarginPercent": {
                "type": "number",
                "description": "The percentage to be applied to the benchmark replacement index (the \"fallback\" index) in the event of a benchmark replacement event subject to the benchmark replacement setting rider.",
                "format": "decimal",
                "nullable": true
              },
              "arbitrationDesc": {
                "type": "string",
                "description": "Arbitration Desc",
                "nullable": true
              },
              "commercialUserDefinedBankNoticeDesc": {
                "type": "string",
                "description": "Commercial User Defined Bank Notice Desc",
                "nullable": true
              },
              "confessionOfJudgementDesc": {
                "type": "string",
                "description": "Confession Of Judgement Desc",
                "nullable": true
              },
              "customLateFeeDesc": {
                "type": "string",
                "description": "Custom Late Fee Desc",
                "nullable": true
              },
              "formLoanAgreementSubsidiariesExceptionLanguageDesc": {
                "type": "string",
                "description": "Form Loan Agreement Subsidiaries Exception Language Desc",
                "nullable": true
              },
              "highVelocityCommercialRealEstateLanguageUserDefinedDesc": {
                "type": "string",
                "description": "High Velocity Commercial Real Estate Language User Defined Desc",
                "nullable": true
              },
              "additionalRateDeterminationUserDefinedDesc": {
                "type": "string",
                "description": "Additional Rate Determination User Defined Desc",
                "nullable": true
              },
              "effectOfBenchmarkTransitionEventUserDefinedDesc": {
                "type": "string",
                "description": "Effect Of Benchmark Transition Event User Defined Desc",
                "nullable": true
              },
              "paymentsAppliedOrderTypeOtherDesc": {
                "type": "string",
                "description": "Payments Applied Order Type Other Desc",
                "nullable": true
              },
              "reasonableAttorneysFeesDesc": {
                "type": "string",
                "description": "Reasonable Attorneys Fees Desc",
                "nullable": true
              },
              "benchmarkReplacementEffectiveTimeZoneDesc": {
                "type": "string",
                "description": "Benchmark Replacement Effective Time Zone Desc",
                "nullable": true
              },
              "benchmarkReplacementUserDefinedIndexDefinitionDesc": {
                "type": "string",
                "description": "A description of the user-defined replacement/fallback index that will apply when a benchmark index replacement event occurs. (The value should complete the phrase, \"The[index name] means....\") This description may define either a single index name or multiple indexes to be considered as possible replacements. In the latter case, the description would name and define any index not elsewhere defined in the note, along with details for determining the fallback rate.",
                "nullable": true
              },
              "benchmarkReplacementUserDefinedIndexName": {
                "type": "string",
                "description": "The name of the user-defined replacement/fallback index that will apply when a benchmark index replacement event occurs. This may be either a single index name or a general description such as \"Alternate Base Rate.\" In the latter case, the definition (entered elsewhere) will name and define any indexes to be considered along with details for determining the fallback rate.",
                "nullable": true
              },
              "lookbackBusinessDayDefinitionOtherDesc": {
                "type": "string",
                "description": "A user-provided definition, as applicable, for the term \"Business Day\" for various purposes in the commercial note, which may include any index-based rate change \"lookback\" provisions, SOFR index Benchmark Replacement provisions, certain rate change timing provisions where a monthly variable rate effects changes in relation to the \"End of Billing Cycle Date, \" etc. (This value should complete the phrase, \"The term 'Business Day' shall mean….\") If not passed, the standard definition of \"Business Day\" will print, which defines the term to include any day, other than a Saturday or a Sunday, for which commercial banks in the lender's jurisdiction are open for business.",
                "nullable": true
              },
              "earlyOptInNoticeExpirationTimeDesc": {
                "type": "string",
                "description": "Early Opt In Notice Expiration Time Desc",
                "nullable": true
              },
              "combinedLoanAndSecurityAgreementInd": {
                "type": "boolean",
                "description": "If true a combined Loan and Security Agreement will be produced.  Otherwise a separate Loan Agreement and a separate Security Agreement will be produced.",
                "nullable": true
              },
              "customDefinitionIndexFHLBDesc": {
                "type": "string",
                "description": "A custom description of the institution's FHLB index.",
                "nullable": true
              },
              "formAlternativePaymentScheduleDisclosureNYCommercialIncludeSignatureInd": {
                "type": "boolean",
                "description": "If true, the user would like to include the optional signature section acknowledging receipt of the Alternative Payment Schedule Disclosure-NY in a commercial loan transaction. This is form specific for the AlternativePaymentScheduleDisclosure-NY as used in Commercial transactions.",
                "nullable": true
              },
              "formAlternativePaymentScheduleDisclosureNYLoanContextDesc": {
                "type": "string",
                "description": "A user-defined description of the specific transaction, used to provide context to the Alternative Payment Schedule Disclosure-NY in a commercial loan transaction. If not passed, and Note-specific data is available, the document will list all notes and guaranties and a general reference to collateral securing them, as applicable. This is form specific for the AlternativePaymentScheduleDisclosure-NY as used in Commercial transactions.",
                "nullable": true
              },
              "formTelephoneConsumerProtectionActConsentCommercialExcludeSignatureSectionInd": {
                "type": "boolean",
                "description": "If true, a signature section should not appear on the Telephone Consumer Protection Act Consent Commercial document. Form specific for the Consumer Protection Act Consent Commercial.",
                "nullable": true
              },
              "includeLLCOrganizationalDocumentsInd": {
                "type": "boolean",
                "description": "Include the Articles of Incorporation Certificate of Formation etc. on the closing agenda for a LLC",
                "nullable": true
              },
              "includeOperatingAgreementInd": {
                "type": "boolean",
                "description": "If true, the Operating Agreements should be referenced in the Closing Agenda.",
                "nullable": true
              },
              "insuranceOfferedInd": {
                "type": "boolean",
                "description": "If true insurance is being offered as a part of the transaction.",
                "nullable": true
              },
              "daysBetweenEndOfBillingCycleAndNotePaymentDateNumber": {
                "type": "integer",
                "description": "The number of days between the end of the billing cycle and the note payment date.",
                "format": "int32",
                "nullable": true
              },
              "formAuthorizationDisbursementInd": {
                "type": "boolean",
                "description": "If true the institution desires to create an Authorization-Disbursement for the Note.",
                "nullable": true
              },
              "interestAdjustmentDayType": {
                "description": "Specifies when the date on which the interest rate will change.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestAdjustmentDayType"
                  }
                ]
              },
              "newHampshireFinanceChargeGuarantorSignInd": {
                "type": "boolean",
                "description": "If true, guarantor signatures are included on the New Hampshire RSA 399-B Disclosure of Finance Charges.",
                "nullable": true
              },
              "organizationDocumentsIncludedInd": {
                "type": "boolean",
                "description": "If true the partnership agreements and similar documents for the various kinds of partnerships are included on the closing agenda.",
                "nullable": true
              },
              "recordingRequirementsActualMarginsInd": {
                "type": "boolean",
                "description": "Indicates whether actual margins should be used as the margins for the document in place of the standard design margin as provided in the WKFS style guide.",
                "nullable": true
              },
              "regionalFederalHomeLoanBankDesc": {
                "type": "string",
                "description": "The name of the institution's Regional Federal Home Loan Bank.",
                "nullable": true
              },
              "specimenSignatureInd": {
                "type": "boolean",
                "description": "If true, the authority document for the party should include specimen (sample) signatures.",
                "nullable": true
              },
              "benchmarkReplacementFHLBIndexPeriodOtherTypeYearsNumber": {
                "type": "integer",
                "description": "Specifies the number of years for the period of the applicable FHLB index used as a fallback rate for a benchmark replacement event.",
                "format": "int32",
                "nullable": true
              },
              "benchmarkReplacementFHLBIndexPeriodType": {
                "description": "Specifies the period of the applicable FHLB index used as a fallback rate for a benchmark replacement event.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BenchmarkReplacementFhlbIndexPeriodType"
                  }
                ]
              },
              "changeOfOwnershipPercent": {
                "type": "number",
                "description": "The percent of ownership change in voting stock, partnership interest or limited liability company interests. This is specific to the Commercial Notes and Security Instruments \"Due on Sale or Transfer\" section for California.",
                "format": "decimal",
                "nullable": true
              },
              "includeChangeOfOwnershipInd": {
                "type": "boolean",
                "description": "If true, the change of ownership language should be included. This is specific to the Commercial Notes and Security Instruments \"Due on Sale or Transfer\" section for California.",
                "nullable": true
              },
              "includeProhibitionChangeBeneficialInterestInd": {
                "type": "boolean",
                "description": "If true, the prohibition on any change in a beneficial interest in the owner language should be included. This is specific to the Commercial Notes and Security Instruments \"Due on Sale or Transfer\" section for California.",
                "nullable": true
              },
              "excludeAppendixFeeInd": {
                "type": "boolean",
                "description": "If true, the lender would like to exclude the Appendix Fee.",
                "nullable": true
              },
              "additionalTermsPromiseToPayDesc": {
                "type": "string",
                "description": "The additional terms, if any, to be included in the Promise to Pay section.",
                "nullable": true
              },
              "orgMailingAddressDifferentInd": {
                "type": "boolean",
                "description": "If true, the organization's mailing address is different from the business address.",
                "nullable": true
              },
              "paCountyRequiresParcelNumberAboveInd": {
                "type": "boolean",
                "description": "If true, the Pennsylvania county requires the Parcel Number above the preparer information for recording.",
                "nullable": true
              },
              "paCountyRequiresParcelNumberBelowInd": {
                "type": "boolean",
                "description": "If true, the Pennsylvania county requires the Parcel Number below the return to information for recording.",
                "nullable": true
              },
              "employeeExemptInd": {
                "type": "boolean",
                "description": "Employee signing is exempt from licensing requirements.",
                "nullable": true
              },
              "lenderExemptInd": {
                "type": "boolean",
                "description": "The loan is made by a Lender who is exempt from licensing.  This path should not be used for Home Equity, Consumer Direct Lending, or Residential Lending (Mortgage 2).",
                "nullable": true
              },
              "lenderIsLoanOriginatorInd": {
                "type": "boolean",
                "description": "If true, the lender is the originator.",
                "nullable": true
              },
              "quarterlyRateChangeDesc": {
                "type": "string",
                "description": "The language used to describe the quarterly rate change.",
                "nullable": true
              },
              "formAlternativePaymentScheduleDisclosureNYCommercialInd": {
                "type": "boolean",
                "description": "If true, (not passed as false), the user would like to include the Alternative Payment Schedule Disclosure-NY in the commercial loan transaction, where Expere's selection conditions otherwise apply. (A lender that has made their own federal preemption determination regarding the New York disclosure requirement may decide to pass this value as false to suppress the document for all transactions.) This is form specific for the AlternativePaymentScheduleDisclosure-NY as used in Commercial transactions.",
                "nullable": true
              },
              "formFederalRegulationOAddendumIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "If true, the lender signature will appear on the Federal Regulation O Addendum. This is form-specific to the Federal Regulation O Addendum.",
                "nullable": true
              },
              "pledgeAgreementUserDefinedBankNoticeDesc": {
                "type": "string",
                "description": "The user defined bank notice provision to be included in the Pledge Agreement in place of the standard language.",
                "nullable": true
              },
              "ezConfigPledgeAgreementUserDefinedBankNoticeInd": {
                "type": "boolean",
                "description": "The user defined bank notice provision to be included in the Pledge Agreement in place of the standard language.",
                "nullable": true
              },
              "orgShortName": {
                "type": "string",
                "description": "The user defined Organization Short Name.",
                "nullable": true
              },
              "privacyNotice": {
                "description": "The user defined PrivacyNotice.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrivacyNotice"
                  }
                ]
              },
              "combinedNoteSecurityAgreementDisclosureInd": {
                "type": "boolean",
                "description": "If true, the promissory note, security agreement, truth-in-lending disclosures/itemization should be combined as one document, when applicable and permitted.",
                "nullable": true
              },
              "createRegulationZDisclosuresInd": {
                "type": "boolean",
                "description": "The lender wants Regulation Z disclosures to be created even if Regulation Z does not apply.",
                "nullable": true
              },
              "creditScoreMultipleUsedDisclosurePolicyOtherDesc": {
                "type": "string",
                "description": "If Lender's policy is 'Other', then describe the Lender's Credit Score policy that was used and will be disclosed when multiple credit scores were used in the credit decision.",
                "nullable": true
              },
              "creditScoreMultipleUsedDisclosurePolicyType": {
                "description": "Select Lender's policy for which Credit Score was used and will be disclosed when multiple credit scores were used in the credit decision.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditScoreMultipleUsedDisclosurePolicyType"
                  }
                ]
              },
              "electronicFilingIdentifier": {
                "type": "string",
                "description": "The Financial Institution's Electronic Identifier for filing Titles and Liens electronically.",
                "nullable": true
              },
              "federalRegulationOInd": {
                "type": "boolean",
                "description": "If true, the lender has identified that the transaction is subject to federal Regulation O. This is specific to the Federal Regulation O Addendum.",
                "nullable": true
              },
              "formArbitrationAgreementDistrictOfColumbiaArbitratorAndHearingRoomFeeAmountDesc": {
                "type": "string",
                "description": "This describes the average daily cost for an arbitrator and hearing room. Form specific for the Arbitration Agreement District of Columbia.",
                "nullable": true
              },
              "formArbitrationAgreementDistrictOfColumbiaCostAllocationAmountDesc": {
                "type": "string",
                "description": "The proportion of any costs or fees which each person will bear for the arbitration. Form specific for the Arbitration Agreement District of Columbia.",
                "nullable": true
              },
              "formArbitrationAgreementDistrictOfColumbiaFilingFeeAmountDesc": {
                "type": "string",
                "description": "This describes the filing fee amount for the arbitration. Form specific for the Arbitration Agreement District of Columbia.",
                "nullable": true
              },
              "formArbitrationAgreementDistrictOfColumbiaOtherFeeAmountDesc": {
                "type": "string",
                "description": "This is a description of other charges that the arbitrator or arbitration organization will assess. Form specific for the Arbitration Agreement District of Columbia.",
                "nullable": true
              },
              "formArbitrationAgreementUserDefinedTransactionsDesc": {
                "type": "string",
                "description": "The user defined description of the transactions covered by the Arbitration Agreement.",
                "nullable": true
              },
              "arbitrationFeesAdvancedAmount": {
                "type": "number",
                "description": "The maximum amount of fees advanced for certain services. Specific to the Arbitration Agreement.",
                "format": "decimal",
                "nullable": true
              },
              "formSpousalConsentWIInd": {
                "type": "boolean",
                "description": "If true, include the Wisconsin Spousal Consent in the transaction. This is form specific to the Spousal Consent WI.",
                "nullable": true
              },
              "formWaiverOfClassActionRightsUTInd": {
                "type": "boolean",
                "description": "Select if the user wants the Waiver of Class Action Rights-UT.",
                "nullable": true
              },
              "includeRateIndexInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the rate index in the Date and Parties Summary section. Deprecated for new ConsumerExpere202602 use; use the first loan phase's RateInfo.IncludeRateIndexInDateAndPartiesSummaryInd when enabled. Retained for flag-off behavior and compatibility; values are not copied.",
                "nullable": true
              },
              "includeResponsiblePartyInitialsInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the responsible party initials in the Date and Party Summary section.",
                "nullable": true
              },
              "includeTransactionAccountInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the transaction account in the Date and Party Summary section.",
                "nullable": true
              },
              "insuranceCreditDisabilityTruncatedInd": {
                "type": "boolean",
                "description": "If true, the credit disability insurance is truncated.",
                "nullable": true
              },
              "insuranceCreditLifeOtherTruncatedInd": {
                "type": "boolean",
                "description": "If true, the credit life insurance is truncated.",
                "nullable": true
              },
              "insuranceCreditOtherTruncatedInd": {
                "type": "boolean",
                "description": "If true, the other credit insurance is truncated.",
                "nullable": true
              },
              "insuranceProductSoldByFinancialInstitution": {
                "type": "string",
                "description": "List of the insurance product(s) being purchased by the borrower or account holder and being sold by the Financial Institution.",
                "nullable": true
              },
              "lenderNumber": {
                "type": "string",
                "description": "The lender's identifying number.",
                "nullable": true
              },
              "lockInIncludesInterestRateInd": {
                "type": "boolean",
                "description": "If true lender permits the interest rate to be locked-in",
                "nullable": true
              },
              "noteConsumerIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "If true, there will be a lender signature on the note or credit agreement used for a consumer transaction.",
                "nullable": true
              },
              "orgBranchIdentifier": {
                "type": "string",
                "description": "A value or code denoting the branch office or location of a financial institution. This identifier value is different than the branch office or location name.  The branch identifier is often the loan origination system's (LOS) internal database or table identifier.",
                "nullable": true
              },
              "orgContactTitle": {
                "type": "string",
                "description": "This item is used to specify a contact name title for the financial organization.",
                "nullable": true
              },
              "orgCounty": {
                "type": "string",
                "description": "The financial organization's county.",
                "nullable": true
              },
              "orgElectronicLienTitlingProgramIDNumber": {
                "type": "string",
                "description": "The organization's electronic lien and titling program identification number.",
                "nullable": true
              },
              "orgEmailAddress": {
                "type": "string",
                "description": "The electronic mail address of the lender.",
                "nullable": true
              },
              "orgFEID": {
                "type": "string",
                "description": "The secured party's FEID number.",
                "nullable": true
              },
              "orgMailingAddressCity": {
                "type": "string",
                "description": "Secured Party's Mailing City if different than Main city.",
                "nullable": true
              },
              "orgMailingAddressPostalCode": {
                "type": "string",
                "description": "Secured Party's Mailing Postal Code if different than Main postal code.",
                "nullable": true
              },
              "orgMailingAddressState": {
                "description": "Secured Party's Mailing State if different than Main state.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EstablishedState"
                  }
                ]
              },
              "orgMailingAddressStreetAddress1": {
                "type": "string",
                "description": "Secured Party's Mailing Street Address 1 if different than Main address.",
                "nullable": true
              },
              "orgMailingAddressStreetAddress2": {
                "type": "string",
                "description": "Secured Party's Mailing Street Address 2 if different than Main address.",
                "nullable": true
              },
              "orgNewAddressInd": {
                "type": "boolean",
                "description": "If true, the lender has a new address.",
                "nullable": true
              },
              "orgNewFaxNumberInd": {
                "type": "boolean",
                "description": "If true, the lender has a new fax number.",
                "nullable": true
              },
              "orgNewPhoneNumberInd": {
                "type": "boolean",
                "description": "If true, the lender has a new phone number.",
                "nullable": true
              },
              "orgRoutingNumber": {
                "type": "integer",
                "description": "The ABA Routing number for the financial institution.",
                "format": "int32",
                "nullable": true
              },
              "orgSpecificUseNotRecordedOnCAFInd": {
                "type": "boolean",
                "description": "If true, the authorization is for a specific use not indicated in the lender's Centralized Authorization File (CAF).",
                "nullable": true
              },
              "orgStateLicenseNumber": {
                "type": "string",
                "description": "The state license number of the lender.",
                "nullable": true
              },
              "orgToBeSentNoticesAndCommunicationsInd": {
                "type": "boolean",
                "description": "If true, the lender is to be sent copies of notices and communications.",
                "nullable": true
              },
              "paymentHolidayExceptionInd": {
                "type": "boolean",
                "description": "If true, any payment falling due on a holiday or a day that is a non-business day will be due on the next business day.",
                "nullable": true
              },
              "regZThresholdAmount": {
                "type": "number",
                "description": "The threshold amount for consumer transactions subject to Regulation Z that is adjusted on January 1 of each year by any annual percentage increase in the Consumer Price Index for Urban Wage Earners and Clerical Workers (CPI-W).",
                "format": "decimal",
                "nullable": true
              },
              "securityAgreementConsumerIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "If true there will be a lender signature on this document.",
                "nullable": true
              },
              "securityDocumentListInd": {
                "type": "boolean",
                "description": "If true, any document allowing an Expere-generated list of security documents will print the Expere-generated list (e.g., instead of any alternative, user-provided text string description that may otherwise apply). Documents that allow this option include the loan information report, certain non-agency closed-end consumer notes and open-end credit agreements, and the West Virginia Closing Statement document.",
                "nullable": true
              },
              "separateArbitrationAgreementInd": {
                "type": "boolean",
                "description": "If true a separate arbitration agreement should be included in the transaction.",
                "nullable": true
              },
              "texasHomeEquityInd": {
                "type": "boolean",
                "description": "If true the loan is a home equity loan as defined by the Texas constitution.",
                "nullable": true
              },
              "wisconsinSpousalNoticeWaiverInd": {
                "type": "boolean",
                "description": "If true the lender wants 'nonapplicant' spouses of borrowers and cosigners to waive in the Wisconsin Consumer Act consumer note their right to receive the Wisconsin spousal notice.",
                "nullable": true
              },
              "creditBureau": {
                "type": "array",
                "description": "List of credit bureaus.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditBureaus"
                }
              },
              "regulator": {
                "type": "array",
                "description": "List of regulators.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Regulator"
                }
              },
              "note": {
                "description": "Policy note settings.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PolicyNote"
                  }
                ]
              },
              "responsibleParty": {
                "description": "Responsible party information.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ResponsibleParty"
                  }
                ]
              },
              "abateBorrowingBaseCertificateRequiredInd": {
                "type": "boolean",
                "description": "Indicates whether abate borrowing base certificate is required.",
                "nullable": true
              },
              "borrowingBaseCertificateDetailedAccountsInd": {
                "type": "boolean",
                "description": "Indicates whether borrowing base certificate detailed accounts are required.",
                "nullable": true
              },
              "executionState": {
                "description": "The state where the documents are executed.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "executionCity": {
                "type": "string",
                "description": "The city where the documents are executed.",
                "nullable": true
              },
              "executionCounty": {
                "type": "string",
                "description": "The county where the documents are executed.",
                "nullable": true
              },
              "formConstructionCertificateOfCompletionIncludeBorrowerSignatureInd": {
                "type": "boolean",
                "description": "Indicates whether the construction certificate of completion should include borrower signature.",
                "nullable": true
              },
              "formConstructionNoticeNEIncludeSignatureSectionInd": {
                "type": "boolean",
                "description": "Indicates whether the construction notice NE should include signature section.",
                "nullable": true
              },
              "documentDeadlineReturnDaysCount": {
                "type": "integer",
                "description": "The number of days for document deadline return.",
                "format": "int32",
                "nullable": true
              },
              "formAffidavitSection22NewYorkInd": {
                "type": "boolean",
                "description": "Indicates whether the affidavit section 22 for New York should be included.",
                "nullable": true
              },
              "formNoticeOfLendingNewYorkInd": {
                "type": "boolean",
                "description": "Indicates whether the form notice of lending for New York should be included",
                "nullable": true
              },
              "formLienLawRiderToBuildingLoanContractNYAgreementDesc": {
                "type": "string",
                "description": "The description for the lien law rider to building loan contract NY agreement.",
                "nullable": true
              },
              "formSecondaryMortgageCommercialLoanDisclosureMDInd": {
                "type": "boolean",
                "description": "The custom defined subsidiaries exception language.",
                "nullable": true
              },
              "copyOfAppraisalInd": {
                "type": "boolean",
                "description": "If true, the borrower has the right to receive a copy of the appraisal.",
                "nullable": true
              },
              "includeAcknowledgmentInTenantEstoppelLetterInd": {
                "type": "boolean",
                "description": "If true, a notary acknowledgment should be included in the Tenant Estoppel Certificate.",
                "nullable": true
              },
              "suppressSignaturesReceiveAppraisalNoticeInd": {
                "type": "boolean",
                "description": "Suppress signatures on notice to receive copy of appraisal.",
                "nullable": true
              },
              "formPublicNoticeRegardingForeclosureHIExcludeSignaturesInd": {
                "type": "boolean",
                "description": "If true, the signature section should be excluded. This is form specific to the Public Notice Regarding Foreclosure-HI.",
                "nullable": true
              },
              "possessionOfAbstractNoticeInd": {
                "type": "boolean",
                "description": "If true, Lender wishes to provide a Possession of Abstract Notice.",
                "nullable": true
              },
              "excludeControllableElectronicRecordsProvisionInd": {
                "type": "boolean",
                "description": "If true, the lender opts to exclude the provision in the applicable security document whereby the collateral owner expressly agrees not to create any \"controllable electronic records\" (as defined by UCC Article 12) without the lender's consent. (The provision otherwise prints automatically in a security document that is taking a security interest in any \"accounts\" or \"general intangibles\" collateral, as those terms are defined by UCC Article 9.)",
                "nullable": true
              },
              "formDisclosureOfThirdPartyNoticeOfDefaultSaleCAIncludeOwnerSignatureInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the owner's signature on the form.",
                "nullable": true
              },
              "formAppraisalDiscriminationNoticeCAIncludeBorrowerSignatureInd": {
                "type": "boolean",
                "description": "If true, the borrower signature block will be included on the Appraisal Discrimination Notice-CA.",
                "nullable": true
              },
              "letterheadInd": {
                "type": "boolean",
                "description": "The customer would like to use their own pre-printed letterhead.",
                "nullable": true
              },
              "interimInterestPaymentDisclosureCAInd": {
                "type": "boolean",
                "description": "If true the institution wants an Interim Interest Payment Disclosure for the transaction.",
                "nullable": true
              },
              "formLienLawRiderToBuildingLoanContractNYInd": {
                "type": "boolean",
                "description": "There is a New York building loan contract without required property improvement trust fund language.",
                "nullable": true
              },
              "formSpousalNoticeWIInd": {
                "type": "boolean",
                "description": "If true, include the Wisconsin Spousal Notice in the transaction.",
                "nullable": true
              },
              "loanInformationReportInd": {
                "type": "boolean",
                "description": "Indicates if a loan information report is included.",
                "nullable": true
              },
              "requestForAdvanceFormInd": {
                "type": "boolean",
                "description": "Flags whether a request for advance form is present.",
                "nullable": true
              },
              "noticeOfNegativeInformationPreSharingInd": {
                "type": "boolean",
                "description": "Indicates if a pre-sharing notice of negative information is provided.",
                "nullable": true
              },
              "noteInsteadOfLoanModificationAgreementInd": {
                "type": "boolean",
                "description": "Specifies if a note replaces a loan modification agreement.",
                "nullable": true
              },
              "formBalloonPaymentMortgageDisclosureNotUsedInd": {
                "type": "boolean",
                "description": "Indicates that the balloon payment disclosure form is not used.",
                "nullable": true
              },
              "formErrorsAndOmissionsAgreementInd": {
                "type": "boolean",
                "description": "Flags inclusion of an errors and omissions agreement form.",
                "nullable": true
              },
              "certificationOfNameAndAddressInd": {
                "type": "boolean",
                "description": "Indicates if name and address certification is included.",
                "nullable": true
              },
              "applicationSummaryReportInd": {
                "type": "boolean",
                "description": "Shows if an application summary report is present.",
                "nullable": true
              },
              "includeSoleProprietorshipTrusteesWhenRiskBasedPricingAppliesInd": {
                "type": "boolean",
                "description": "Indicates inclusion of sole proprietorship trustees under risk-based pricing.",
                "nullable": true
              },
              "includeLivingTrustTrusteesWhenRiskBasedPricingAppliesInd": {
                "type": "boolean",
                "description": "Indicates inclusion of living trust trustees under risk-based pricing.",
                "nullable": true
              },
              "formAlternativePaymentScheduleDisclosureNYInd": {
                "type": "boolean",
                "description": "Flags alternative payment schedule disclosure for New York.",
                "nullable": true
              },
              "formTexasPledgeOfMultiplePartyAccountNoticeInd": {
                "type": "boolean",
                "description": "Indicates Texas pledge notice for multiple-party accounts.",
                "nullable": true
              },
              "formTangibleNetBenefitWorksheetRIInd": {
                "type": "boolean",
                "description": "Shows tangible net benefit worksheet for Rhode Island.",
                "nullable": true
              },
              "loanExtensionAgreementIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Indicates lender signature on loan extension agreement.",
                "nullable": true
              },
              "guarantyConsumerIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Flags lender signature on consumer guaranty.",
                "nullable": true
              },
              "formReleasePartyIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Indicates lender signature on release party form.",
                "nullable": true
              },
              "formHMDADemographicInformationIncludeSignatureInd": {
                "type": "boolean",
                "description": "Shows signature on HMDA demographic information form.",
                "nullable": true
              },
              "assignmentOfLifeInsurancePolicyIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Indicates lender signature on life insurance assignment.",
                "nullable": true
              },
              "assignmentOfDepositOrShareAccountIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Flags lender signature on deposit/share account assignment.",
                "nullable": true
              },
              "formDisbursementAuthorizationIncludeLenderSignatureInd": {
                "type": "boolean",
                "description": "Indicates lender signature on disbursement authorization.",
                "nullable": true
              },
              "governmentMonitoringInd": {
                "type": "boolean",
                "description": "Indicates government monitoring requirements.",
                "nullable": true
              },
              "noticeOfActionTakenSecondCreditorName": {
                "type": "string",
                "description": "Name of second creditor in action notice.",
                "nullable": true
              },
              "noticeOfActionTakenSecondCreditorAddress": {
                "type": "string",
                "description": "Address of second creditor.",
                "nullable": true
              },
              "noticeOfActionTakenMultipleCreditorsInd": {
                "type": "boolean",
                "description": "Indicates multiple creditors involved.",
                "nullable": true
              },
              "noticeOfActionTakenFirstCreditorName": {
                "type": "string",
                "description": "Name of first creditor in action notice.",
                "nullable": true
              },
              "noticeOfActionTakenFirstCreditorAddress": {
                "type": "string",
                "description": "Address of first creditor.",
                "nullable": true
              },
              "cfpbRequiredInd": {
                "type": "boolean",
                "description": "Flags if CFPB compliance is required.",
                "nullable": true
              },
              "loanDecisionDenialUsedProprietaryCreditScoreSystemNumericalValuesBasedOnDesc": {
                "type": "string",
                "description": "Description of numerical values used in proprietary credit score system for denial.",
                "nullable": true
              },
              "loanDecisionDenialUsedProprietaryCreditScoreSystemInd": {
                "type": "boolean",
                "description": "Indicates use of proprietary credit score system in denial.",
                "nullable": true
              },
              "loanDecisionDenialLetterStyleInd": {
                "type": "boolean",
                "description": "Flags style of denial letter.",
                "nullable": true
              },
              "lenderOrAffiliatesEarnCommissionsInd": {
                "type": "boolean",
                "description": "Indicates if lender or affiliates earn commissions.",
                "nullable": true
              },
              "borrowerMayHaveDepositAccountsWithLenderInd": {
                "type": "boolean",
                "description": "Shows if borrower may have deposit accounts with lender.",
                "nullable": true
              },
              "formRescissionIncludeConfirmationInd": {
                "type": "boolean",
                "description": "Indicates rescission form includes confirmation.",
                "nullable": true
              },
              "includeTILDisclosureOpenEndInd": {
                "type": "boolean",
                "description": "Flags inclusion of Truth-in-Lending disclosure for open-end credit.",
                "nullable": true
              },
              "overLimitCoverageWebsiteInd": {
                "type": "boolean",
                "description": "Indicates website option for over-limit coverage.",
                "nullable": true
              },
              "overLimitCoverageCompleteElectionInd": {
                "type": "boolean",
                "description": "Flags complete election for over-limit coverage.",
                "nullable": true
              },
              "overLimitCoverageCallInd": {
                "type": "boolean",
                "description": "Indicates call option for over-limit coverage.",
                "nullable": true
              },
              "hudCounselingAgenciesWebAddress": {
                "type": "string",
                "description": "Web address for HUD counseling agencies.",
                "nullable": true
              },
              "hudCounselingAgenciesTelephoneNumber": {
                "type": "string",
                "description": "Phone number for HUD counseling agencies.",
                "nullable": true
              },
              "homeOwnershipCounselingType": {
                "type": "string",
                "description": "Type of homeownership counseling.",
                "nullable": true
              },
              "cfpbStateHousingFinanceAgenciesWebAddress": {
                "type": "string",
                "description": "Web address for state housing finance agencies.",
                "nullable": true
              },
              "cfpbHomeownershipCounselorsWebAddress": {
                "type": "string",
                "description": "Web address for homeownership counselors.",
                "nullable": true
              },
              "caSpanishContractDocumentsInd": {
                "type": "boolean",
                "description": "Flags Spanish contract documents for California.",
                "nullable": true
              },
              "orgWebAddress": {
                "type": "string",
                "description": "The Lender web address.",
                "nullable": true
              },
              "responsiblePartyUserLicenseIdentifier": {
                "type": "string",
                "description": "Loan Contact State License ID #.",
                "nullable": true
              },
              "taxForm": {
                "type": "array",
                "description": "Tax form information for the loan file policy.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TaxForm"
                }
              },
              "otherDocumentTaxForm": {
                "description": "Tax form information for the loan file policy.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OtherDocumentTaxForm"
                  }
                ]
              },
              "fdicRequiredInd": {
                "type": "boolean",
                "description": "If true, the Division of Depositor and Consumer Protection, National Center for Consumer and Depositor Assistance, Federal Deposit Insurance Corporation name and address will be included in the ECOA notice section of the Adverse Action Notice. Formerly referred to as FDIC.",
                "nullable": true
              },
              "federalReserveRequiredInd": {
                "type": "boolean",
                "description": "If true, the Federal Reserve Consumer Help Center name and address will be included in the ECOA notice section of the Adverse Action Notice.",
                "nullable": true
              },
              "ncuaRequiredInd": {
                "type": "boolean",
                "description": "If true, the Office of Consumer Financial Protection name and address will be included in the ECOA notice section of the Adverse Action Notice. Formerly referred to as NCUA.",
                "nullable": true
              },
              "officeOfComptrollerOfCurrencyRequiredInd": {
                "type": "boolean",
                "description": "If true, the Office of the Comptroller of the Currency name and address will be included in the ECOA notice section of the Adverse Action Notice.",
                "nullable": true
              },
              "includeAuthorityInd": {
                "type": "boolean",
                "description": "If true, the Authority document for the parties should be referenced in the Closing Agenda.",
                "nullable": true
              },
              "includeBylawsInd": {
                "type": "boolean",
                "description": "If true, the bylaws should be referenced in the Closing Agenda.",
                "nullable": true
              },
              "includeCertificateOfGoodStandingInd": {
                "type": "boolean",
                "description": "If true, the Certificate of Good Standing or similar certificates should be referenced in the Closing Agenda.",
                "nullable": true
              },
              "includeTrustAgreementsInd": {
                "type": "boolean",
                "description": "The organization documents for trusts are to be included on the closing agenda.",
                "nullable": true
              },
              "opinionOfCounselRequiredInd": {
                "type": "boolean",
                "description": "If true, an opinion of counsel is required.",
                "nullable": true
              },
              "optionalBoldingInd": {
                "type": "boolean",
                "description": "The user has opted to bold any Expere-created items on the Closing Agenda.",
                "nullable": true
              },
              "excludeMassachusettsSmallBusinessReviewLetterInd": {
                "type": "boolean",
                "description": "If true, the Massachusetts Small Business Loan Review Board Notice is not required. This notice instructs the applicant of the right to appeal the denial to the appropriate Small Business Loan Review Board. The regional Small Business Loan Review Boards provide an independent review option for small businesses that were denied an extension of credit. For the purpose of the reviews conducted by the Small Business Loan Review Boards, a \"small business\" is defined as a business that had gross revenues of $1,000,000.00 or less in its preceding fiscal year. The document should not be provided when the  loan purpose is the acquisition or refinancing of commercial real estate or investment properties.",
                "nullable": true
              },
              "loanDecisionDenialWithRightToRequestSpecificReasonsInd": {
                "type": "boolean",
                "description": "If true, the lender wants to provide the Denial Notice of Action Taken with Right to Request Specific Reasons without initially disclosing specific reasons.",
                "nullable": true
              },
              "loanDecisionQuestionsContactEmailAddress": {
                "type": "string",
                "description": "The email address to contact for questions regarding the loan decision.",
                "nullable": true
              },
              "loanDecisionRequestQuestionsContactName": {
                "type": "string",
                "description": "The name of department or person to contact for questions regarding the loan decision.",
                "nullable": true
              },
              "noticeOfActionDCHealthEmergencyFinancialHardshipInd": {
                "type": "boolean",
                "description": "If true; Lender wishes to include the DC Public Health Emergency Credit Alert Amendment Act Notice (i.e., lender/servicer denied the credit request due to a credit report item(s) that occurred during a DC-declared public health emergency).",
                "nullable": true
              },
              "titleInsuranceCompanyAffiliateInd": {
                "type": "boolean",
                "description": "If true the title insurance company is an affiliate of the lender.",
                "nullable": true
              },
              "fhlbPledgeProvisionInd": {
                "type": "boolean",
                "description": "If true, the lender is a member of the Federal Home Loan Bank (FHLB) system, and: (a) the loan qualifies for and will be treated as an electronically-documented transaction in the district the lender has membership in, and (b) the note/credit agreement should therefore print any supported district-specific provisions for such, which may include special terms describing the digital note, electronic nature of the collateral, or future implications as to the treatment of the electronically-documented transaction. This option is available only to organizations elsewhere identified as FHLB members for supported districts for which such provisions have been published. The lender must enforce appropriateness of use according to district-specific rules as they may change from time to time, as the content will not do so. For example, the requirements initially published for the Des Moines district members limited appropriate use to certain commercial, multi-family, agricultural, or home equity lines of credit (excluding first mortgages and amortized second mortgages already subject to different rules, but those rules are subject to change and can be expected to differ from other district requirements.",
                "nullable": true
              },
              "orgFHLBMemberDistrictType": {
                "description": "For a depository institution lender that is a member of the Federal Home Loan Bank (FHLB) system, the district in which the lender is a member. For other non-member lenders, a blank value or 'Not a Member' would apply. Failing to pass this information for the lender will generally have very limited impact on content, as this information is used for very limited purposes. For example, the district value controls the availability of additional content defining digitally/electronically-documented transaction terms specific to FHLB conditions and requirements.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrgFhlbMemberDistrictType"
                  }
                ]
              },
              "formNoticeOfCommencementInd": {
                "type": "boolean",
                "description": "If true, the lender wants to select the Notice of Commencement form.",
                "nullable": true
              },
              "formAgreementToProvideInsuranceIncludeLenderSignatureInd": {
                "type": "boolean",
                "nullable": true
              },
              "deliveryOfNoticeUserDefinedDesc": {
                "type": "string",
                "description": "Optional additional statement added to the Delivery of Notice section on multiple documents.",
                "nullable": true
              },
              "exampleRateIncrease": {
                "type": "number",
                "description": "Identifies the rate increase to be used in the example calculation for rate changes.",
                "format": "decimal",
                "nullable": true
              },
              "includePostOriginationFeesOnNoteConsumerInd": {
                "type": "boolean",
                "description": "If true, most post-origination fees are included on the Note.",
                "nullable": true
              },
              "minimumPaymentIncludesFeesAndPastDueAmountsInd": {
                "type": "boolean",
                "description": "If true, the minimum payment includes fees and past due amounts.",
                "nullable": true
              },
              "useFundingDateInd": {
                "type": "boolean",
                "description": "If true, interest accrues beginning on the funding date.",
                "nullable": true
              },
              "ratesAllowIntCarryoverInd": {
                "type": "boolean",
                "description": "If true, rate changes limited by a cap carry over to the next period.",
                "nullable": true
              },
              "historicalIndexTableYears": {
                "type": "integer",
                "description": "Number of years used to populate the New York variable rate disclosure historical index table.",
                "format": "int32",
                "nullable": true
              },
              "formVariableRateDisclosureNewYorkOpenEndPaymentExampleAmount": {
                "type": "number",
                "description": "Example amount for the New York open end variable rate disclosure.",
                "format": "decimal",
                "nullable": true
              },
              "formVariableRateDisclosureNewYorkOpenEndPaymentExampleAPRPlus1Amount": {
                "type": "number",
                "description": "Example amount at the APR plus 1 percent for the New York open end variable rate disclosure.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "BenchmarkReplacementCDRateIndexPeriodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SixMonth",
          "OneYear",
          "EighteenMonth",
          "TwoYear",
          "ThreeYear",
          "FourYear",
          "FiveYear",
          "Other"
        ],
        "x-enum-descriptions": [
          "6 Month",
          "1 Year",
          "18 Month",
          "2 Year",
          "3 Year",
          "4 Year",
          "5 Year",
          "Other"
        ],
        "enum": [
          "SixMonth",
          "OneYear",
          "EighteenMonth",
          "TwoYear",
          "ThreeYear",
          "FourYear",
          "FiveYear",
          "Other"
        ]
      },
      "BenchmarkReplacementCommercialIndexType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AlternateBaseRate",
          "BanksBaseRate",
          "BanksCDRate",
          "BanksCostOfFunds",
          "BanksPrimeRate",
          "FHLBRate",
          "TreasuryIndex",
          "UserDefined",
          "WallStreetJournalPrimeRate"
        ],
        "x-enum-descriptions": [
          "Alternate Base Rate",
          "Bank's Base Rate",
          "Bank's CD Rate",
          "Bank's Cost Of Funds",
          "Bank's Prime Rate",
          "FHLB Rate",
          "Treasury Index",
          "User Defined",
          "Wall Street Journal Prime Rate"
        ],
        "enum": [
          "AlternateBaseRate",
          "BanksBaseRate",
          "BanksCDRate",
          "BanksCostOfFunds",
          "BanksPrimeRate",
          "FHLBRate",
          "TreasuryIndex",
          "UserDefined",
          "WallStreetJournalPrimeRate"
        ]
      },
      "BenchmarkReplacementTreasuryIndexPeriodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SixMonth",
          "OneYear",
          "TwoYear",
          "ThreeYear",
          "FiveYear",
          "TenYear",
          "FifteenYear",
          "TwentyYear",
          "ThirtyYear",
          "Other"
        ],
        "x-enum-descriptions": [
          "6 Month",
          "1 Year",
          "2 Year",
          "3 Year",
          "5 Year",
          "10 Year",
          "15 Year",
          "20 Year",
          "30 Year",
          "Other"
        ],
        "enum": [
          "SixMonth",
          "OneYear",
          "TwoYear",
          "ThreeYear",
          "FiveYear",
          "TenYear",
          "FifteenYear",
          "TwentyYear",
          "ThirtyYear",
          "Other"
        ]
      },
      "DefaultIncludeGracePeriodsType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Yes",
          "No",
          "YesForNonMonetaryDefaultsOnly",
          "YesForMonetaryDefaultsOnly"
        ],
        "x-enum-descriptions": [
          "Yes",
          "No",
          "Yes For Non-Monetary Defaults Only",
          "Yes For Monetary Defaults Only"
        ],
        "enum": [
          "Yes",
          "No",
          "YesForNonMonetaryDefaultsOnly",
          "YesForMonetaryDefaultsOnly"
        ]
      },
      "DefaultOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Standard",
          "StandardInPromissoryNotesOnly",
          "StandardInLoanAgreementsOnly"
        ],
        "x-enum-descriptions": [
          "Standard",
          "Standard In Promissory Notes Only",
          "Standard In Loan Agreements Only"
        ],
        "enum": [
          "Standard",
          "StandardInPromissoryNotesOnly",
          "StandardInLoanAgreementsOnly"
        ]
      },
      "EffectOfBenchmarkTransitionEventRiderType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Hardwired",
          "Amendment",
          "HedgedLoan"
        ],
        "x-enum-descriptions": [
          "Hardwired",
          "Amendment",
          "Hedged Loan"
        ],
        "enum": [
          "Hardwired",
          "Amendment",
          "HedgedLoan"
        ]
      },
      "HighVelocityCommercialRealEstateLanguageType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DefaultLanguage",
          "UserDefined"
        ],
        "x-enum-descriptions": [
          "Default Language",
          "User-Defined"
        ],
        "enum": [
          "DefaultLanguage",
          "UserDefined"
        ]
      },
      "InstitutionTransferPolicyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "TheInstitutionOnlyPermitsTransfersWithTheInstitutionsWrittenConsent",
          "TheInstitutionOnlyPermitsTransfersThatDoNotResultInAChangeInControlWithoutTheInstitutionsWrittenConsent"
        ],
        "x-enum-descriptions": [
          "The Institution Only Permits Transfers With The Institution's Written Consent",
          "The Institution Only Permits Transfers That Do Not Result In A Change In Control Without The Institution's Written Consent"
        ],
        "enum": [
          "TheInstitutionOnlyPermitsTransfersWithTheInstitutionsWrittenConsent",
          "TheInstitutionOnlyPermitsTransfersThatDoNotResultInAChangeInControlWithoutTheInstitutionsWrittenConsent"
        ]
      },
      "LoanAgreementRepresentationExceptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AsListedOnSchedule",
          "PreviouslyConsentedToInWriting",
          "InstitutionDefined"
        ],
        "x-enum-descriptions": [
          "As Listed On Schedule",
          "Previously Consented To In Writing",
          "Institution Defined"
        ],
        "enum": [
          "AsListedOnSchedule",
          "PreviouslyConsentedToInWriting",
          "InstitutionDefined"
        ]
      },
      "PaymentsAppliedOrderType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CostsInterestPrincipalEscrows",
          "InterestPrincipalCostsEscrows",
          "Other"
        ],
        "x-enum-descriptions": [
          "Costs, Interest, Principal, Escrows",
          "Interest, Principal, Costs, Escrows",
          "Other"
        ],
        "enum": [
          "CostsInterestPrincipalEscrows",
          "InterestPrincipalCostsEscrows",
          "Other"
        ]
      },
      "PrepaymentOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PrepayAtAnyTime",
          "Include30DayWrittenNotice"
        ],
        "x-enum-descriptions": [
          "Prepay At Any Time",
          "Include 30-Day Written Notice"
        ],
        "enum": [
          "PrepayAtAnyTime",
          "Include30DayWrittenNotice"
        ]
      },
      "WitnessLines": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "One",
          "Two"
        ],
        "x-enum-descriptions": [
          "None",
          "One",
          "Two"
        ],
        "enum": [
          "None",
          "One",
          "Two"
        ]
      },
      "BenchmarkReplacementFhlbIndexPeriodType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SixMonth",
          "OneYear",
          "TwoYear",
          "ThreeYear",
          "FiveYear",
          "SevenYear",
          "TenYear",
          "FifteenYear",
          "TwentyYear",
          "ThirtyYear",
          "Other"
        ],
        "x-enum-descriptions": [
          "6 Month",
          "1 Year",
          "2 Year",
          "3 Year",
          "5 Year",
          "7 Year",
          "10 Year",
          "15 Year",
          "20 Year",
          "30 Year",
          "Other"
        ],
        "enum": [
          "SixMonth",
          "OneYear",
          "TwoYear",
          "ThreeYear",
          "FiveYear",
          "SevenYear",
          "TenYear",
          "FifteenYear",
          "TwentyYear",
          "ThirtyYear",
          "Other"
        ]
      },
      "PrivacyNotice": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "acknowledgmentOfReceiptInd": {
                "type": "boolean",
                "description": "Acknowledgment Of Receipt Indicator.",
                "nullable": true
              },
              "affiliateInd": {
                "type": "boolean",
                "description": "Affiliate Indicator.",
                "nullable": true
              },
              "affiliateSharesCommonCorporateIdentityDesc": {
                "type": "string",
                "description": "Affiliate Shares Common CorporateIdentity Description",
                "nullable": true
              },
              "affiliateSharesFinancialCompaniesDesc": {
                "type": "string",
                "description": "Affiliate Shares Financial Companies Description.",
                "nullable": true
              },
              "affiliateSharesNonFinancialCompaniesDesc": {
                "type": "string",
                "description": "Affiliate Shares Non Financial Companies Description.",
                "nullable": true
              },
              "affiliateSharesOtherCompaniesDesc": {
                "type": "string",
                "description": "Affiliate Shares Other Companies Desc.",
                "nullable": true
              },
              "collectsPersonalInformationFromCreditBureausAffiliatesInd": {
                "type": "boolean",
                "description": "Collects Personal Information From Credit Bureaus Affiliates Indicator.",
                "nullable": true
              },
              "collectsPersonalInformationFromOtherCompaniesInd": {
                "type": "boolean",
                "description": "Collects Personal Information From Other Companies Indicator.",
                "nullable": true
              },
              "customerInformationSharingMinimumDaysNumber": {
                "type": "integer",
                "description": "Customer Information Sharing Minimum Days Number.",
                "format": "int32",
                "nullable": true
              },
              "doesNotShareWithAffiliatesInd": {
                "type": "boolean",
                "description": "Does Not Share With Affiliates Ind.",
                "nullable": true
              },
              "forOurAffiliatesToMarketToYouInd": {
                "type": "boolean",
                "description": "For Our Affiliates To Market To You Indicator.",
                "nullable": true
              },
              "includeOnlinePrivacyPolicyInd": {
                "type": "boolean",
                "description": "Include Online Privacy Policy Ind",
                "nullable": true
              },
              "includeStatePrivacyNoticeInd": {
                "type": "boolean",
                "description": "Include State Privacy Notice Indicator",
                "nullable": true
              },
              "orgJurisdictionsDesc": {
                "type": "array",
                "description": "The jurisdictions in which the institution operates.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StateAbbr"
                }
              },
              "privacyNoticeInd": {
                "type": "boolean",
                "description": "Privacy Notice Indicator.",
                "nullable": true
              },
              "jointAccountOptOutSeperateInd": {
                "type": "boolean",
                "description": "Joint Account OptOut Seperate Indicator.",
                "nullable": true
              },
              "limitShareAffiliateTransactionExperienceInd": {
                "type": "boolean",
                "description": "Limit Share Affiliate Transaction Experience Indicator.",
                "nullable": true
              },
              "noticeLimitShareJointMarketingInd": {
                "type": "boolean",
                "description": "Notice Limit Share Joint Marketing Indicator.",
                "nullable": true
              },
              "limitShareMarketingInd": {
                "type": "boolean",
                "description": "Limit Share Marketing Indicator.",
                "nullable": true
              },
              "mailInOptOutAccountNumberInd": {
                "type": "boolean",
                "description": "Mail InOptOut AccountNumber Indicator.",
                "nullable": true
              },
              "mailInOptOutNotSeperatePageInd": {
                "type": "boolean",
                "description": "Mail InOptOut Not Seperate Page Indicator",
                "nullable": true
              },
              "nameType": {
                "type": "string",
                "description": "Name Type.",
                "nullable": true
              },
              "groupUserDefinedDesc": {
                "type": "string",
                "description": "Group User Defined Description.",
                "nullable": true
              },
              "groupName": {
                "type": "string",
                "description": "Group Name.",
                "nullable": true
              },
              "groupShortName": {
                "type": "string",
                "description": "Group Short Name.",
                "nullable": true
              },
              "groupCompanyMoreThanFourInd": {
                "type": "boolean",
                "description": "Group Company More Than Four Indicator.",
                "nullable": true
              },
              "groupCompanyDesc": {
                "type": "string",
                "description": "Group Company Description.",
                "nullable": true
              },
              "onlinePrivacyPolicyWebsiteDesc": {
                "type": "string",
                "description": "Online Privacy Policy Website Desc.",
                "nullable": true
              },
              "optOutInd": {
                "type": "boolean",
                "description": "OptOut Indicator.",
                "nullable": true
              },
              "optOutMailInFormInd": {
                "type": "boolean",
                "description": "OptOut Mail In Form Indicator.",
                "nullable": true
              },
              "otherImportantInfoUserDefinedDesc": {
                "type": "string",
                "description": "Other Important Info User Defined Description.",
                "nullable": true
              },
              "otherImportantInfoUserDefinedInd": {
                "type": "boolean",
                "description": "Other Important Info User Defined Indicator.",
                "nullable": true
              },
              "personalInfoCollected": {
                "type": "array",
                "description": "Personal Information Collection.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PersonalInfoCollected"
                }
              },
              "personalInfoUsed": {
                "type": "array",
                "description": "Personal Information Used.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PersonalInfoUsed"
                }
              },
              "revisionDate": {
                "type": "string",
                "description": "Revision Date",
                "format": "date",
                "nullable": true
              },
              "safeGuardPracticesDesc": {
                "type": "string",
                "description": "Safe Guard Practices Description.",
                "nullable": true
              },
              "shareAffiliateCreditworthinessInd": {
                "type": "boolean",
                "description": "Share Affiliate Credit worthiness Indicator.",
                "nullable": true
              },
              "shareAffiliateMarketingInd": {
                "type": "boolean",
                "description": "Share Affiliate Marketing Indicator.",
                "nullable": true
              },
              "shareAffiliateTransactionExperienceInd": {
                "type": "boolean",
                "description": "Share Affiliate Transaction Experience Indicator.",
                "nullable": true
              },
              "shareJointMarketingCompaniesDesc": {
                "type": "string",
                "description": "Share Joint Marketing Companies Description.",
                "nullable": true
              },
              "shareJointMarketingInd": {
                "type": "boolean",
                "description": "Share Joint Marketing Indicator.",
                "nullable": true
              },
              "shareMarketingInd": {
                "type": "boolean",
                "description": "Share Marketing Indicator.",
                "nullable": true
              },
              "shareNonaffiliateCompaniesDesc": {
                "type": "string",
                "description": "Share Non affiliate Companies Description.",
                "nullable": true
              },
              "shareNonaffiliateMarketingInd": {
                "type": "boolean",
                "description": "Share Non affiliate Marketing Indicator",
                "nullable": true
              },
              "shortRevisionDate": {
                "type": "string",
                "description": "Short Revision Date.",
                "format": "date",
                "nullable": true
              },
              "suppressOtherImportantInfoStateTextInd": {
                "type": "boolean",
                "description": "Suppress Other Important InfoState Text Indicator.",
                "nullable": true
              }
            }
          }
        ]
      },
      "PersonalInfoCollected": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collectedType": {
                "description": "Collected Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollectedType"
                  }
                ]
              }
            }
          }
        ]
      },
      "CollectedType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "OpenAnAccount",
          "DepositMoney",
          "PayYourBills",
          "ApplyForALoan",
          "UseYourCreditOrDebitCard",
          "SeekFinancialOrTaxAdvice",
          "ApplyForInsurance",
          "PayInsurancePremium",
          "FileAnInsuranceClaim",
          "SeekAdviceAboutYourInvetsments",
          "BuySecuritiesFromUs",
          "SellSecuritiesToUs",
          "DirectUsToBuySecurities",
          "DirectUsToSellSecurities",
          "MakeDepositOrWithdrawlFromYourAccount",
          "EnterIntoAnInvestmentAdvisoryContract",
          "GiveUsYourIncomeInformation",
          "ProvideEmploymentInformation",
          "GiveUsYourEmploymentHistory",
          "TellUsAboutYourInvestMentOrRetirementPortfolio",
          "TellUsAboutYourInvestmentOrRetirementEarnings",
          "ApplyForFinancing",
          "ApplyForALease",
          "ProvideAccountInformation",
          "GiveUsYourContactInformation",
          "PayUsByCheck",
          "GiveUsYourWageStatements",
          "ProvideYourMortgageInformation",
          "MakeAWireTransfer",
          "TellUsWhoReceivesTheMoney",
          "TellUsWhereToSendTheMoney",
          "ShowYourGovernmentIssuedID",
          "ShowYourDriversLicense",
          "OrderACommodityFuturesOrOptionTrade"
        ],
        "x-enum-descriptions": [
          "Open an account",
          "Deposit money",
          "Pay your bills",
          "Apply for a loan",
          "Use your credit or debit card",
          "Seek financial or tax advice",
          "Apply for insurance",
          "Pay insurance premiums",
          "File an insurance claim",
          "Seek advice about your investments",
          "Buy securities from us",
          "Sell securities to us",
          "Direct us to buy securities",
          "Direct us to sell your securities",
          "Make deposits or withdrawals from your account",
          "Enter into an investment advisory contract",
          "Give us your income information",
          "Provide employment information",
          "Give us your employment history",
          "Tell us about your investment or retirement portfolio",
          "Tell us about your investment or retirement earnings",
          "Apply for financing",
          "Apply for a lease",
          "Provide account information",
          "Give us your contact information",
          "Pay us by check",
          "Give us your wage statements",
          "Provide your mortgage information",
          "Make a wire transfer",
          "Tell us who receives the money",
          "Tell us where to send the money",
          "Show your government-issued ID",
          "Show your driver's license",
          "Order a commodity futures or option trade"
        ],
        "enum": [
          "OpenAnAccount",
          "DepositMoney",
          "PayYourBills",
          "ApplyForALoan",
          "UseYourCreditOrDebitCard",
          "SeekFinancialOrTaxAdvice",
          "ApplyForInsurance",
          "PayInsurancePremium",
          "FileAnInsuranceClaim",
          "SeekAdviceAboutYourInvetsments",
          "BuySecuritiesFromUs",
          "SellSecuritiesToUs",
          "DirectUsToBuySecurities",
          "DirectUsToSellSecurities",
          "MakeDepositOrWithdrawlFromYourAccount",
          "EnterIntoAnInvestmentAdvisoryContract",
          "GiveUsYourIncomeInformation",
          "ProvideEmploymentInformation",
          "GiveUsYourEmploymentHistory",
          "TellUsAboutYourInvestMentOrRetirementPortfolio",
          "TellUsAboutYourInvestmentOrRetirementEarnings",
          "ApplyForFinancing",
          "ApplyForALease",
          "ProvideAccountInformation",
          "GiveUsYourContactInformation",
          "PayUsByCheck",
          "GiveUsYourWageStatements",
          "ProvideYourMortgageInformation",
          "MakeAWireTransfer",
          "TellUsWhoReceivesTheMoney",
          "TellUsWhereToSendTheMoney",
          "ShowYourGovernmentIssuedID",
          "ShowYourDriversLicense",
          "OrderACommodityFuturesOrOptionTrade"
        ]
      },
      "PersonalInfoUsed": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "usedType": {
                "description": "Collected Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UsedType"
                  }
                ]
              }
            }
          }
        ]
      },
      "UsedType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Income",
          "AccountBalances",
          "PaymentHistory",
          "TransactionHistory",
          "TransactionOrLossHistory",
          "CreditHistory",
          "CreditScores",
          "Assets",
          "InvestmentEperience",
          "CreditBasedInsuranceScores",
          "InsuranceClaimHistory",
          "MedicalInformation",
          "OverdraftHistory",
          "PurchaseHistory",
          "AccountTransactions",
          "RiskTolerance",
          "MedicalRelatedDebts",
          "CreditCardOrOtherDebt",
          "MortgageRatesAndPayments",
          "RetirementAssets",
          "CheckingAccountInformation",
          "EmploymentInformation",
          "WireTransferInstructions"
        ],
        "x-enum-descriptions": [
          "Income",
          "Account balances",
          "Payment history",
          "Transaction history",
          "Transaction or Loss history",
          "Credit history",
          "Credit scores",
          "Assets",
          "Investment experience",
          "Credit-based insurance scores",
          "Insurance claim history",
          "Medical information",
          "Overdraft history",
          "Purchase history",
          "Account transactions",
          "Risk tolerance",
          "Medical-related debts",
          "Credit card or other debt",
          "Mortgage rates and payments",
          "Retirement assets",
          "Checking account information",
          "Employment information",
          "Wire transfer instructions"
        ],
        "enum": [
          "Income",
          "AccountBalances",
          "PaymentHistory",
          "TransactionHistory",
          "TransactionOrLossHistory",
          "CreditHistory",
          "CreditScores",
          "Assets",
          "InvestmentEperience",
          "CreditBasedInsuranceScores",
          "InsuranceClaimHistory",
          "MedicalInformation",
          "OverdraftHistory",
          "PurchaseHistory",
          "AccountTransactions",
          "RiskTolerance",
          "MedicalRelatedDebts",
          "CreditCardOrOtherDebt",
          "MortgageRatesAndPayments",
          "RetirementAssets",
          "CheckingAccountInformation",
          "EmploymentInformation",
          "WireTransferInstructions"
        ]
      },
      "CreditScoreMultipleUsedDisclosurePolicyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Lowest",
          "Median",
          "Highest",
          "Average",
          "None",
          "Other"
        ],
        "x-enum-descriptions": [
          "Lowest",
          "Median",
          "Highest",
          "Average",
          "None",
          "Other"
        ],
        "enum": [
          "Lowest",
          "Median",
          "Highest",
          "Average",
          "None",
          "Other"
        ]
      },
      "CreditBureaus": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "description": "The name of the credit bureau. This field is used to match",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Source"
                  }
                ]
              },
              "city": {
                "type": "string",
                "description": "The city of the address of the credit bureau.",
                "nullable": true
              },
              "internetAddress": {
                "type": "string",
                "description": "The internet (web) address of the credit bureau.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the credit bureau.",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "description": "The postal or ZIP Code of the address of the credit bureau.",
                "nullable": true
              },
              "state": {
                "description": "The state of the address of the credit bureau.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EstablishedState"
                  }
                ]
              },
              "address": {
                "type": "string",
                "description": "The street address of the credit bureau.",
                "nullable": true
              },
              "tollFreePhone": {
                "type": "string",
                "description": "The toll free phone number of the credit bureau.",
                "nullable": true
              },
              "freeReport": {
                "type": "array",
                "description": "List of Free Report.",
                "items": {
                  "$ref": "#/components/schemas/FreeReport"
                }
              }
            }
          }
        ]
      },
      "FreeReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "city": {
                "type": "string",
                "description": "The city of the address of the credit bureau.",
                "nullable": true
              },
              "internetAddress": {
                "type": "string",
                "description": "The city of the address of the credit bureau.",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "description": "The postal or ZIP Code of the address of the credit bureau.",
                "nullable": true
              },
              "state": {
                "description": "The state of the address of the credit bureau.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "street": {
                "type": "string",
                "description": "The street address of the credit bureau.",
                "nullable": true
              },
              "addressAdditionalLineText": {
                "type": "string",
                "description": "The PO Box or second line address of the credit bureau.",
                "nullable": true
              },
              "tollFreePhone": {
                "type": "string",
                "description": "The toll free phone number of the credit bureau.",
                "nullable": true
              },
              "sourceType": {
                "type": "string",
                "description": "The name or type of the credit bureau providing a credit report.",
                "nullable": true
              }
            }
          }
        ]
      },
      "Regulator": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "address": {
                "type": "string",
                "description": "The street address or additional address line for the regulator.",
                "nullable": true
              },
              "city": {
                "type": "string",
                "description": "City where regulating agency is located.",
                "nullable": true
              },
              "levelType": {
                "description": "Specifies whether the information being provided is regarding a state or federal regulator.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RegulatorLevelType"
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "Mailing name of the regulating agency if this name differs from the name shown as the Regulator Type.",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "description": "The ZIP or postal code where the regulating agency is located.",
                "nullable": true
              },
              "state": {
                "description": "The state in which the regulatory agency is located.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EstablishedState"
                  }
                ]
              }
            }
          }
        ]
      },
      "RegulatorLevelType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Federal",
          "State"
        ],
        "x-enum-descriptions": [
          "Federal",
          "State"
        ],
        "enum": [
          "Federal",
          "State"
        ]
      },
      "PolicyNote": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "postingSequenceOne": {
                "description": "What a payment will be applied to first.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceOneOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to first.",
                "nullable": true
              },
              "postingSequenceTwo": {
                "description": "What a payment will be applied to second.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceTwoOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to second.",
                "nullable": true
              },
              "postingSequenceThree": {
                "description": "What a payment will be applied to third.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceThreeOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to third.",
                "nullable": true
              },
              "postingSequenceFour": {
                "description": "What a payment will be applied to fourth.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceFourOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to fourth.",
                "nullable": true
              },
              "postingSequenceFive": {
                "description": "What a payment will be applied to fifth.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceFiveOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to fifth.",
                "nullable": true
              },
              "postingSequenceSix": {
                "description": "What a payment will be applied to sixth.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostSequence"
                  }
                ]
              },
              "postingSequenceSixOtherDesc": {
                "type": "string",
                "description": "A description of what a payment will be applied to sixth.",
                "nullable": true
              },
              "loanDecisionDenialWithRightToRequestSpecificReasonsInd": {
                "type": "boolean",
                "description": "If true, the lender wants to provide the Denial Notice of Action Taken with Right to Request Specific Reasons without initially disclosing specific reasons.",
                "nullable": true
              }
            }
          }
        ]
      },
      "PostSequence": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "OtherThanPrincipalAndInterest",
          "CreditInsurancePremiumsDue",
          "EscrowDue",
          "InterestDue",
          "LateChargesDue",
          "Other",
          "PrincipalDue"
        ],
        "x-enum-descriptions": [
          "Any charges that I owe other than principal and interest",
          "Credit insurance premiums that are due",
          "Escrow that is due",
          "Interest that is due",
          "Late charges that are due",
          "Other",
          "Principal that is due"
        ],
        "enum": [
          "OtherThanPrincipalAndInterest",
          "CreditInsurancePremiumsDue",
          "EscrowDue",
          "InterestDue",
          "LateChargesDue",
          "Other",
          "PrincipalDue"
        ]
      },
      "ResponsibleParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "emailAddress": {
                "type": "string",
                "description": "The email address for the responsible party.",
                "nullable": true
              },
              "userInitials": {
                "type": "string",
                "description": "The initials of the financial institution's representative for the transaction.",
                "nullable": true
              },
              "licenseIdentifier": {
                "type": "string",
                "description": "The license identifier of the financial institution's representative for the transaction. This is typically a state license identifier.",
                "nullable": true
              },
              "userTitle": {
                "type": "string",
                "description": "The title of the financial institution's representative for the transaction.",
                "nullable": true
              }
            }
          }
        ]
      },
      "TaxForm": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "roleType": {
                "type": "string",
                "description": "Specifies the type of role (e.g., borrower, lender).",
                "nullable": true
              },
              "taxFormNumber": {
                "type": "string",
                "description": "Represents the tax form identifier.",
                "nullable": true
              }
            }
          }
        ]
      },
      "OtherDocumentTaxForm": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "roleType": {
                "type": "array",
                "description": "Specifies the type of role (e.g., borrower, lender).",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "taxFormNumber": {
                "type": "string",
                "description": "Represents the tax form identifier.",
                "nullable": true
              }
            }
          }
        ]
      },
      "OrgFhlbMemberDistrictType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Atlanta",
          "Boston",
          "Chicago",
          "Cincinnati",
          "Dallas",
          "DesMoines",
          "Indianapolis",
          "NewYork",
          "NotAMember",
          "Pittsburgh",
          "SanFrancisco",
          "Topeka"
        ],
        "enum": [
          "Unknown",
          "Atlanta",
          "Boston",
          "Chicago",
          "Cincinnati",
          "Dallas",
          "DesMoines",
          "Indianapolis",
          "NewYork",
          "NotAMember",
          "Pittsburgh",
          "SanFrancisco",
          "Topeka"
        ]
      },
      "LoanDocuments": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanAgreements": {
                "type": "array",
                "description": "Loan Agreements",
                "items": {
                  "$ref": "#/components/schemas/LoanAgreement"
                }
              },
              "changedDataPoints": {
                "type": "array",
                "description": "Changed Data Points",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ChangedDataPoint"
                }
              },
              "documentsWithStatus": {
                "type": "array",
                "description": "Documents With Status",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DocumentWithStatus"
                }
              },
              "guaranties": {
                "type": "array",
                "description": "List of Guaranties",
                "items": {
                  "$ref": "#/components/schemas/Guaranty"
                }
              },
              "realEstateSecurityInst": {
                "type": "array",
                "description": "List of Security Instruments",
                "items": {
                  "$ref": "#/components/schemas/RealEstateSecurityInstrument"
                }
              },
              "packages": {
                "type": "array",
                "description": "List of Generated Document Packages",
                "items": {
                  "$ref": "#/components/schemas/Package"
                }
              },
              "flDocStampTaxPmtType": {
                "description": "Florida documentary stamp tax payment type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DocStampPaymentType"
                  }
                ]
              },
              "flDocStampFeeCertId": {
                "type": "string",
                "description": "Florida documentary stamp tax payment number.",
                "nullable": true
              },
              "packageEventLogs": {
                "type": "array",
                "description": "The package event logs.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PackageEventLog"
                }
              },
              "iLienFileRequests": {
                "type": "array",
                "description": "ILienFileRequests",
                "items": {
                  "$ref": "#/components/schemas/IlienFileRequest"
                }
              },
              "iLienNotifications": {
                "description": "iLien notification settings",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IlienNotifications"
                  }
                ]
              },
              "securityAgreements": {
                "type": "array",
                "description": "SecurityAgreements",
                "items": {
                  "$ref": "#/components/schemas/SecurityAgreement"
                }
              },
              "pledgeAgreements": {
                "type": "array",
                "description": "PledgeAgreements",
                "items": {
                  "$ref": "#/components/schemas/PledgeAgreement"
                }
              },
              "stateSpecific": {
                "description": "State-specific loan document settings",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateSpecific"
                  }
                ]
              },
              "smartSignPackages": {
                "type": "array",
                "description": "SmartSignPackages is a list of SmartSignPackage objects associated with the loan documents.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SmartSignPackage"
                }
              },
              "groups": {
                "type": "array",
                "description": "Groups is a list of Group objects associated with the package sent to SmartSign.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Group"
                }
              },
              "migrationHistory": {
                "type": "array",
                "description": "History of all migration steps performed on this loan file",
                "items": {
                  "$ref": "#/components/schemas/MigrationHistoryEntry"
                }
              },
              "migrationNotifications": {
                "type": "array",
                "description": "Migration notifications that persist until dismissed by user",
                "items": {
                  "$ref": "#/components/schemas/MigrationNotificationEntity"
                }
              }
            }
          }
        ]
      },
      "LoanAgreement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "financialReportingDelinquentLateFeePercent": {
                "type": "number",
                "description": "The late fee percentage for delinquent Financial Reports.",
                "format": "decimal",
                "nullable": true
              },
              "financialStatementResAsOfDate": {
                "type": "string",
                "description": "Date of Latest Financial Statements Submitted by Borrower",
                "format": "date",
                "nullable": true
              },
              "financialReportingDelinquentLateFeeInd": {
                "type": "boolean",
                "description": "If true, user wants to specify the late fee percentage for delinquent Financial Reports.",
                "nullable": true
              },
              "borrowerNoId": {
                "type": "array",
                "description": "List of parties with BorrowingParty.TransactionRole = Borrower",
                "items": {
                  "type": "string"
                }
              },
              "borrowerParties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AgreementPartyRef"
                }
              },
              "financialReports": {
                "type": "array",
                "description": "List of Financial Reports",
                "items": {
                  "$ref": "#/components/schemas/FinancialReport"
                }
              },
              "modification": {
                "description": "Modification details associated with this loan agreement.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              }
            }
          }
        ]
      },
      "AgreementPartyRef": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "FinancialReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "agingType": {
                "description": "Specifies the type of aging reports required.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AgingType"
                  }
                ]
              },
              "financialStatementConsolidationType": {
                "description": "Specifies if the required financial statement is to be provided as a consolidated or combined financial statements.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialReportStatementConsolidationType"
                  }
                ]
              },
              "financialStatementType": {
                "description": "The type of financial statements the party will supply to the lender.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialReportStatementType"
                  }
                ]
              },
              "frequency": {
                "description": "Specifies the frequency of the financial report required from the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialReportFrequencyType"
                  }
                ]
              },
              "key": {
                "type": "integer",
                "description": "The key of the financial report.",
                "format": "int32"
              },
              "loanAgreementGuid": {
                "type": "string",
                "description": "The loan agreement unique identifier.",
                "nullable": true
              },
              "numberOfDaysToDeliver": {
                "type": "integer",
                "description": "The number of days after the end of the period that the party has to provide the financial reports to the lender.",
                "format": "int32",
                "nullable": true
              },
              "taxReturnsType": {
                "description": "Type of Tax Returns for the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TaxReturnsType"
                  }
                ]
              },
              "type": {
                "description": "Specifies the type of the financial report required from the party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialReportType"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "description": "A user-defined description of the financial report required from the party.",
                "nullable": true
              },
              "guarantyId": {
                "type": "string",
                "description": "The guaranty identifier.",
                "nullable": true
              },
              "notEncumberAssetsInd": {
                "type": "boolean",
                "description": "Encumber assets indicator.",
                "nullable": true
              },
              "loanAgreementId": {
                "type": "string",
                "description": "The loan agreement identifier.",
                "nullable": true
              },
              "personalFinancialStatementDeliveryDate": {
                "type": "string",
                "description": "The personal financial statement delivery date.",
                "format": "date",
                "nullable": true
              },
              "personalFinancialStatementDueDateType": {
                "description": "The personal financial statement due date type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PersonalFinancialStatementDueDateType"
                  }
                ]
              },
              "taxReturnDueDateType": {
                "description": "The type of the tax return due date.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancialReportTaxReturnDueDateType"
                  }
                ]
              },
              "taxReturnsDeliveryDate": {
                "type": "string",
                "description": "The tax returns delivery date.",
                "format": "date",
                "nullable": true
              }
            }
          }
        ]
      },
      "AgingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AccountsReceivable",
          "AccountsPayable",
          "AccountsReceivableAndAccountsPayable"
        ],
        "x-enum-descriptions": [
          "",
          "Accounts Receivable",
          "Accounts Payable",
          "Accounts Receivable and Accounts Payable"
        ],
        "enum": [
          "Unknown",
          "AccountsReceivable",
          "AccountsPayable",
          "AccountsReceivableAndAccountsPayable"
        ]
      },
      "FinancialReportStatementConsolidationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Consolidatedandconsolidating",
          "Combined",
          "Separate"
        ],
        "enum": [
          "Unknown",
          "Consolidatedandconsolidating",
          "Combined",
          "Separate"
        ]
      },
      "FinancialReportStatementType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Management",
          "Compilation",
          "Reviewed",
          "Audited"
        ],
        "enum": [
          "Management",
          "Compilation",
          "Reviewed",
          "Audited"
        ]
      },
      "FinancialReportFrequencyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Monthly",
          "Quarterly",
          "SemiAnnually",
          "Annually"
        ],
        "enum": [
          "Monthly",
          "Quarterly",
          "SemiAnnually",
          "Annually"
        ]
      },
      "TaxReturnsType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Federal",
          "FederalAndState",
          "State"
        ],
        "x-enum-descriptions": [
          "",
          null,
          "Federal and State",
          null
        ],
        "enum": [
          "Unknown",
          "Federal",
          "FederalAndState",
          "State"
        ]
      },
      "FinancialReportType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "PersonalFinancialStatement",
          "FinancialStatements",
          "TaxReturns",
          "FinancialProjections",
          "AgingReports",
          "InventoryReport",
          "ContractStatusPercentOfCompletionReport",
          "Other"
        ],
        "x-enum-descriptions": [
          "",
          "Personal Financial Statement",
          "Financial Statements",
          "Tax Returns",
          "Financial Projections",
          "Aging Reports",
          "Inventory Report",
          "Contract Status - Percent of Completion Report",
          null
        ],
        "enum": [
          "Unknown",
          "PersonalFinancialStatement",
          "FinancialStatements",
          "TaxReturns",
          "FinancialProjections",
          "AgingReports",
          "InventoryReport",
          "ContractStatusPercentOfCompletionReport",
          "Other"
        ]
      },
      "FinancialReportTaxReturnDueDateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "AfterActualTaxFilingDate",
          "AfterRequiredTaxFilingDate",
          "SpecificDateInYear",
          "AfterFiscalYear",
          "AfterCalendarYear"
        ],
        "enum": [
          "Unknown",
          "AfterActualTaxFilingDate",
          "AfterRequiredTaxFilingDate",
          "SpecificDateInYear",
          "AfterFiscalYear",
          "AfterCalendarYear"
        ]
      },
      "ChangedDataPoint": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "xPath": {
            "type": "string",
            "description": "xPath"
          },
          "changeType": {
            "type": "string",
            "description": "Change Type",
            "nullable": true
          },
          "newValue": {
            "type": "string",
            "description": "New Value"
          },
          "oldValue": {
            "type": "string",
            "description": "Old Value",
            "nullable": true
          },
          "index": {
            "type": "string",
            "description": "Index",
            "nullable": true
          },
          "field": {
            "type": "string",
            "description": "Field",
            "nullable": true
          },
          "prompt": {
            "type": "string",
            "description": "Prompt",
            "nullable": true
          },
          "RefId": {
            "type": "string",
            "description": "RefId",
            "nullable": true
          },
          "RelPath": {
            "type": "string",
            "description": "RelPath",
            "nullable": true
          }
        }
      },
      "DocumentWithStatus": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "documentId": {
                "type": "string",
                "description": "Document Id: to track ordered document"
              },
              "isCompleted": {
                "type": "boolean",
                "description": "Is Completed"
              },
              "displayName": {
                "type": "string",
                "description": "DisplayName"
              }
            }
          }
        ]
      },
      "Guaranty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "governingLaw": {
                "description": "Specifies the state laws that apply to the guaranty.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "guarantyOfThisDebtIndicator": {
                "type": "boolean",
                "description": "If true the guaranty only secures this debt (i.e. non-continuing).  If not true the guaranty will cover all past, present, and future debts (i.e. continuing).",
                "nullable": true
              },
              "includeNoteReferenceIndicator": {
                "type": "boolean",
                "description": "Include Reference to Promissory Note for this loan with Continuing Guarantees.",
                "nullable": true
              },
              "isLimited": {
                "type": "boolean",
                "description": "If true the guaranty is limited in some way (for example by amount, percent, etc.). If not true the guaranty may be considered unconditional or unlimited (depending on whether it's continuing or non-continuing)."
              },
              "indicator": {
                "type": "boolean",
                "description": "The date when the UCC Filing Request has been submitted."
              },
              "includeIowaHomesteadWaiverNoticeIndicator": {
                "type": "boolean",
                "description": "If true, the lender wants to include the Iowa Homestead Waiver notice in the guaranty..",
                "nullable": true
              },
              "terminationType": {
                "description": "Specifies the termination event for the guaranty..",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GuarantyTerminationType"
                  }
                ]
              },
              "financialReports": {
                "type": "array",
                "description": "List of Financial Reports",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FinancialReport"
                }
              },
              "terminationNoticeDays": {
                "type": "integer",
                "description": "Termination Notice Days for guaranty",
                "format": "int32",
                "nullable": true
              },
              "terminationDate": {
                "type": "string",
                "description": "Termination Date for guaranty",
                "format": "date",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The type of the guaranty",
                "nullable": true
              },
              "kyMaxGuarantyAmount": {
                "type": "number",
                "description": "The maximum amount of debt the guaranty will secure.",
                "format": "decimal",
                "nullable": true
              },
              "guarantorNoId": {
                "type": "array",
                "description": "List of parties with BorrowingParty.TransactionRole = Guarantor.",
                "items": {
                  "type": "string"
                }
              },
              "guarantorParties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AgreementPartyRef"
                }
              },
              "guarantors": {
                "type": "string",
                "description": "Guarantors assigned to the guaranty agreement.",
                "nullable": true
              },
              "limited": {
                "description": "Limited",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Limited"
                  }
                ]
              },
              "specificDebtDescription": {
                "type": "string",
                "description": "Describe the specific debts that are being guarantied.",
                "nullable": true
              },
              "securedInd": {
                "type": "boolean",
                "description": "If true, the guaranty is secured.",
                "nullable": true
              },
              "securedByDesc": {
                "type": "string",
                "description": "A Description of what the guaranty is secured by",
                "nullable": true
              },
              "guarantyWithoutGarnishmentFormInd": {
                "type": "boolean",
                "description": "If true the Consumer Guaranty-Without Garnishment document is being requested.",
                "nullable": true
              },
              "reaffirmationInd": {
                "type": "boolean",
                "description": "If true the guaranty is a reaffirmation of an existing guaranty.",
                "nullable": true
              },
              "reaffirmationOriginalDesc": {
                "type": "string",
                "description": "For reaffirmations of existing guaranties this is a description of the original guaranty.",
                "nullable": true
              }
            }
          }
        ]
      },
      "GuarantyTerminationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "UponNotice",
          "UponNoticeSpecifiedDaysNotice",
          "NoTerminationParagraph"
        ],
        "enum": [
          "UponNotice",
          "UponNoticeSpecifiedDaysNotice",
          "NoTerminationParagraph"
        ]
      },
      "Limited": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "guarantyType": {
            "description": "Specifies how the guaranty is limited.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GuarantyType"
              }
            ]
          },
          "guarantyAmount": {
            "type": "number",
            "description": "The maximum amount of debt the guaranty will secure.",
            "format": "decimal",
            "nullable": true
          },
          "guarantyPercent": {
            "type": "number",
            "description": "The percentage of debt the guaranty will secure.",
            "format": "decimal",
            "nullable": true
          },
          "guarantyOwnershipPercent": {
            "type": "number",
            "description": "The percent of ownership the guarantor has in the borrower.",
            "format": "decimal",
            "nullable": true
          },
          "guarantyAmountDescription": {
            "type": "string",
            "description": "If needed, the user may describe the maximum amount of debt the guaranty will secure. This could be a dollar amount or text such as 'Unlimited'.",
            "nullable": true
          }
        }
      },
      "GuarantyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Amount",
          "Percentage",
          "PercentageOfOwnership",
          "Recourse",
          "GuarantyOfCompletion"
        ],
        "enum": [
          "Unknown",
          "Amount",
          "Percentage",
          "PercentageOfOwnership",
          "Recourse",
          "GuarantyOfCompletion"
        ]
      },
      "RealEstateSecurityInstrument": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "trustee": {
                "description": "Trustee",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "titleInsuranceProducer": {
                "description": "Title Insurance Producer",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "taxBillSentTo": {
                "description": "Tax Bill Sent To",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "preparedBy": {
                "description": "Prepared By",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "returnedTo": {
                "description": "Returned To",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "recordingRequestedBy": {
                "description": "Party Requesting Recording",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "acresNumber": {
                "type": "integer",
                "description": "The acres number",
                "format": "int32",
                "nullable": true
              },
              "agricultureUseIndicator": {
                "type": "boolean",
                "description": "If true the collateral will be used for Agriculture purposes.",
                "nullable": true
              },
              "dragnetIndicator": {
                "type": "boolean",
                "description": "The indicator, prop can be true or false .",
                "nullable": true
              },
              "securedMaxAmt": {
                "type": "number",
                "description": "The secured maximum amount.",
                "format": "decimal",
                "nullable": true
              },
              "vestingDesc": {
                "type": "string",
                "description": "The vesting description",
                "nullable": true
              },
              "caRealEstateFraudFeeExemptionType": {
                "description": "The real estate fraud fee exemption type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstateFraudFeeExemptionType"
                  }
                ]
              },
              "caRealEstateFraudFeeExemptionPreviouslyRecordedBookDesc": {
                "type": "string",
                "description": "The real estate fraud fee exemption previously recorded book description",
                "nullable": true
              },
              "caRealEstateFraudFeeExemptionPreviouslyRecordedPageDesc": {
                "type": "string",
                "description": "The real estate fraud fee exemption previously recorded page description",
                "nullable": true
              },
              "caBuildingHomesAndJobsActFeeExemptionType": {
                "description": "The building homes and jobs act fee exemption Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BuildingHomesAndJobsActFeeExemptionType"
                  }
                ]
              },
              "caBuildingHomesAndJobsActFeeExemptionAdditionalDesc": {
                "type": "string",
                "description": "CABuildingHomesAndJobsActFeeExemptionAdditional Description",
                "nullable": true
              },
              "intangibleTaxExemptIndicator": {
                "type": "boolean",
                "description": "FL Intangible Tax Exempt Indicator",
                "nullable": true
              },
              "flReasonIntangibleTaxTypeIsNotDueOrReduced": {
                "description": "FL Reason Intangible Tax Type IsNot DueOrReduced",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ReasonIntangibleTaxTypeIsNotDueOrReduced"
                  }
                ]
              },
              "flReasonIntangibleTaxTypeIsNotDueOrReducedOtherDesc": {
                "type": "string",
                "description": "FL Reason Intangible Tax Type IsNot DueOrReduced Other Desc",
                "nullable": true
              },
              "recordedBook": {
                "type": "string",
                "description": "Recorded Book",
                "nullable": true
              },
              "recordedPage": {
                "type": "string",
                "description": "Recorded Page",
                "nullable": true
              },
              "flOutstandingBalanceAmount": {
                "type": "number",
                "description": "FL Outstanding Balance Amount",
                "format": "decimal",
                "nullable": true
              },
              "maxAmountPriorLien": {
                "type": "number",
                "description": "Max Amount Prior Lien",
                "format": "decimal",
                "nullable": true
              },
              "recordationTaxAmount": {
                "type": "number",
                "description": "Recordation Tax Amount",
                "format": "decimal",
                "nullable": true
              },
              "taxExemptionCode": {
                "type": "string",
                "description": "Tax Exemption Code",
                "nullable": true
              },
              "amountCodeToggle": {
                "type": "boolean",
                "description": "Amount Code Toggle",
                "nullable": true
              },
              "incorporatedCityIndicator": {
                "type": "boolean",
                "description": "Incorporated City Indicator",
                "nullable": true
              },
              "ilMaxFutureAdvanceMultiplier": {
                "type": "number",
                "description": "IL Max Future Advance Multiplier",
                "format": "decimal",
                "nullable": true
              },
              "futureAdvanceAmount": {
                "type": "number",
                "description": "Future Advance Amount",
                "format": "decimal",
                "nullable": true
              },
              "landContractIndicator": {
                "type": "boolean",
                "description": "Land Contract Indicator",
                "nullable": true
              },
              "mnInderteminateAmountIndicator": {
                "type": "boolean",
                "description": "MN Inderteminate Amount Indicator",
                "nullable": true
              },
              "mnMortgageRegistryTaxExemptIndicator": {
                "type": "boolean",
                "description": "MN Mortgage Registry Tax Exempt Indicator",
                "nullable": true
              },
              "msIndexingInstrDesc": {
                "type": "string",
                "description": "MS Indexing Instrument Description",
                "nullable": true
              },
              "homesteadOption": {
                "description": "Homestead Option",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HomesteadOption"
                  }
                ]
              },
              "homesteadAdditionalTerms": {
                "type": "string",
                "description": "Homestead Additional Terms",
                "nullable": true
              },
              "lastImprovementsDate": {
                "type": "string",
                "description": "Last Improvements Date",
                "format": "date",
                "nullable": true
              },
              "titleSource": {
                "type": "string",
                "description": "Title Source",
                "nullable": true
              },
              "recordedEntry": {
                "type": "string",
                "description": "Recorded Entry",
                "nullable": true
              },
              "powerOfSaleIndicator": {
                "type": "boolean",
                "description": "Power Of Sale Indicator",
                "nullable": true
              },
              "nyStatementRegardingProperty": {
                "description": "NY Statement Regarding Property",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StatementRegardingProperty"
                  }
                ]
              },
              "taxExemptionIndicator": {
                "type": "boolean",
                "description": "Tax Exemption Indicator",
                "nullable": true
              },
              "confessionOfJudgmentAttorneyInFactCourtDesc": {
                "type": "string",
                "description": "Confession Of Judgment Attorney InFactCourtDesc",
                "nullable": true
              },
              "confessionOfJudgmentAttorneyInFactName": {
                "type": "string",
                "description": "Confession Of Judgment Attorney In FactName",
                "nullable": true
              },
              "futureAdvancesObligationType": {
                "description": "Future Advances Obligation Type",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FutureAdvancesObligationType"
                  }
                ]
              },
              "futureAdvancesQualificationsDesc": {
                "type": "string",
                "description": "Future Advances Qualifications Desc",
                "nullable": true
              },
              "spousalConsentIndicator": {
                "type": "boolean",
                "description": "Spousal Consent Indicator",
                "nullable": true
              },
              "spousalJoinderIndicator": {
                "type": "boolean",
                "description": "Spousal Joinder Indicator",
                "nullable": true
              },
              "leaseAndRentRollInd": {
                "type": "boolean",
                "description": "If true the content in a real estate security instrument and in a collateral assignment of leases and rents (including a separate collateral assignment of Leases and rents) will include any optional language available for a lease and rent roll.",
                "nullable": true
              },
              "multipleCountyInd": {
                "type": "boolean",
                "description": "If true the property is located in more than 1 county",
                "nullable": true
              },
              "recordingBookTypeDesc": {
                "type": "string",
                "description": "The recorded Book Type used for MN",
                "nullable": true
              },
              "recordedBookDesc": {
                "type": "string",
                "description": "Previously Recorded Book number for records in MN",
                "nullable": true
              },
              "recordedPageDesc": {
                "type": "string",
                "description": "Previously Recorded Page number for records in MN",
                "nullable": true
              },
              "suppressNorthDakotaHomesteadWaiverNoticeInd": {
                "type": "boolean",
                "description": "If true, the lender wants to suppress the additional N.D.C.C. Section 47-18-05.1 language for North Dakota in the commercial real estate security instrument.",
                "nullable": true
              },
              "tenantsNumber": {
                "type": "integer",
                "description": "Number of tenants for the real estate security instrument",
                "format": "int32",
                "nullable": true
              },
              "policy": {
                "description": "Policy for the Real Estate Security Instrument.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstateSecurityInstrumentPolicy"
                  }
                ]
              },
              "designationOfHomesteadStructuresImprovementsList": {
                "type": "string",
                "description": "The structures and other improvements located within the homestead boundary.These structures and improvements must not encroach upon any of the nonhomestead property encumbered by the attached Security Instrument",
                "nullable": true
              },
              "homesteadSurveyAttachedInd": {
                "type": "boolean",
                "description": "If true, a survey showing the homestead will be attached to the document",
                "nullable": true
              },
              "includeLatestMaturityDateInd": {
                "type": "boolean",
                "description": "If true, the lender wants to include the latest maturity date of any note secured by the commercial real estate security instrument",
                "nullable": true
              },
              "perpetualOrIndefiniteSecurityInterestStatementGAInd": {
                "type": "boolean",
                "description": "If true, the lender would like to include the perpetual or indefinite security interest statement for Georgia",
                "nullable": true
              },
              "formNoticeSection291fNYInd": {
                "type": "boolean",
                "description": "If true, the lender would like to select the Notice Section 291-f-New York form",
                "nullable": true
              },
              "formNoticeSection291fNYIncludeTenantSignatureInd": {
                "type": "boolean",
                "description": "If true, the lender would like to select the Notice Section 291-f-New York form",
                "nullable": true
              },
              "sellers": {
                "type": "array",
                "description": "The sellers for the real estate security instrument.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Seller"
                }
              },
              "constructionContractNumber": {
                "type": "string",
                "description": "The number assigned to this lien contract.",
                "nullable": true
              },
              "assignmentOfLeasesAndRentsInd": {
                "type": "boolean",
                "description": "If true, a (separate) Assignment of Leases and Rents document should be created for the collateral.",
                "nullable": true
              },
              "californiaRealEstateClosingType": {
                "description": "The type of closing requested by the borrower.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CaliforniaRealEstateClosingType"
                  }
                ]
              },
              "formAffidavitRegardingAdditionalAdvanceMNInd": {
                "type": "boolean",
                "description": "If true, the lender would like to select the Affidavit Regarding Additional Advance for the state of Minnesota. This is form specific for the Affidavit Regarding Additional Advance-MN.",
                "nullable": true
              },
              "mortgageRegistryTaxExemptCitationMNDesc": {
                "type": "string",
                "description": "The Minnesota mortgage registry tax exemption citation.",
                "nullable": true
              },
              "noPriorSaleOfTimberInd": {
                "type": "boolean",
                "description": "If true, the lender wants to represent that no sale for the timber has been entered into prior to this transaction.",
                "nullable": true
              },
              "originalRecordingCounty": {
                "type": "string",
                "description": "The original recording county of the amended real estate security instrument.",
                "nullable": true
              },
              "originalRecordingLocationDesc": {
                "type": "string",
                "description": "The description of the original recording location of the amended real estate security instrument within real property records, such as Book 1234, Page 987.",
                "nullable": true
              },
              "originalRecordingOfficeDesc": {
                "type": "string",
                "description": "The description of the original recording office for the amended real estate security instrument.",
                "nullable": true
              },
              "originalRecordingState": {
                "description": "The original recording state of the amended real estate security instrument.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "originalSecurityAgreementDate": {
                "type": "string",
                "description": "The date of the original security agreement prior to any modification.",
                "format": "date",
                "nullable": true
              },
              "permitPrescribedBurningInd": {
                "type": "boolean",
                "description": "If true, the lender will permit prescribed burning on the timberland.",
                "nullable": true
              },
              "timberlandRiderInd": {
                "type": "boolean",
                "description": "If true, the lender wants to include the Timberland Rider.",
                "nullable": true
              },
              "sdcConstructionContractBalance": {
                "type": "number",
                "description": "The remaining balance after the down payment the homeowner agrees to pay the general contractor.",
                "format": "decimal",
                "nullable": true
              },
              "generalContractorDownPayment": {
                "type": "number",
                "description": "The amount of the down payment that the homeowner agrees to pay the general contractor.",
                "format": "decimal",
                "nullable": true
              },
              "constructionContractPriorLiensDesc": {
                "type": "string",
                "description": "A description of the prior liens easements or exceptions associated with the property upon which the construction improvements will be made.",
                "nullable": true
              },
              "constructionContractPaymentsDesc": {
                "type": "string",
                "description": "A description of the payments that will be made to the contractor.",
                "nullable": true
              },
              "constructionAdditionsOrAlterations": {
                "type": "string",
                "description": "A description of the construction agreed to between the general contractor and the homeowner.",
                "nullable": true
              },
              "securityInstrumentDesc": {
                "type": "string",
                "description": "A description of the security instrument.",
                "nullable": true
              },
              "titleProtectionCoversBorrowerInd": {
                "type": "boolean",
                "description": "If true the title protection will provide protection to the borrower.",
                "nullable": true
              },
              "titleProtectionInsuranceInd": {
                "type": "boolean",
                "description": "If true title insurance will be obtained as title protection.",
                "nullable": true
              },
              "titleProtectionOpinionLetterInd": {
                "type": "boolean",
                "description": "If true an attorney's title opinion letter will be obtained as a title protection document.",
                "nullable": true
              },
              "titleProtectionOtherDesc": {
                "type": "string",
                "description": "This item identifies the 'other' type of title protection document that will be provided.",
                "nullable": true
              },
              "modification": {
                "description": "Modification details associated with this real estate security instrument.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              },
              "securityInstrumentDate": {
                "type": "string",
                "description": "The date and time (if applicable) of the Security Instrument.",
                "format": "date",
                "nullable": true
              },
              "estimatedMarketValue": {
                "type": "number",
                "description": "The present market value of the collateral property.",
                "format": "decimal",
                "nullable": true
              },
              "wantsRequestForNotice": {
                "type": "boolean",
                "description": "If true, the lender wants a Request for Notice of Default or Sale for collateral located in the state of Minnesota or Louisiana.",
                "nullable": true
              },
              "recordIdentifier": {
                "type": "string",
                "description": "Recording Instrument Number if the source of the owner's interest in the property is a deed, a will, or court decree.  If the source is an inheritance, enter the instrument number of the last recorded instrument.  If no preceding instrument was recorded, enter that.",
                "nullable": true
              }
            }
          }
        ]
      },
      "RealEstateFraudFeeExemptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "RecordedConcurrently",
          "RecordedInConnection"
        ],
        "x-enum-descriptions": [
          "",
          "Recorded Concurrently",
          "Recorded in Connection"
        ],
        "enum": [
          "Unknown",
          "RecordedConcurrently",
          "RecordedInConnection"
        ]
      },
      "BuildingHomesAndJobsActFeeExemptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "RecordedConcurrentlyWithImpositionOfDocumentaryTransferTax",
          "RecordedConcurrentlyWithTransferOfRealPropertyToAnOwnerOccupier",
          "TransferOfRealPropertyToAnOwnerOccupier",
          "FeeCapOf225IsReached",
          "TransferNotRelatedToRealProperty"
        ],
        "x-enum-descriptions": [
          "",
          "Recorded Concurrently with imposition of documentary transfer tax",
          "Recorded Concurrently with transfer of real property to an owner occupier",
          "Transfer of real property to an owner-occupier/ not related to real property",
          "Fee cap of $225.00 is reached",
          "Transfer not related to real property"
        ],
        "enum": [
          "Unknown",
          "RecordedConcurrentlyWithImpositionOfDocumentaryTransferTax",
          "RecordedConcurrentlyWithTransferOfRealPropertyToAnOwnerOccupier",
          "TransferOfRealPropertyToAnOwnerOccupier",
          "FeeCapOf225IsReached",
          "TransferNotRelatedToRealProperty"
        ]
      },
      "ReasonIntangibleTaxTypeIsNotDueOrReduced": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ReplaceDefectiveMortgage",
          "AssignmentOfObligation",
          "AssumptionOfObligation",
          "RefinancingLessThanOrEqualToOriginalBalance",
          "RefinancingGreaterThanOriginalBalance",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "This Mortgage is given to replace a defective mortgage, covering the identical real property as the original mortgage.",
          "This Mortgage is given in connection with the assignment of an obligation secured by an existing mortgage.",
          "This Mortgage is given in connection with the assumption of an obligation secured by an existing mortgage.",
          "This Mortgage is given in connection with the refinancing of an obligation secured by an existing mortgage, in an amount that is <= the unpaid original balance.",
          "This Mortgage is given in connection with the refinancing of an obligation secured by an existing mortgage, in an amount that is > the unpaid original balance.",
          "Other"
        ],
        "enum": [
          "Unknown",
          "ReplaceDefectiveMortgage",
          "AssignmentOfObligation",
          "AssumptionOfObligation",
          "RefinancingLessThanOrEqualToOriginalBalance",
          "RefinancingGreaterThanOriginalBalance",
          "Other"
        ]
      },
      "HomesteadOption": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "DesignationApplies",
          "DisclaimerApplies",
          "WaiverApplies"
        ],
        "enum": [
          "Unknown",
          "DesignationApplies",
          "DisclaimerApplies",
          "WaiverApplies"
        ]
      },
      "StatementRegardingProperty": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "OneOrTwoFamilyDwelling",
          "PropertyWithNoMoreThanSixDwellings",
          "OneOrTwoFamilyDwellingWithSeparateCookingFacilities",
          "PropertyNotCoveredByAbove"
        ],
        "x-enum-descriptions": [
          "",
          "Property is a one or two family dwelling",
          "Property with no more than six dwellings with separate cooking facilities",
          "Property a one or two family dwelling with separate cooking facilities",
          "Property does not cover real property as described above"
        ],
        "enum": [
          "Unknown",
          "OneOrTwoFamilyDwelling",
          "PropertyWithNoMoreThanSixDwellings",
          "OneOrTwoFamilyDwellingWithSeparateCookingFacilities",
          "PropertyNotCoveredByAbove"
        ]
      },
      "FutureAdvancesObligationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Obligatory",
          "NonObligatory"
        ],
        "x-enum-descriptions": [
          "",
          "Obligatory",
          "Non-obligatory"
        ],
        "enum": [
          "Unknown",
          "Obligatory",
          "NonObligatory"
        ]
      },
      "RealEstateSecurityInstrumentPolicy": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "uccAllAssetsInd": {
                "type": "boolean",
                "description": "If true, the collateral description should include the UCC all assets language.",
                "nullable": true
              }
            }
          }
        ]
      },
      "CaliforniaRealEstateClosingType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "EscrowClosingRequestingMondayDisbursement",
          "EscrowClosing",
          "NonEscrowClosingWithRecordingRequested",
          "NonEscrowClosingWithoutRecordingRequested"
        ],
        "enum": [
          "Unknown",
          "EscrowClosingRequestingMondayDisbursement",
          "EscrowClosing",
          "NonEscrowClosingWithRecordingRequested",
          "NonEscrowClosingWithoutRecordingRequested"
        ]
      },
      "Package": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the Package",
                "nullable": true
              },
              "createdDateTime": {
                "type": "string",
                "description": "The date the Package was created in UTC time",
                "format": "date-time"
              },
              "completeDateTime": {
                "type": "string",
                "description": "The date the Package was stop (complete or error) in UTC time",
                "format": "date-time"
              },
              "createdBy": {
                "type": "string",
                "description": "The user who created the Package",
                "nullable": true
              },
              "status": {
                "description": "Package Status",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageStatus"
                  }
                ]
              },
              "packets": {
                "type": "array",
                "description": "List of Packets in the Package, Each Packet is a generated PDF, RTF, or DOCX file",
                "items": {
                  "$ref": "#/components/schemas/PackagePacket"
                }
              },
              "packageType": {
                "description": "The type of the package.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              },
              "links": {
                "type": "string",
                "description": "The links of the Package.",
                "nullable": true
              },
              "preview": {
                "type": "boolean",
                "description": "To generate the document with perview watermark."
              },
              "lastModified": {
                "type": "string",
                "description": "The last modified date.",
                "format": "date-time",
                "nullable": true
              },
              "packageFormat": {
                "description": "PackageFormat either PDF or RTF",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DocumentsPackageFormat"
                  }
                ]
              },
              "smartSignPackageId": {
                "type": "string",
                "description": "The SmartSignPlus Package ID associated with the ordered Package (if the ordered package was also sent to SmartSign Plus)",
                "nullable": true
              },
              "snapshotHash": {
                "type": "string",
                "description": "The generated hash value representing the loan file snapshot used to create the Package",
                "nullable": true
              }
            }
          }
        ]
      },
      "PackageStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Created",
          "Compiling",
          "Failed"
        ],
        "enum": [
          "Created",
          "Compiling",
          "Failed"
        ]
      },
      "PackagePacket": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "displayName": {
                "type": "string",
                "description": "The DisplayName going to display under ordered packge grid"
              },
              "fileName": {
                "type": "string",
                "description": "The file name coming from DGS"
              },
              "fileExtension": {
                "type": "string",
                "description": "The FileExtension"
              },
              "fileHash": {
                "type": "string",
                "description": "File Hash of the stored file.  Security to make sure file hasn't been altered from when it was written."
              },
              "isDefault": {
                "type": "boolean",
                "description": "The default preference"
              }
            }
          }
        ]
      },
      "PackageType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Closing",
          "Application",
          "Preliminary",
          "Processing",
          "ThirdPartyDocument",
          "Modification",
          "PostClosing",
          "AdverseAction"
        ],
        "x-enum-descriptions": [
          "Closing",
          "Application",
          "Preliminary",
          "Processing",
          "ThirdPartyDocument",
          "Modification",
          "PostClosing",
          null
        ],
        "enum": [
          "Closing",
          "Application",
          "Preliminary",
          "Processing",
          "ThirdPartyDocument",
          "Modification",
          "PostClosing",
          "AdverseAction"
        ]
      },
      "DocumentsPackageFormat": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PDF",
          "RTF"
        ],
        "x-enum-descriptions": [
          "PDF",
          "RTF"
        ],
        "enum": [
          "PDF",
          "RTF"
        ]
      },
      "DocStampPaymentType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "IsNotRequired",
          "HasBeenPaidOnTheSecurityInstrumentWhichSecuresThisNote",
          "HasBeenPaidDirectlyToTheDepartmentOfRevenue"
        ],
        "x-enum-descriptions": [
          "",
          "Is not required",
          "Has been paid on the Security Instrument which secures this Note",
          "Has been paid directly to the Department of Revenue"
        ],
        "enum": [
          "Unknown",
          "IsNotRequired",
          "HasBeenPaidOnTheSecurityInstrumentWhichSecuresThisNote",
          "HasBeenPaidDirectlyToTheDepartmentOfRevenue"
        ]
      },
      "PackageEventLog": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "packageName": {
                "type": "string",
                "description": "The name of the package."
              },
              "user": {
                "type": "string",
                "description": "The user who has initiated the event"
              },
              "eventDate": {
                "type": "string",
                "description": "The date of the event occurred.",
                "format": "date-time"
              },
              "clientIP": {
                "type": "string",
                "description": "The client ip."
              },
              "action": {
                "description": "Indicates the action that performed eg. downloaded, deleted etc.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EventLogPackageStatus"
                  }
                ]
              }
            }
          }
        ]
      },
      "EventLogPackageStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Downloaded",
          "Copied",
          "Renamed",
          "Deleted",
          "RemovedFromSmartSignPlusWebsite",
          "ExportedPackageSnapshot"
        ],
        "x-enum-descriptions": [
          "Downloaded",
          "Copied",
          "Renamed",
          "Deleted",
          "Removed from SmartSign Plus Website",
          "Exported Package Snapshot"
        ],
        "enum": [
          "Downloaded",
          "Copied",
          "Renamed",
          "Deleted",
          "RemovedFromSmartSignPlusWebsite",
          "ExportedPackageSnapshot"
        ]
      },
      "IlienFileRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partySelections": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "filingState": {
                "description": "The state where the UCC1 will be filed.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "collateralDescription": {
                "type": "string",
                "description": "The collateral description printed on the UCC1 form.",
                "nullable": true
              },
              "ilienReferenceId": {
                "type": "string",
                "description": "The unique id of the UCC filing request.",
                "nullable": true
              },
              "orderReferenceId": {
                "type": "string",
                "description": "The unique id of the UCC filing request (GUID).",
                "nullable": true
              },
              "filingStatus": {
                "description": "The status of the UCC filing request.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FilingStatus"
                  }
                ]
              },
              "filingType": {
                "type": "string",
                "description": "The type of the UCC filing.",
                "nullable": true
              },
              "debtorNoIds": {
                "type": "array",
                "description": "Debtor Names",
                "items": {
                  "type": "string"
                }
              },
              "debtorNames": {
                "type": "array",
                "description": "Formatted debtor names containing ID, full name, and state information",
                "items": {
                  "type": "string"
                }
              },
              "submittedDate": {
                "type": "string",
                "description": "Date and time when Lien Request was submitted",
                "format": "date-time",
                "nullable": true
              },
              "apiErrors": {
                "type": "array",
                "description": "Api Errors",
                "items": {
                  "type": "string"
                }
              },
              "requestSubmittedDateTime": {
                "type": "string",
                "description": "Date and time when the request was submitted",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "FilingStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "InProgress",
          "InPreparation",
          "Filed",
          "OnHold",
          "Rejected",
          "Submitted",
          "Error"
        ],
        "x-enum-descriptions": [
          "Unknown",
          "In Progress",
          "In Preparation",
          "Filed",
          "On Hold",
          "Rejected",
          "Submitted",
          "Error"
        ],
        "enum": [
          "Unknown",
          "InProgress",
          "InPreparation",
          "Filed",
          "OnHold",
          "Rejected",
          "Submitted",
          "Error"
        ]
      },
      "IlienNotifications": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "dismissInProgressILienNotification": {
                "type": "boolean",
                "description": "Indicates whether to dismiss the iLien notification in the UI when the filing status is In Progress"
              },
              "dismissInPreparationILienNotification": {
                "type": "boolean",
                "description": "Indicates whether to dismiss the iLien notification in the UI when the filing status is In Preparation"
              },
              "iLienNotificationExpiry": {
                "type": "string",
                "description": "Date and time when the iLien notification expires (24 hours from creation)",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "SecurityAgreement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "tortClaimIndicator": {
                "type": "boolean",
                "description": "Indication whether Torm Claims applies",
                "nullable": true
              },
              "tortClaimDesc": {
                "type": "string",
                "description": "Description of the Tort Claims",
                "nullable": true
              },
              "includeHealthcareInsuranceReceivablesInd": {
                "type": "boolean",
                "description": "If true, the organization wants to include health-care-insurance-receivables in the Accounts description.",
                "nullable": true
              },
              "cropsGrownOrToBeGrownIndicator": {
                "type": "boolean",
                "description": "If true, collateral includes crops grown or to be grown",
                "nullable": true
              },
              "livestockPoultryProductionContractInd": {
                "type": "boolean",
                "description": "If true, there is a written agreement that provides for the raising and care of livestock or poultry, or both, by a grower for processing for human consumption for a contractor",
                "nullable": true
              },
              "realEstateRecordsFiledInd": {
                "type": "boolean",
                "description": "If true the collateral documentation should be filed in the real estate records.",
                "nullable": true
              },
              "modification": {
                "description": "Modification details associated with this security agreement.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Modification"
                  }
                ]
              }
            }
          }
        ]
      },
      "PledgeAgreement": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the Pledge Agreement.",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "StateSpecific": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "wiSubsidiaryName": {
                "type": "string",
                "description": "The name of the subsidiary.",
                "nullable": true
              },
              "wiSubsidiaryStreetAddress": {
                "type": "string",
                "description": "The first line of the subsidiary's street address.",
                "nullable": true
              },
              "wiSubsidiaryCity": {
                "type": "string",
                "description": "The city where the subsidiary is located.",
                "nullable": true
              },
              "wiSubsidiaryState": {
                "description": "The state where the subsidiary is located.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "wiSubsidiaryZip": {
                "type": "string",
                "description": "The postal code or zip code where the subsidiary is located.",
                "nullable": true
              },
              "wiInstrumentCopyIncludedInd": {
                "type": "boolean",
                "description": "If true copy of the instrument document agreement or contract is included.",
                "nullable": true
              },
              "wiNoticeOfRightToCancelOptionalInsInd": {
                "type": "boolean",
                "description": "If true, the borrower has purchased optional insurance coverages related to the Notice of Right to Cancel Optional Insurance Wisconsin.",
                "nullable": true
              },
              "wiOptionalInsuranceDescription": {
                "type": "string",
                "description": "A description of the optional insurance coverages that the borrower has purchased for the Notice of Right to Cancel Optional Insurance Wisconsin.",
                "nullable": true
              },
              "wiOptionalInsurancePremiumAmount": {
                "type": "number",
                "description": "The total dollar amount of the insurance premium.",
                "format": "decimal",
                "nullable": true
              },
              "kyIncludeKentuckyPartialPaymentApplOfPaymentsOrderInd": {
                "type": "boolean",
                "description": "If true, the lender wants Kentucky partial payment language from Kentucky Revised Statutes 360.020(2).",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceInd": {
                "type": "boolean",
                "description": "Select this option if the user wants the New Mexico Authorization For Lender To Obtain Insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceDate": {
                "type": "string",
                "description": "The date of the document.",
                "format": "date",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceBeneficiaryName": {
                "type": "string",
                "description": "The name of the contingent beneficiary if any",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceBeneficiaryAddress": {
                "type": "string",
                "description": "The address for the contingent beneficiary.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceCoverage1Desc": {
                "type": "string",
                "description": "A description of the coverage for the first insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceCoverage2Desc": {
                "type": "string",
                "description": "A description of the coverage for the second insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceCoverage3Desc": {
                "type": "string",
                "description": "A description of the coverage for the third insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceCoverage4Desc": {
                "type": "string",
                "description": "A description of the coverage for the fourth insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceCoverage5Desc": {
                "type": "string",
                "description": "A description of the coverage for the fifth insurance.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsuranceInsCompanyName": {
                "type": "string",
                "description": "The name of the insurance company.",
                "nullable": true
              },
              "nmAuthorizationToObtainInsurancePremium1Amount": {
                "type": "number",
                "description": "The premium for the first insurance.",
                "format": "decimal",
                "nullable": true
              },
              "nmAuthorizationToObtainInsurancePremium2Amount": {
                "type": "number",
                "description": "The premium for the second insurance.",
                "format": "decimal",
                "nullable": true
              },
              "nmAuthorizationToObtainInsurancePremium3Amount": {
                "type": "number",
                "description": "The premium for the third insurance.",
                "format": "decimal",
                "nullable": true
              },
              "nmAuthorizationToObtainInsurancePremium4Amount": {
                "type": "number",
                "description": "The premium for the fourth insurance.",
                "format": "decimal",
                "nullable": true
              },
              "nmAuthorizationToObtainInsurancePremium5Amount": {
                "type": "number",
                "description": "The premium for the fifth insurance.",
                "format": "decimal",
                "nullable": true
              },
              "marylandFeesDesc": {
                "type": "string",
                "description": "A description of the points loan origination fees loan discount fees and other similar fees the Borrower agrees to pay in connection with the note.",
                "nullable": true
              },
              "sd": {
                "type": "array",
                "description": "South Dakota",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SD"
                }
              },
              "maSmallBusinessInd": {
                "type": "boolean",
                "description": "If true there is at least one borrower that had gross revenues of $1,000,000.00 or less in its preceding fiscal year.",
                "nullable": true
              },
              "maSmallBusinessParties": {
                "type": "array",
                "description": "The borrowers identified as Massachusetts small businesses and their gross annual revenue.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/MASmallBusinessParty"
                }
              },
              "iaDeferralChargeInd": {
                "type": "boolean",
                "description": "If true a deferral fee is charged.",
                "nullable": true
              },
              "txFormTexasPledgeOfMultiplePartyAccountNoticeInd": {
                "type": "boolean",
                "description": "If true the Texas Pledge of Multiple Party Account Notice is included.",
                "nullable": true
              },
              "wiFormNoticeOfRelationShipWisconsinReceivedDate": {
                "type": "string",
                "description": "The date the Notice of Relationship (Wisconsin) was received.",
                "format": "date",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimateType": {
                "description": "The type of the third party fees total estimate.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ThirdPartyFeesTotalEstimateType"
                  }
                ]
              },
              "wiThirdPartyFeesTotalEstimateAmount": {
                "type": "number",
                "description": "The lump sum amount of the third party fees total estimate.",
                "format": "decimal",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimatePercent": {
                "type": "number",
                "description": "The percentage of the credit limit for the third party fees total estimate.",
                "format": "decimal",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimateRangeFromAmount": {
                "type": "number",
                "description": "The lower bound of the third party fees total estimate amount range.",
                "format": "decimal",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimateRangeToAmount": {
                "type": "number",
                "description": "The upper bound of the third party fees total estimate amount range.",
                "format": "decimal",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimateRangeFromPercent": {
                "type": "number",
                "description": "The lower bound of the third party fees total estimate percentage range.",
                "format": "decimal",
                "nullable": true
              },
              "wiThirdPartyFeesTotalEstimateRangeToPercent": {
                "type": "number",
                "description": "The upper bound of the third party fees total estimate percentage range.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "SD": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "alsoKnownAsName": {
                "type": "string",
                "description": "An 'also known as' or alternate name or names of the collateral owner.",
                "nullable": true
              },
              "courtImposedRestrictionsDesc": {
                "type": "string",
                "description": "Restrictions imposed on trustees of the owner by a court.",
                "nullable": true
              },
              "originalTrusteeNames": {
                "type": "string",
                "description": "The names of all the original trustees of an owner that is a trust.",
                "nullable": true
              },
              "trustProvisionsDesc": {
                "type": "string",
                "description": "Describe other pertinent trust provisions.",
                "nullable": true
              },
              "trustSupervisedInd": {
                "type": "boolean",
                "description": "If true, the trust is supervised by a court.",
                "nullable": true
              },
              "ownerId": {
                "type": "string",
                "description": "The unique identifier of the borrowing party associated with this SD record.",
                "nullable": true
              }
            }
          }
        ]
      },
      "MASmallBusinessParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyId": {
                "type": "string",
                "description": "The unique identifier of the borrowing party selected as a Massachusetts small business.",
                "nullable": true
              },
              "maGrossAnnualRevenue": {
                "type": "number",
                "description": "The party's gross annual revenue for its preceding full fiscal year.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "ThirdPartyFeesTotalEstimateType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "LumpSumAmount",
          "LumpSumFrom",
          "PercentageOfCreditLimit",
          "PercentageOfCreditLimitFrom"
        ],
        "x-enum-descriptions": [
          "",
          "Lump Sum Amount",
          "Lump Sum From",
          "Percentage of Credit Limit",
          "Percentage of Credit Limit From"
        ],
        "enum": [
          "Unknown",
          "LumpSumAmount",
          "LumpSumFrom",
          "PercentageOfCreditLimit",
          "PercentageOfCreditLimitFrom"
        ]
      },
      "SmartSignPackage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "sentToSmartSign": {
                "type": "boolean",
                "description": "Defines if a package is sent to SmartSign Plus.",
                "nullable": true
              },
              "packageName": {
                "type": "string",
                "description": "The name of the Package sent to SmartSign Plus.",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The type of Package sent to SmartSign Plus",
                "nullable": true
              },
              "date": {
                "type": "string",
                "description": "The date and time of when the package was sent to SmartSign Plus.",
                "format": "date-time",
                "nullable": true
              },
              "statusShort": {
                "type": "string",
                "description": "The general status of the package in SmartSign Plus",
                "nullable": true
              },
              "statusLong": {
                "type": "string",
                "description": "The full package status in SmartSign Plus",
                "nullable": true
              },
              "recipients": {
                "type": "array",
                "description": "Recipients is a list of Recipient objects associated with the package sent to SmartSign",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Recipient"
                }
              },
              "groups": {
                "type": "array",
                "description": "Groups is a list of Group objects associated with the package sent to SmartSign.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Group"
                }
              },
              "instanceId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Recipient": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ssn": {
                "type": "string",
                "description": "The SSN of the package recipient",
                "nullable": true
              },
              "identityVerificationInd": {
                "type": "boolean",
                "description": "Defines if identity verification is turned on when a Signer enters the SmartSign Plus signing room.",
                "nullable": true
              },
              "verificationTypes": {
                "description": "The Verification Type used if Identity Verification is enabled for a SmartSign Plus signing party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VerificationType"
                  }
                ]
              },
              "customPin": {
                "type": "string",
                "description": "The PIN the SmartSign Plus signing party will enter when entering the signing room if identity verification is enabled.",
                "nullable": true
              },
              "customPinHint": {
                "type": "string",
                "description": "The PIN hint text the SmartSign Plus signing party will see when entering the signing room if identity verification is enabled.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The Email Address of the SmartSign Plus signing party",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "The First Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The Middle Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The Last Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The Suffix of the SmartSign Plus signing party",
                "nullable": true
              },
              "cellPhone": {
                "type": "string",
                "description": "The Cell Phone of the SmartSign Plus signing party",
                "nullable": true
              },
              "fullName": {
                "type": "string",
                "description": "The Full Name of the SmartSign Plus signing party",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The type of Package sent to SmartSign Plus",
                "nullable": true
              }
            }
          }
        ]
      },
      "VerificationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CustomPIN"
        ],
        "enum": [
          "CustomPIN"
        ]
      },
      "Group": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The SmartSign Plus Group Name",
                "nullable": true
              }
            }
          }
        ]
      },
      "MigrationHistoryEntry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "timestampUtc": {
            "type": "string",
            "format": "date-time"
          },
          "action": {
            "type": "string"
          },
          "fromVersion": {
            "type": "integer",
            "format": "int32"
          },
          "toVersion": {
            "type": "integer",
            "format": "int32"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeRecord"
            }
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/MigrationStepStatus"
          }
        }
      },
      "ChangeRecord": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "location": {
            "type": "string"
          },
          "changedDataPoint": {
            "type": "string"
          },
          "oldValue": {
            "type": "string",
            "nullable": true
          },
          "newValue": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "MigrationStepStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Success",
          "PartialSuccess",
          "Failed",
          "Rollback",
          "Skipped"
        ],
        "enum": [
          "Success",
          "PartialSuccess",
          "Failed",
          "Rollback",
          "Skipped"
        ]
      },
      "MigrationNotificationEntity": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "sourceVersion": {
                "type": "integer",
                "format": "int32"
              },
              "targetVersion": {
                "type": "integer",
                "format": "int32"
              },
              "level": {
                "$ref": "#/components/schemas/MigrationNotificationLevel"
              },
              "message": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "isDismissed": {
                "type": "boolean"
              },
              "dismissedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "unmigratedItems": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ChangeRecord"
                }
              },
              "dismissedBy": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "MigrationNotificationLevel": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Info",
          "Warning",
          "Error"
        ],
        "enum": [
          "Info",
          "Warning",
          "Error"
        ]
      },
      "LendingParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "The type of the lending party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LendingPartyType"
                  }
                ]
              },
              "link": {
                "description": "Indicates where the tax bills will be sent..",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CompanyType"
                  }
                ]
              },
              "deliveryType": {
                "description": "Indicates the manner in which the document will be returned once it has been recorded.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryType"
                  }
                ]
              },
              "cafNumberDesc": {
                "type": "string",
                "description": "The lender's Centralized Authorization File (CAF) number.\r\n",
                "nullable": true
              },
              "city": {
                "type": "string",
                "description": "The city of the primary address of the financial organization.\r\n",
                "nullable": true
              },
              "desc": {
                "type": "string",
                "description": "Describes the financial organization",
                "nullable": true
              },
              "streetLine1": {
                "type": "string",
                "description": "A line of the main financial organization street address (excluding city state and postal code).\r\n",
                "nullable": true
              },
              "termTypeOtherDesc": {
                "type": "string",
                "description": "A description of the other term used to describe the financial institution (other than Bank or Lender).",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "Title of Loan Officer.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the lending party.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the lending party.",
                "nullable": true
              },
              "fax": {
                "type": "string",
                "description": "The fax number of the lending party.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The email address of the lending party.",
                "nullable": true
              },
              "address": {
                "description": "The address of the lending party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "nmlsId": {
                "type": "string",
                "description": "The NMLS Identifier of the lender.",
                "nullable": true
              },
              "licenseNumber": {
                "type": "string",
                "description": "The license number of the lending party.",
                "nullable": true
              },
              "taxId": {
                "type": "string",
                "description": "This item is used to specify the lender's federal tax identification number (TIN).\r\n",
                "nullable": true
              },
              "barNumber": {
                "type": "string",
                "description": "The bar number of the lending party.",
                "nullable": true
              },
              "organizedUnder": {
                "type": "string",
                "description": "The organization under which the lending party is organized.",
                "nullable": true
              },
              "loanNo": {
                "type": "string",
                "description": "The loan number.",
                "nullable": true
              },
              "legal": {
                "type": "string",
                "description": "The legal description.",
                "nullable": true
              },
              "exemptInd": {
                "type": "boolean",
                "description": "If true, the financial organization is exempt from state licensing requirements. Licensing requirements are different by state, so all organizations, including federally regulated organizations, need to review and understand the requirements of the states they operate in to validate whether they are exempt from state requirements.\r\n",
                "nullable": true
              },
              "stateLicensingExemptIndicator": {
                "type": "boolean",
                "description": "Indicates if the lending party is exempt from state licensing."
              },
              "caFinanceLenderLicenseInd": {
                "type": "boolean",
                "description": "If true, the Lender has a California Consumer Finance Lending License.\r\n",
                "nullable": true
              },
              "officer": {
                "description": "The supporting party officer.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "cust": {
                "type": "boolean",
                "description": "Indicates if this is a customer."
              },
              "txocccLicenseInd": {
                "type": "boolean",
                "description": "If true, the lender is licensed by the Texas Office of Consumer Credit Commissioner.",
                "nullable": true
              },
              "jurisdiction": {
                "description": "The jurisdiction of the lending party.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "charter": {
                "description": "The charter type of the lender.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Charter"
                  }
                ]
              },
              "establishedState": {
                "description": "The state or jurisdiction that chartered the financial institution.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EstablishedState"
                  }
                ]
              },
              "state": {
                "description": "The state where the financial organization is located.\r\n.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "faxNumber": {
                "type": "string",
                "description": "The facsimile number of the lender.\r\n",
                "nullable": true
              },
              "njConsumerFinanceLicenseInd": {
                "type": "boolean",
                "description": "Lender is subject to Consumer Finance Licensing\r\n",
                "nullable": true
              },
              "njResidentialMortgageLendingActLicenseInd": {
                "type": "boolean",
                "description": "Lender is subject to Mortgage Lending Licensing Act\r\n",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "description": "The ZIP or postal code of the primary address of the financial organization.\r\n",
                "nullable": true
              },
              "termType": {
                "description": "Specifies the term used to describe the financial institution (Bank Lender or a user defined option).",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TermType"
                  }
                ]
              },
              "branches": {
                "type": "array",
                "description": "Branch",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Branch"
                }
              },
              "branch": {
                "description": "The branch where the Loan File is created",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Branch"
                  }
                ]
              },
              "collateralRelatedParty": {
                "description": "Collateral related party",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralRelatedParty"
                  }
                ]
              },
              "supportingParty": {
                "description": "Supporting party",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              },
              "additionalAddresses": {
                "type": "array",
                "description": "The additional addresses for the lending party organization.",
                "items": {
                  "$ref": "#/components/schemas/AdditionalAddress"
                }
              },
              "orgStateLicenseNumber": {
                "type": "string",
                "description": "The state license number of the lender.",
                "nullable": true
              },
              "legalEntityId": {
                "type": "string",
                "description": "Legal Entity Identifier (LEI) is a unique 20-character alphanumeric code assigned to a financial institution to identify it in HMDA reporting. The LEI enables regulators and the public to track and distinguish institutions involved in mortgage lending activities.",
                "nullable": true
              }
            }
          }
        ]
      },
      "LendingPartyType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "BankHoldingCompany",
          "Corporation",
          "CreditUnion",
          "FederallyCharteredCooperative",
          "FinanceCompany",
          "LeasingCompany",
          "LimitedLiabilityCompany",
          "MortgageCompany",
          "NationalBank",
          "Other",
          "RetailSalesDealer",
          "SavingsAndLoanHoldingCompany",
          "SavingsAssociationOrLoan",
          "SavingsBank",
          "StateMemberBank",
          "StateNonMemberBank"
        ],
        "x-enum-descriptions": [
          "Bank Holding Company",
          "Corporation",
          "Credit Union",
          "Federally Chartered Cooperative",
          "Finance Company",
          "Leasing Company",
          "Limited Liability Company",
          "Mortgage Company",
          "National Bank",
          "Other",
          "Retail Sales Dealer",
          "Savings and Loan Holding Company",
          "Savings Association / Savings and Loan",
          "Savings Bank",
          "State Member Bank",
          "State Non-member Bank"
        ],
        "enum": [
          "BankHoldingCompany",
          "Corporation",
          "CreditUnion",
          "FederallyCharteredCooperative",
          "FinanceCompany",
          "LeasingCompany",
          "LimitedLiabilityCompany",
          "MortgageCompany",
          "NationalBank",
          "Other",
          "RetailSalesDealer",
          "SavingsAndLoanHoldingCompany",
          "SavingsAssociationOrLoan",
          "SavingsBank",
          "StateMemberBank",
          "StateNonMemberBank"
        ]
      },
      "Charter": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Federal",
          "State"
        ],
        "x-enum-descriptions": [
          "Federal",
          "State"
        ],
        "enum": [
          "Federal",
          "State"
        ]
      },
      "TermType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Bank",
          "Lender",
          "Other"
        ],
        "x-enum-descriptions": [
          "Bank",
          "Lender",
          "Other"
        ],
        "enum": [
          "Bank",
          "Lender",
          "Other"
        ]
      },
      "Branch": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "branchCode": {
                "type": "string",
                "description": "The unique branch code",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The branch name",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The electronic mail address of the branch.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number for branch",
                "nullable": true
              },
              "address": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            }
          }
        ]
      },
      "CollateralRelatedParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "preparedBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "returnedTo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "recordingRequestedBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              }
            }
          }
        ]
      },
      "AdditionalAddress": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "addressType": {
                "description": "The type of additional address being provided for the financial organization.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressType"
                  }
                ]
              },
              "businessName": {
                "type": "string",
                "description": "The name of the individual or department to contact with questions about the transaction.",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "description": "The first name of the contact person for the financial organization.",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "description": "The last name of the contact person for the financial organization.",
                "nullable": true
              },
              "mailboxId": {
                "type": "string",
                "description": "The IRS Secure Object Repository (SOR) mailbox ID. This is currently only being used for OrgAdditionalAddressType of 48 (IRS Contact Information) and 91 (IVES Participant) on the 4506C form.",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "description": "The middle name of the contact person for the financial organization.",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "description": "The phone number of the contact person for the financial organization.",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "description": "The suffix to the name of the contact person for the organization.",
                "nullable": true
              },
              "participantIDNumberDesc": {
                "type": "string",
                "description": "The ID number for the participant",
                "nullable": true
              },
              "partyType": {
                "description": "The party type used for additional address",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestedPartyType"
                  }
                ]
              },
              "address": {
                "description": "The address of the contact person for the financial organization.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "emailAddress": {
                "type": "string",
                "description": "The email address used to contact the organization at the specified address.",
                "nullable": true
              },
              "faxNumber": {
                "type": "string",
                "description": "The fax number of the contact person for the financial organization.",
                "nullable": true
              },
              "tollFreeNumber": {
                "type": "string",
                "description": "The toll free phone number of the contact person for the financial organization.",
                "nullable": true
              },
              "webAddress": {
                "type": "string",
                "description": "The website address of the department.",
                "nullable": true
              },
              "phoneExt": {
                "type": "string",
                "description": "Indicates phone extension for Org contact.",
                "nullable": true
              },
              "tollFreeExt": {
                "type": "string",
                "description": "The toll free phone extension of the contact person for the financial organization.",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "The Title of the contact person for the financial organization.",
                "nullable": true
              }
            }
          }
        ]
      },
      "AddressType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PrivacyInquiries",
          "ComplaintDepartment",
          "Unknown",
          "IRSContactInformation",
          "IVESParticipant",
          "LoanServicing",
          "LoanProcessing",
          "PayoffNotificationOrFinancialInformationRelease",
          "FCRAInaccurateInformation",
          "EvidenceOfInsurance",
          "ConsumerServicing",
          "GAPCancellationNotice",
          "LenderSecurityInstrumentsAndRiders",
          "LenderNotesAndAddenda",
          "Verification",
          "MilitaryLendingActContact",
          "ClientCompany"
        ],
        "x-enum-descriptions": [
          "Privacy Inquiries",
          "Complaint Department",
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null
        ],
        "enum": [
          "PrivacyInquiries",
          "ComplaintDepartment",
          "Unknown",
          "IRSContactInformation",
          "IVESParticipant",
          "LoanServicing",
          "LoanProcessing",
          "PayoffNotificationOrFinancialInformationRelease",
          "FCRAInaccurateInformation",
          "EvidenceOfInsurance",
          "ConsumerServicing",
          "GAPCancellationNotice",
          "LenderSecurityInstrumentsAndRiders",
          "LenderNotesAndAddenda",
          "Verification",
          "MilitaryLendingActContact",
          "ClientCompany"
        ]
      },
      "LoanSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "package": {
                "type": "string",
                "description": "The name of the package.",
                "nullable": true
              },
              "orderPreviewPackage": {
                "type": "boolean",
                "description": "A value indicating whether [order preview package]."
              },
              "duplexPrinting": {
                "type": "boolean",
                "description": "A value indicating whether [duplex printing]."
              },
              "includedDocuments": {
                "description": "The included documents.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IncludedDocument"
                  }
                ]
              },
              "documentsPackageFormat": {
                "description": "The documents package format eg. PDF and RTF.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DocumentsPackageFormat"
                  }
                ]
              },
              "packageType": {
                "description": "The type of the package - Closing.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              },
              "packageSelectedDocuments": {
                "type": "array",
                "description": "The document list.: list of selected documents on Audit and order page",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PackageDocument"
                }
              },
              "packageFulfillmentPlatformTypes": {
                "description": "The fulfillment platform the document package should be sent to when it is ordered.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageFulfillmentPlatformType"
                  }
                ]
              },
              "packageFulfillmentDeliveryTypes": {
                "description": "How the document package will be delivered to loan parties when it is sent to a fulfillment platform.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageFulfillmentDeliveryType"
                  }
                ]
              },
              "recipients": {
                "type": "array",
                "description": "Recipients is a list of Recipient objects associated with the package sent to SmartSign",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Recipient"
                }
              },
              "applyWatermarkInd": {
                "type": "boolean",
                "description": "If true, the watermark will apply to the generated documents.",
                "nullable": true
              },
              "watermarkContent": {
                "type": "string",
                "description": "The watermark content selected from Company Settings.",
                "nullable": true
              },
              "forceDraftWatermarkInd": {
                "type": "boolean",
                "description": "If true, a DRAFT watermark is forced onto all generated documents regardless of the Apply Watermark selection.",
                "nullable": true
              }
            }
          }
        ]
      },
      "IncludedDocument": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "FullPackage",
          "ChooseSpecificDocuments"
        ],
        "x-enum-descriptions": [
          "Full Package",
          "Choose Specific Documents"
        ],
        "enum": [
          "FullPackage",
          "ChooseSpecificDocuments"
        ]
      },
      "PackageDocument": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "documentId": {
                "type": "string",
                "description": "The Document identifier, of selected document"
              },
              "documentName": {
                "type": "string",
                "description": "The name of the document, of selected document"
              },
              "fileName": {
                "type": "string",
                "description": "The file name of the selected document"
              },
              "isSelected": {
                "type": "boolean",
                "description": "It holds true if document is selected on UI"
              }
            }
          }
        ]
      },
      "PackageFulfillmentPlatformType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "SmartSignPlus"
        ],
        "enum": [
          "Unknown",
          "SmartSignPlus"
        ]
      },
      "PackageFulfillmentDeliveryType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "ElectronicSignature"
        ],
        "enum": [
          "Unknown",
          "ElectronicSignature"
        ]
      },
      "BusinessReportItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyNoId": {
                "type": "string",
                "description": "Name of the Party for whom the Business report was ordered.",
                "nullable": true
              },
              "equifaxInd": {
                "type": "boolean",
                "description": "This element indicates whether Equifax is selected as a Credit Bureau for Business report.",
                "nullable": true
              },
              "experianInd": {
                "type": "boolean",
                "description": "This element indicates whether Experian is selected as a Credit Bureau for Business report.",
                "nullable": true
              },
              "creditBureauType": {
                "type": "string",
                "description": "The credit bureau selected for the business report.",
                "nullable": true
              },
              "mustReorderBusinessReportInd": {
                "type": "boolean",
                "description": "Describes if Business report reorder is required, because of Legal Entity detail change on the Loan file. Set to '1', when the Legal Entity included in the Business report has its details (name, EIN, address) modified, party type changed, or the Legal Entity was deleted from the Loan file; othervise set to '0'.",
                "nullable": true
              },
              "orderResults": {
                "description": "Order results for the business report.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResults"
                  }
                ]
              }
            }
          }
        ]
      },
      "Asset": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "assetOwners": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AssetOwnerRef"
                }
              },
              "accountBalanceAmount": {
                "type": "number",
                "description": "The current account balance of the Asset account.",
                "format": "decimal",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "description": "The account number for the associated Asset item",
                "nullable": true
              },
              "type": {
                "description": "The Asset  type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TypeOfInvestment"
                  }
                ]
              },
              "description": {
                "type": "string",
                "description": "The description of an Asset when the Asset Type is Other.",
                "nullable": true
              },
              "unpaidBalanceAmount": {
                "type": "number",
                "description": "The current account balance of the Asset account.",
                "format": "decimal",
                "nullable": true
              },
              "heldByDesc": {
                "type": "string",
                "description": "The name or names of the parties who own the Asset. For example John H. Smith, Judy R. Jones.",
                "nullable": true
              },
              "marketValueAmount": {
                "type": "number",
                "description": "The market value of the associated Asset item.",
                "format": "decimal",
                "nullable": true
              },
              "currentCashValue": {
                "type": "number",
                "description": "The current cash value of the Asset when the Asset Type is Life Insurance.",
                "format": "decimal",
                "nullable": true
              },
              "earnestMoneyHolderDesc": {
                "type": "string",
                "description": "The holder of the Asset when the Asset Type is Earnest Money Cash.",
                "nullable": true
              },
              "makeDesc": {
                "type": "string",
                "description": "The make of the Asset when the Asset Type is Motor Vehicle.",
                "nullable": true
              },
              "year": {
                "type": "string",
                "description": "The year of the Asset when the Asset Type is Motor Vehicle.",
                "nullable": true
              },
              "partyNoId": {
                "type": "array",
                "description": "The unique identifier of each party who owns this particular Asset. Set from BorrowingParty[].Id . Multiple IDs could be passed and separated with a space (i.e. <PartyNoId>61181 62205</PartyNoId>).",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "AssetOwnerRef": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyNoId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "TypeOfInvestment": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Investment",
          "LifeInsurance",
          "BankDeposit",
          "MotorVehicle",
          "Watercraft",
          "RealEstate",
          "CashOnHand",
          "LoansAndReceivables",
          "OtherPersonalProperty",
          "TaxPreferredAccounts",
          "RetirementFund",
          "NetWorthofBusinessOwned",
          "EarnestMoneyCash",
          "Other"
        ],
        "x-enum-descriptions": [
          null,
          "Investment",
          "Life Insurance",
          "Bank Deposit",
          "Motor Vehicle",
          "Watercraft",
          "Real Estate",
          "Cash On Hand",
          "Loans And Receivables",
          "Other Personal Property",
          "Tax Preferred Accounts",
          "Retirement Fund",
          "Net Worth of Business Owned",
          "Earnest Money Cash",
          " 999 = Other"
        ],
        "enum": [
          "Unknown",
          "Investment",
          "LifeInsurance",
          "BankDeposit",
          "MotorVehicle",
          "Watercraft",
          "RealEstate",
          "CashOnHand",
          "LoansAndReceivables",
          "OtherPersonalProperty",
          "TaxPreferredAccounts",
          "RetirementFund",
          "NetWorthofBusinessOwned",
          "EarnestMoneyCash",
          "Other"
        ]
      },
      "Insurance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the insurance company through which the property insurance is obtained.",
                "nullable": true
              },
              "address": {
                "description": "The insurance company address information.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "phone": {
                "type": "string",
                "description": "The insurance company phone number.",
                "nullable": true
              },
              "agency": {
                "description": "The insurance agency through which the property insurance is obtained.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Agency"
                  }
                ]
              },
              "agentName": {
                "type": "string",
                "description": "The name of the property insurance agent name.",
                "nullable": true
              },
              "coverageAmount": {
                "type": "number",
                "description": "The amount of insurance coverage provided.",
                "format": "decimal",
                "nullable": true
              },
              "coverageProofDate": {
                "type": "string",
                "description": "The date by which proof of insurance coverage must be provided. If calculated, it will default the Closing Date.",
                "format": "date",
                "nullable": true
              },
              "policyEndDate": {
                "type": "string",
                "description": "The end date of the insurance policy covering the collateral. If calculated, it will default the Maturity Date.",
                "format": "date",
                "nullable": true
              },
              "policyNumber": {
                "type": "string",
                "description": "The insurance policy identification number.",
                "nullable": true
              },
              "policyStartDate": {
                "type": "string",
                "description": "The start date of the insurance policy covering the collateral.",
                "format": "date",
                "nullable": true
              },
              "purchasedFromLenderInd": {
                "type": "boolean",
                "description": "If true, indicates that the insurance is being obtained from the Lender.",
                "nullable": true
              },
              "coverageRisksDesc": {
                "type": "string",
                "description": "A description of the property insurance coverage risks.",
                "nullable": true
              },
              "maximumDeductibleAmount": {
                "type": "number",
                "description": "The maximum deductible amount allowed on the property insurance for the collateral.",
                "format": "decimal",
                "nullable": true
              },
              "termInMonths": {
                "type": "integer",
                "description": "The term of the property insurance coverage in months.",
                "format": "int32",
                "nullable": true
              },
              "policyInformationDesc": {
                "type": "string",
                "description": "A description of the insurance policy.",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "description": "This identifies any additional information other than loan number and loan amount that identifies the underlying transaction; for example the maturity date inception date payment frequency etc.",
                "nullable": true
              },
              "coverageOtherText": {
                "type": "string",
                "description": "This identifies any additional coverage information (additional details special coverages required etc.)",
                "nullable": true
              },
              "securedPartyStatus": {
                "description": "This item identifies how the secured party should be listed on the insurance policy.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecuredPartyStatus"
                  }
                ]
              },
              "securedPartyStatusOtherDesc": {
                "type": "string",
                "description": "A description of the 'other' status of the secured party or lessor under the policy.",
                "nullable": true
              },
              "premium": {
                "type": "number",
                "description": "The dollar amount of the premium for property insurance if purchased through Lender.",
                "format": "decimal",
                "nullable": true
              },
              "propertyInsApprovedInd": {
                "type": "boolean",
                "description": "If true, the transaction is subject to Texas Finance Code Chapter 342 and premium quoted has been fixed or approved by the Texas Department of Insurance.",
                "nullable": true
              },
              "insCancellationRefundMethod": {
                "description": "If Insurance is purchased from the lender, this field defines how a borrower may get a refund if Insurance is cancelled (WI only)",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InsCancellationRefund"
                  }
                ]
              },
              "insCancelledCheckAmount": {
                "type": "number",
                "description": "The amount of the premium that will be sent to the borrower via check for the cancelled Insurance.",
                "format": "decimal",
                "nullable": true
              },
              "insCancelledCreditAmount": {
                "type": "number",
                "description": "The amount of the premium that will be credited to the borrower's loan for the cancelled Insurance.",
                "format": "decimal",
                "nullable": true
              },
              "maximumDeductibleDesc": {
                "type": "string",
                "description": "The maximum deductible description allowed on the property insurance for the collateral",
                "nullable": true
              },
              "policyBasisDesc": {
                "type": "string",
                "description": "A description of the basis for insurance coverage on the collateral (for example replacement cost or full value)",
                "nullable": true
              },
              "policyEndorsementDesc": {
                "type": "string",
                "description": "A description of the type of insurance policy or endorsement for the collateral",
                "nullable": true
              },
              "maximumDeductibleToggle": {
                "description": "The toggle to indicate whether maximum deductible amount or description should be printed on documents",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaximumDeductibleToggle"
                  }
                ]
              },
              "insuredCollateral": {
                "type": "array",
                "description": "The Collateral Items linked to the Insurance record",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuredCollateral"
                }
              }
            }
          }
        ]
      },
      "Agency": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the insurance agency through which the property insurance is obtained.",
                "nullable": true
              },
              "address": {
                "description": "The insurance agency address information.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "phone": {
                "type": "string",
                "description": "The insurance agency phone number.",
                "nullable": true
              }
            }
          }
        ]
      },
      "SecuredPartyStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Lienholder",
          "CertificateHolder",
          "AdditionalInsured",
          "Mortgagee",
          "Other"
        ],
        "x-enum-descriptions": [
          "Lienholder",
          "Certificate Holder",
          "Additional Insured",
          "Mortgagee",
          "Other"
        ],
        "enum": [
          "Lienholder",
          "CertificateHolder",
          "AdditionalInsured",
          "Mortgagee",
          "Other"
        ]
      },
      "InsCancellationRefund": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "LenderWillCreditAgainstLoanBalance",
          "SendACheckForPremium",
          "IssueCreditForPremium"
        ],
        "x-enum-descriptions": [
          "Lender Will Credit Against Loan Balance if Insurance is Cancelled",
          "Send a Check for Premium if Lender Supplied Insurance is Cancelled",
          "Issue a Credit for Premium if Lender Supplied Insurance is Cancelled"
        ],
        "enum": [
          "LenderWillCreditAgainstLoanBalance",
          "SendACheckForPremium",
          "IssueCreditForPremium"
        ]
      },
      "MaximumDeductibleToggle": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Amount",
          "Description"
        ],
        "enum": [
          "Amount",
          "Description"
        ]
      },
      "InsuredCollateral": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "securityAgreementId": {
                "type": "string",
                "nullable": true
              },
              "collateralId": {
                "type": "string",
                "nullable": true
              },
              "desc": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "RequestResponseInformation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "filename": {
                "type": "string",
                "description": "Name of the file associated with this instance.",
                "nullable": true
              },
              "sdcType": {
                "description": "Type of the SDC (Secondary Data Capture) associated with this instance.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SdcType"
                  }
                ]
              }
            }
          }
        ]
      },
      "SdcType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Loan",
          "Party",
          "Other"
        ],
        "x-enum-descriptions": [
          "Loan",
          "Party",
          "Other"
        ],
        "enum": [
          "Loan",
          "Party",
          "Other"
        ]
      },
      "SubordinatedDebt": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LockableDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "borrower": {
                "type": "string",
                "description": "Name of the borrower of the subordianted debt",
                "nullable": true
              },
              "creditor": {
                "type": "string",
                "description": "Name of the creditor of the subordianted debt",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "description": "The dollar amount owed by the borrower to the creditor. NOTE:  The amount of the subordinated debt.",
                "format": "decimal",
                "nullable": true
              },
              "indebtednessSecuredInd": {
                "type": "boolean",
                "description": "If true the borrower's indebtedness to the creditor is secured.",
                "nullable": true
              },
              "underlyingNoteInd": {
                "type": "boolean",
                "description": "If true there is an underlying note representing the debt.",
                "nullable": true
              },
              "paymentsPermitted": {
                "type": "boolean",
                "description": "If true exception payments are permitted on the subordinated debt.",
                "nullable": true
              },
              "paymentExceptionType": {
                "description": "The type of exception payments permitted on the subordinated debt.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentExceptionType"
                  }
                ]
              },
              "limitedMaximumType": {
                "description": "The limited maximum of an exception payment on the subordinated debt.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LimitedMaximumType"
                  }
                ]
              },
              "permittedPaymentsAmount": {
                "type": "number",
                "description": "The dollar amount of payments permitted to be paid within a certain period on subordinated debt.",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "PaymentExceptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "InterestOnly",
          "InterestandPrincipal"
        ],
        "enum": [
          "Unknown",
          "InterestOnly",
          "InterestandPrincipal"
        ]
      },
      "LimitedMaximumType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "NoLimit",
          "MonthlyLimit",
          "AnnualLimit"
        ],
        "enum": [
          "Unknown",
          "NoLimit",
          "MonthlyLimit",
          "AnnualLimit"
        ]
      },
      "AuditValidation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "validationItemLinkId": {
            "type": "string",
            "nullable": true
          },
          "validationItem": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ValidationItem"
              }
            ]
          },
          "responseStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ResponseStatus"
              }
            ]
          },
          "routeURL": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ValidationItem": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Credit",
          "Docgen",
          "CustomerSearch",
          "ILien",
          "HMDA",
          "Flood",
          "CustomerCreate",
          "LoanUpload"
        ],
        "enum": [
          "Credit",
          "Docgen",
          "CustomerSearch",
          "ILien",
          "HMDA",
          "Flood",
          "CustomerCreate",
          "LoanUpload"
        ]
      },
      "ResponseStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Fail",
          "Success"
        ],
        "enum": [
          "Fail",
          "Success"
        ]
      },
      "TemplateStatusType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Inactive",
          "Active"
        ],
        "enum": [
          "Inactive",
          "Active"
        ]
      },
      "FieldAttributeEntry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "viewModelType": {
            "type": "string",
            "nullable": true
          },
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "rowContext": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeRowContext"
            }
          },
          "fieldName": {
            "type": "string"
          },
          "attribute": {
            "$ref": "#/components/schemas/FieldAttributeType"
          },
          "appliesTo": {
            "$ref": "#/components/schemas/FieldAppliesTo"
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "extraKey": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "FieldAttributeRowContext": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collectionPath": {
            "type": "string"
          },
          "itemId": {
            "type": "string"
          }
        }
      },
      "FieldAttributeType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "Required",
          "Protected",
          "Disabled"
        ],
        "enum": [
          "None",
          "Required",
          "Protected",
          "Disabled"
        ]
      },
      "FieldAppliesTo": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Field",
          "GridRowEdit",
          "GridRowDelete",
          "ActionButton",
          "DropdownOption"
        ],
        "enum": [
          "Field",
          "GridRowEdit",
          "GridRowDelete",
          "ActionButton",
          "DropdownOption"
        ]
      },
      "ProblemDetails": {
        "type": "object",
        "additionalProperties": {
          "nullable": true
        },
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CopyRequest": {
        "type": "object",
        "description": "Request body for the POST .../actions/copy endpoint (wiki §4.2).\nAll fields except LoanNumber are read-only in the UI modal —\nthey are pre-filled from the source loan and cannot be edited (wiki §1.2).",
        "additionalProperties": false,
        "properties": {
          "loanNumber": {
            "type": "string",
            "description": "Gets or sets the loan number to assign to the copied loan file.\nThe UI sends this empty by default; the user may enter a value before submitting (wiki §1.2).\nMaps to LoanFile.Loans[0].LoanNumber.",
            "nullable": true
          }
        }
      },
      "ApiResponse": {
        "type": "object",
        "description": "Class: ApiResponse.",
        "additionalProperties": false,
        "properties": {
          "messages": {
            "type": "array",
            "description": "Gets or sets the messages.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ModelState": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyState"
            }
          }
        }
      },
      "PropertyState": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "templateFieldPath": {
            "type": "string",
            "nullable": true
          },
          "templateRowScoped": {
            "type": "boolean"
          },
          "templateInstanceId": {
            "type": "string",
            "nullable": true
          },
          "templateViewModelType": {
            "type": "string",
            "nullable": true
          },
          "rowFieldAttributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntry"
            }
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "screen": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "visibilityLogic": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConditionalLogic"
            }
          },
          "inputMask": {
            "type": "string",
            "nullable": true
          },
          "maxCharacters": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "validationLogic": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConditionalLogic"
            }
          },
          "validationMessage": {
            "type": "string",
            "nullable": true
          },
          "requiredMessage": {
            "type": "string",
            "nullable": true
          },
          "toolTip": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "visible": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "defaultValue": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "options": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "order": {
            "type": "number",
            "format": "double"
          },
          "isAvailable": {
            "type": "boolean"
          },
          "innerState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModelState"
              }
            ]
          },
          "enabledLogic": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConditionalLogic"
            }
          },
          "retentionLogic": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConditionalLogic"
            }
          },
          "noOfRequiredItems": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "addButtonTitle": {
            "type": "string",
            "nullable": true
          },
          "removeButtonTitle": {
            "type": "string",
            "nullable": true
          },
          "valueChangeSubscription": {
            "type": "string",
            "nullable": true
          },
          "maxOccurrence": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/MaxOccurrence"
            }
          },
          "dropDownOptionLogic": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/DropDownOptionLogic"
            }
          },
          "copyToClipboard": {
            "type": "boolean"
          },
          "showCharacterCount": {
            "type": "boolean"
          },
          "titleTemplate": {
            "type": "string",
            "nullable": true
          },
          "titleCollapsedTemplate": {
            "type": "string",
            "nullable": true
          },
          "formatter": {
            "type": "string",
            "nullable": true
          },
          "dataFieldProps": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DataFieldProps"
              }
            ]
          },
          "listName": {
            "type": "string",
            "nullable": true
          },
          "buttonProps": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ButtonProps"
              }
            ]
          },
          "toolTipPosition": {
            "type": "string",
            "nullable": true
          },
          "textAreaRows": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shouldIncludeThousandSeparator": {
            "type": "boolean",
            "nullable": true
          },
          "updateLeftNavWhenValueChangedInd": {
            "type": "boolean"
          },
          "minCharacters": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "piiMaskCount": {
            "type": "string",
            "nullable": true
          },
          "redirectionLink": {
            "type": "string",
            "nullable": true
          },
          "hideDropdownOptionWhenSelected": {
            "type": "boolean",
            "nullable": true
          },
          "truncateLabel": {
            "type": "boolean",
            "nullable": true
          },
          "alternativeTitle": {
            "type": "string",
            "nullable": true
          },
          "isAsciiOnly": {
            "type": "boolean",
            "nullable": true
          },
          "mappingPath": {
            "type": "string",
            "nullable": true
          },
          "templateAttribute": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FieldAttributeType"
              }
            ]
          },
          "isTemplateMode": {
            "type": "boolean"
          },
          "isSystemRequired": {
            "type": "boolean"
          },
          "isSystemProtected": {
            "type": "boolean"
          },
          "keyRestrictions": {
            "type": "string",
            "nullable": true
          },
          "noConsecutiveSpace": {
            "type": "boolean",
            "nullable": true
          },
          "showValueOnHover": {
            "type": "boolean",
            "nullable": true
          },
          "disableAutocomplete": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "ConditionalLogic": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "logicalOperator": {
            "type": "string"
          },
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Condition"
            }
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Condition": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fieldName": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "innerState": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Condition"
            }
          },
          "groupId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "MaxOccurrence": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "enumValue": {
            "type": "string"
          },
          "defaultMaxOccurrence": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxOccurrenceLogic": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MaxOccurrenceLogic"
              }
            ]
          },
          "shouldHide": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "MaxOccurrenceLogic": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "maxOccurrence": {
            "type": "integer",
            "format": "int32"
          },
          "dependantFieldName": {
            "type": "string"
          },
          "dependantFieldValue": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DropDownOptionLogic": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dependantFieldName": {
            "type": "string"
          },
          "dependantFieldValue": {
            "type": "string"
          },
          "dropdownOptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "conditions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Condition"
            }
          }
        }
      },
      "DataFieldProps": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formatter": {
            "type": "string",
            "nullable": true
          },
          "cssClass": {
            "type": "string",
            "nullable": true
          },
          "headerClass": {
            "type": "string",
            "nullable": true
          },
          "dataClass": {
            "type": "string",
            "nullable": true
          },
          "sortable": {
            "type": "boolean"
          },
          "action": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ButtonProps": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          },
          "iconRight": {
            "type": "string",
            "nullable": true
          },
          "iconLeft": {
            "type": "string",
            "nullable": true
          },
          "cssClass": {
            "type": "string",
            "nullable": true
          },
          "spinner": {
            "type": "boolean",
            "nullable": true
          },
          "spinnerLabel": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ApplicationListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfApplicationListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfApplicationListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfApplicationListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfApplicationListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ApplicationListInfo"
              }
            ]
          }
        }
      },
      "ApplicationListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "isAddApplicationDisable": {
                "type": "boolean"
              },
              "applicationSummaryInfos": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ApplicationSummaryInfo"
                }
              }
            }
          }
        ]
      },
      "ApplicationSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "applicationId": {
            "type": "string",
            "nullable": true
          },
          "applicants": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "creditType": {
            "type": "string",
            "nullable": true
          },
          "applicationHeader": {
            "type": "string",
            "nullable": true
          },
          "applicationType": {
            "type": "string",
            "nullable": true
          },
          "isDefaultApplication": {
            "type": "boolean"
          },
          "informationProvidedThrough": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BaseInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isError": {
            "type": "boolean",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "FieldAttributeEntryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "viewModelType": {
            "type": "string",
            "nullable": true
          },
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "rowContext": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeRowContext"
            }
          },
          "fieldName": {
            "type": "string"
          },
          "attribute": {
            "$ref": "#/components/schemas/FieldAttributeType"
          },
          "appliesTo": {
            "$ref": "#/components/schemas/FieldAppliesTo"
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "extraKey": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ApplicationInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfApplicationInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfApplicationInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfApplicationInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfApplicationInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ApplicationInfo"
              }
            ]
          }
        }
      },
      "ApplicationInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "applicants": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "id": {
                "type": "string",
                "description": "Applicant Id",
                "nullable": true
              },
              "applicant1": {
                "type": "string",
                "description": "The name of the first Borrower or Cosigner that is assigned to an application.",
                "nullable": true
              },
              "applicant2": {
                "type": "string",
                "description": "The name of the second Borrower that is assigned to an application.",
                "nullable": true
              },
              "creditType": {
                "description": "The type of credit the Applicant is applying for, whether one of the Individual credit designations, or Joint Credit.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditType"
                  }
                ]
              },
              "applicationHeader": {
                "type": "string",
                "nullable": true
              },
              "informationProvidedThrough": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InformationProvidedThrough"
                  }
                ]
              }
            }
          }
        ]
      },
      "ApplicationGeneralInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfApplicationGeneralInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfApplicationGeneralInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfApplicationGeneralInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfApplicationGeneralInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ApplicationGeneralInfo"
              }
            ]
          }
        }
      },
      "ApplicationGeneralInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "financingType": {
                "description": "This is the type of loan that the Applicant is applying for.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinancingType"
                  }
                ]
              },
              "applicationDate": {
                "type": "string",
                "description": "This is the date that the Applicant applied for the loan.",
                "format": "date",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "description": "Describe any additional information requested as a part of the loan application.",
                "nullable": true
              },
              "classNumber": {
                "type": "string",
                "description": "This is the creditor's class number for the application.",
                "nullable": true
              },
              "firstPaymentDate": {
                "type": "string",
                "description": "The date of the first payment in the payment stream.",
                "format": "date",
                "nullable": true
              },
              "loanAmount": {
                "type": "number",
                "description": "The loan amount.",
                "format": "decimal",
                "nullable": true
              },
              "requestedLoanAmount": {
                "type": "number",
                "description": "The requested loan amount.",
                "format": "decimal",
                "nullable": true
              },
              "loanNumber": {
                "type": "string",
                "description": "The loan number.",
                "nullable": true
              },
              "termInMonths": {
                "type": "integer",
                "description": "The number of periods over which the loan is amortized.",
                "format": "int32",
                "nullable": true
              },
              "paymentFrequency": {
                "description": "The payment frequency of the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPaymentFrequencyType"
                  }
                ]
              },
              "loanType": {
                "description": "Specifies the type of advances allowed under the note.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "creditReferences": {
                "type": "array",
                "description": "Credit Reference",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditReference"
                }
              },
              "isGeneralInformationViewed": {
                "type": "boolean",
                "description": "Flag for the General Information tab accessed at least one time or not - UI Purpose Only",
                "nullable": true
              },
              "applicationReceivedDate": {
                "type": "string",
                "description": "The date the loan application was received for disclosures other than the TILA/RESPA Integrated Disclosures.",
                "format": "date",
                "nullable": true
              },
              "receivedBy": {
                "type": "string",
                "description": "The name of the lender's representative who received the application.",
                "nullable": true
              }
            }
          }
        ]
      },
      "ArchiveGridViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfArchiveFilesGrid"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfArchiveFilesGrid": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfArchiveFilesGrid"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfArchiveFilesGrid": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ArchiveFilesGrid"
              }
            ]
          }
        }
      },
      "ArchiveFilesGrid": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "selected": {
            "type": "boolean"
          },
          "borrowerName": {
            "type": "string",
            "nullable": true
          },
          "loanNumber": {
            "type": "string",
            "nullable": true
          },
          "lineOfBusiness": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LineOfBusinessType"
              }
            ]
          },
          "branchCode": {
            "type": "string",
            "nullable": true
          },
          "loanOfficer": {
            "type": "string",
            "nullable": true
          },
          "packageType": {
            "type": "string",
            "nullable": true
          },
          "loanType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanType"
              }
            ]
          },
          "loanAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "closingDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "archivedOn": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "AssetListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfAssetListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfAssetListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfAssetListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfAssetListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetListInfo"
              }
            ]
          }
        }
      },
      "AssetListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "assetList": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AssetInfo"
                }
              },
              "summaryData": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AssetSummaryData"
                  }
                ]
              }
            }
          }
        ]
      },
      "AssetInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "partyNoId": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "assetOwners": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AssetOwnerRef"
                }
              },
              "owners": {
                "type": "string",
                "nullable": true
              },
              "heldByDesc": {
                "type": "string",
                "nullable": true
              },
              "assetType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TypeOfInvestment"
                  }
                ]
              },
              "accountNumber": {
                "type": "string",
                "nullable": true
              },
              "accountBalanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "marketValueAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "unpaidBalanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "currentCashValue": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "earnestMoneyHolderDesc": {
                "type": "string",
                "nullable": true
              },
              "makeDesc": {
                "type": "string",
                "nullable": true
              },
              "year": {
                "type": "string",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "AssetSummaryData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "accountBalanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "marketValueAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "unpaidBalanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "AssetInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfAssetInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfAssetInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfAssetInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfAssetInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetInfo"
              }
            ]
          }
        }
      },
      "AuditAndOrderInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "packageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              },
              "documentsPackageFormat": {
                "$ref": "#/components/schemas/DocumentsPackageFormat"
              },
              "orderPreviewPackage": {
                "type": "boolean",
                "nullable": true
              },
              "duplexPrinting": {
                "type": "boolean"
              },
              "includedDocuments": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IncludedDocument"
                  }
                ]
              },
              "packageSelectedDocuments": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PackageDocumentInfo"
                }
              },
              "packageFulfillmentPlatformTypes": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageFulfillmentPlatformType"
                  }
                ]
              },
              "packageFulfillmentDeliveryTypes": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageFulfillmentDeliveryType"
                  }
                ]
              },
              "recipients": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RecipientInfo"
                }
              },
              "recipientsDetails": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RecipientInfo"
                }
              },
              "hasSmartSignLicense": {
                "type": "string",
                "nullable": true
              },
              "applyWatermarkInd": {
                "type": "boolean",
                "nullable": true
              },
              "watermarkContent": {
                "type": "string",
                "nullable": true
              },
              "loanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "forceDraftWatermarkInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "PackageDocumentInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "type": "string",
            "description": "The Document identifier, of selected document"
          },
          "documentName": {
            "type": "string",
            "description": "The name of the document, of selected document"
          },
          "fileName": {
            "type": "string",
            "description": "The file name of the selected document"
          },
          "isSelected": {
            "type": "boolean",
            "description": "A boolean flag to identify whether a document is selected or not",
            "nullable": true
          }
        }
      },
      "RecipientInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ssn": {
                "type": "string",
                "nullable": true
              },
              "identityVerificationInd": {
                "type": "boolean",
                "nullable": true
              },
              "verificationTypes": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VerificationType"
                  }
                ]
              },
              "customPin": {
                "type": "string",
                "nullable": true
              },
              "customPinHint": {
                "type": "string",
                "nullable": true
              },
              "email": {
                "type": "string",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "cellPhone": {
                "type": "string",
                "nullable": true
              },
              "fullName": {
                "type": "string",
                "nullable": true
              },
              "type": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AuditAndOrderInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfAuditAndOrderInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfAuditAndOrderInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfAuditAndOrderInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfAuditAndOrderInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AuditAndOrderInfo"
              }
            ]
          }
        }
      },
      "AuditValidationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuditValidationMessage"
            }
          },
          "showCalculationErrorMessageOnPage": {
            "type": "boolean"
          }
        }
      },
      "AuditValidationMessage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "page": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "buttonText": {
            "type": "string"
          },
          "buttonRoute": {
            "type": "string"
          }
        }
      },
      "UserProfile": {
        "type": "object",
        "description": "Class: UserProfile.",
        "additionalProperties": false,
        "properties": {
          "userName": {
            "type": "string",
            "description": "Gets or sets the name of the user.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Gets or sets the email.",
            "nullable": true
          },
          "userProfilePicture": {
            "type": "string",
            "description": "Gets or sets the user profile picture.",
            "nullable": true
          },
          "userRole": {
            "type": "string",
            "description": "Gets or sets the user role.",
            "nullable": true
          },
          "analytics": {
            "description": "Gets or sets the analytics settings.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AnalyticsSettings"
              }
            ]
          },
          "lineOfBusiness": {
            "type": "string",
            "description": "Gets or sets the Line Of Business.",
            "nullable": true
          },
          "userUniqueId": {
            "type": "string",
            "description": "Gets or sets the unique identifier for the user.",
            "nullable": true
          },
          "hasViewAllAccountsPermission": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether the user holds the WK_ViewAccounts system\npermission. This does not guarantee the caller has the Support Line role - other roles\nmay also hold this permission."
          }
        }
      },
      "AnalyticsSettings": {
        "type": "object",
        "description": "Class: AnalyticsSettings.",
        "additionalProperties": false,
        "properties": {
          "isEnabled": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether analytics is enabled."
          },
          "accountId": {
            "type": "string",
            "description": "Gets or sets the analytics account id.",
            "nullable": true
          },
          "visitorId": {
            "type": "string",
            "description": "Gets or sets the analytics visitor id.",
            "nullable": true
          }
        }
      },
      "CollateralListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collateralItems": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CollateralInfo"
                }
              },
              "additionalOptionsEnabled": {
                "type": "boolean"
              },
              "maxCollateral": {
                "type": "integer",
                "format": "int32"
              },
              "totalCollaterals": {
                "type": "integer",
                "format": "int32"
              },
              "alertSummary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlertSummary"
                  }
                ]
              },
              "isHazardInsuranceOptionsEnabled": {
                "type": "boolean",
                "nullable": true
              },
              "isModificationLoanEnabled": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "CollateralInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "description": "Collateral Id",
            "nullable": true
          },
          "category": {
            "$ref": "#/components/schemas/CollateralCategory"
          },
          "legalDesc": {
            "type": "string",
            "nullable": true
          },
          "lienPriority": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LienPriority"
              }
            ]
          },
          "realEstateInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RealEstateInfo"
              }
            ]
          },
          "ownerNoId": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "collateralOwners": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CollateralOwnerRef"
            }
          },
          "owners": {
            "type": "string",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "uccInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UccInfo"
              }
            ]
          },
          "landlordConsentObligation": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LandlordConsentObligation"
              }
            ]
          },
          "landlordsConsentInd": {
            "type": "boolean",
            "nullable": true
          },
          "landlordConsentObligationOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "landlordsInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandlordInfo"
            }
          },
          "lienHoldersInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LienHolderInfo"
            }
          },
          "consumerInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConsumerInfo"
              }
            ]
          },
          "collateralSummaryDesc": {
            "type": "string",
            "nullable": true
          },
          "lifeInsuranceInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LifeInsuranceInfo"
              }
            ]
          },
          "headerOwners": {
            "type": "string",
            "nullable": true
          },
          "pledgeInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PledgeInfo"
              }
            ]
          },
          "titledGoodsSummary": {
            "type": "array",
            "items": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TitledGoodsSummary"
                }
              ]
            }
          },
          "insRequiredInd": {
            "type": "boolean",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "farmProductsInfo": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FarmProductInfo"
            }
          },
          "hasFloodLicense": {
            "type": "boolean"
          },
          "locationState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "isFloodOrdered": {
            "type": "boolean"
          },
          "isDeleteLocked": {
            "type": "boolean"
          },
          "hmdaReportedCollateralInd": {
            "type": "boolean",
            "nullable": true
          },
          "propertyValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "RealEstateInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "realEstateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RealEstateType"
              }
            ]
          },
          "realEstateSecurityInstId": {
            "type": "string",
            "nullable": true
          },
          "policy": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RealEstatePolicy"
              }
            ]
          },
          "shortLegalDesc": {
            "type": "string",
            "nullable": true
          },
          "purchaseMoneyIndicator": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "UccInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uccType": {
            "$ref": "#/components/schemas/UccType"
          },
          "securityAgreementId": {
            "type": "string",
            "nullable": true
          },
          "policy": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UccPolicy"
              }
            ]
          },
          "titledGoodsInd": {
            "type": "boolean",
            "nullable": true
          },
          "specificEquipmentIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "specificEquipmentDesc": {
            "type": "string",
            "nullable": true
          },
          "userDefinedDesc": {
            "type": "string",
            "nullable": true
          },
          "uccAddresses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "specificUCCCategories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SpecificUCCCategory"
            }
          },
          "specificDesc": {
            "type": "string",
            "nullable": true
          },
          "filerDesignationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FilerDesignationType"
              }
            ]
          },
          "uccFilingAuthInd": {
            "type": "boolean",
            "nullable": true
          },
          "uccFilingRefNumber": {
            "type": "string",
            "nullable": true
          },
          "uccAdditionalInfo": {
            "type": "string",
            "nullable": true
          },
          "uccAddendumMiscInfo": {
            "type": "string",
            "nullable": true
          },
          "uccAdditionalPartyMiscInfo": {
            "type": "string",
            "nullable": true
          },
          "uccCollateralDescInd": {
            "type": "boolean",
            "nullable": true
          },
          "useUCCGeneralDesc": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "LandlordInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestedPartyType"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "addressIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "signers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Signer"
            }
          },
          "id": {
            "type": "string",
            "description": "Landlords Id",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "description": "Name of the signer for the landlord entity.",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "description": "Title of the signer for the landlord entity.",
            "nullable": true
          },
          "signerEmail": {
            "type": "string",
            "description": "Email address of the signer for the landlord entity.",
            "nullable": true
          }
        }
      },
      "LienHolderInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestedPartyType"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "originalDate": {
            "type": "string",
            "nullable": true
          },
          "originalAmt": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "account": {
            "type": "string",
            "nullable": true
          },
          "loanTermsDescription": {
            "type": "string",
            "nullable": true
          },
          "residence": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "notaryCounty": {
            "type": "string",
            "nullable": true
          },
          "notaryPublicName": {
            "type": "string",
            "nullable": true
          },
          "notaryState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "lienDescription": {
            "type": "string",
            "nullable": true
          },
          "recordedCity": {
            "type": "string",
            "nullable": true
          },
          "recordedCounty": {
            "type": "string",
            "nullable": true
          },
          "recordedDate": {
            "type": "string",
            "nullable": true
          },
          "recordedVolumeId": {
            "type": "string",
            "nullable": true
          },
          "recordedPageNo": {
            "type": "string",
            "nullable": true
          },
          "deedOfTrustTrustee": {
            "type": "string",
            "nullable": true
          },
          "partyID": {
            "type": "string",
            "nullable": true
          },
          "recordedEntryNo": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "LienHolder Id",
            "nullable": true
          }
        }
      },
      "ConsumerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "consumerType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConsumerType"
              }
            ]
          },
          "jurisdiction": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "useOwner1Address": {
            "type": "boolean",
            "nullable": true
          },
          "collateralDetailsAddress": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralDetailsAddressInfo"
              }
            ]
          },
          "collateralDetailsMotorVehicle": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralDetailsMotorVehicleInfo"
              }
            ]
          },
          "purchaseMoneyIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "residenceInd": {
            "type": "boolean",
            "nullable": true
          },
          "consumerCollateralDetails": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConsumerCollateralDetails"
            }
          },
          "insurances": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CollateralInsurance"
            }
          },
          "linkedInsurance": {
            "type": "string",
            "nullable": true
          },
          "securityAgreementId": {
            "type": "string",
            "nullable": true
          },
          "collateralSummaryMessageDesc": {
            "type": "string",
            "nullable": true
          },
          "defaultInsuranceName": {
            "type": "string",
            "nullable": true
          },
          "personalPropertyInd": {
            "type": "boolean",
            "nullable": true
          },
          "securityAgreementInd": {
            "type": "boolean",
            "nullable": true
          },
          "depositAccountExcludedJurisdictions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "certificatedExcludedJurisdictions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "uncertificatedExcludedJurisdictions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CollateralDetailsAddressInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "leaseDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "CollateralDetailsMotorVehicleInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "conditionNewUsedType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConditionNewUsedType"
              }
            ]
          },
          "year": {
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "combinedDesc": {
            "type": "string",
            "nullable": true
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "additionalDesc": {
            "type": "string",
            "nullable": true
          },
          "typeCombinedDesc": {
            "type": "string",
            "nullable": true
          },
          "manufacturer": {
            "type": "string",
            "nullable": true
          },
          "serial": {
            "type": "string",
            "nullable": true
          },
          "titleStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TitleStatus"
              }
            ]
          },
          "horsepower": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lengthFeet": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lengthInches": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hullId": {
            "type": "string",
            "nullable": true
          },
          "residenceInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "ConsumerCollateralDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "insRequiredInd": {
            "type": "boolean",
            "nullable": true
          },
          "consumerType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConsumerType"
              }
            ]
          },
          "lienPriority": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LienPriority"
              }
            ]
          },
          "collateralCode": {
            "type": "string",
            "nullable": true
          },
          "collateralDetailsMotorVehicle": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralDetailsMotorVehicleInfo"
              }
            ]
          },
          "purchaseMoneyIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "linkedInsuranceId": {
            "type": "string",
            "nullable": true
          },
          "linkedInsuranceName": {
            "type": "string",
            "nullable": true
          },
          "personalPropertyInd": {
            "type": "boolean",
            "nullable": true
          },
          "uccInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UccInfo"
              }
            ]
          },
          "additionalTILDesc": {
            "type": "string",
            "nullable": true
          },
          "residenceInd": {
            "type": "boolean",
            "nullable": true
          },
          "financialAsset": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialAssetInfo"
              }
            ]
          },
          "issuer": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/IssuerInfo"
            }
          },
          "beneficiary": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BeneficiaryInfo"
            }
          },
          "lifeInsurance": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LifeInsuranceInfo"
              }
            ]
          }
        }
      },
      "FinancialAssetInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "pledgeType": {
            "$ref": "#/components/schemas/PledgeType"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "accountIdentifier": {
            "type": "string",
            "nullable": true
          },
          "commonStockInd": {
            "type": "boolean",
            "nullable": true
          },
          "holderCity": {
            "type": "string",
            "nullable": true
          },
          "holderEmailAddress": {
            "type": "string",
            "nullable": true
          },
          "holderEstablishedState": {
            "type": "string",
            "nullable": true
          },
          "holderId": {
            "type": "string",
            "nullable": true
          },
          "holderName": {
            "type": "string",
            "nullable": true
          },
          "holderPostalCode": {
            "type": "string",
            "nullable": true
          },
          "holderSignerName": {
            "type": "string",
            "nullable": true
          },
          "holderSignerTitle": {
            "type": "string",
            "nullable": true
          },
          "holderState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "holderStreetLine1": {
            "type": "string",
            "nullable": true
          },
          "holderUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "holderUnitNo": {
            "type": "string",
            "nullable": true
          },
          "issuerName": {
            "type": "string",
            "nullable": true
          },
          "lenderIsHolderInd": {
            "type": "boolean",
            "nullable": true
          },
          "pledgedAccountLimitedInd": {
            "type": "boolean",
            "nullable": true
          },
          "pledgedAccountLimitationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PledgedAccountLimitationType"
              }
            ]
          },
          "pledgedAccountLimitationAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "pledgedAccountLimitationPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "pledgedCollateralDesc": {
            "type": "string",
            "nullable": true
          },
          "representationOfPercentageOwnershipForCloselyHeldSecuritiesInd": {
            "type": "boolean",
            "nullable": true
          },
          "representationOfPercentageOwnershipForCloselyHeldSecuritiesPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "sharesNumber": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "securitiesDesc": {
            "type": "string",
            "nullable": true
          },
          "bondAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "cusipNumber": {
            "type": "string",
            "nullable": true
          },
          "securityType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SecurityType"
              }
            ]
          },
          "certificateIdentifier": {
            "type": "string",
            "nullable": true
          },
          "certificateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CertificateType"
              }
            ]
          },
          "amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "faceamount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "issueDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "accountMaturityDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "additionalAccountDesc": {
            "type": "string",
            "nullable": true
          },
          "collateralReceiptInd": {
            "type": "boolean",
            "nullable": true
          },
          "collateralReceiptDesc": {
            "type": "string",
            "nullable": true
          },
          "holderInstitutionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HolderInstitutionType"
              }
            ]
          },
          "depControlAgrmtTerms": {
            "type": "string",
            "nullable": true
          },
          "nonPledgePartiesDesc": {
            "type": "string",
            "nullable": true
          },
          "accountCurrentBalance": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "minimumBalance": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "assignmentInd": {
            "type": "boolean",
            "nullable": true
          },
          "certificatedInd": {
            "type": "boolean",
            "nullable": true
          },
          "convertibleMarginStockInd": {
            "type": "boolean",
            "nullable": true
          },
          "marginStockInd": {
            "type": "boolean",
            "nullable": true
          },
          "controlAgrmtAdditionalTerms": {
            "type": "string",
            "nullable": true
          },
          "corporateStockInd": {
            "type": "boolean",
            "nullable": true
          },
          "marketPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "estMarketValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "goodFaithValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "valuationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "valuationSource": {
            "type": "string",
            "nullable": true
          },
          "controlAgrmtPropertyDesc": {
            "type": "string",
            "nullable": true
          },
          "convertiblePrincipalAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "convertibleDesc": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IssuerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "entityType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EntityType"
              }
            ]
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          }
        }
      },
      "BeneficiaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "entityType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EntityType"
              }
            ]
          }
        }
      },
      "LifeInsuranceInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "insuredPerson": {
            "type": "string",
            "nullable": true
          },
          "insuredFirstName": {
            "type": "string",
            "nullable": true
          },
          "insuredMiddleName": {
            "type": "string",
            "nullable": true
          },
          "insuredLastName": {
            "type": "string",
            "nullable": true
          },
          "insuredSuffix": {
            "type": "string",
            "nullable": true
          },
          "insuredEmail": {
            "type": "string",
            "nullable": true
          },
          "insuranceCompanyName": {
            "type": "string",
            "nullable": true
          },
          "insurancePolicyNo": {
            "type": "string",
            "nullable": true
          },
          "insurancePolicyAmt": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "insuredPersonOptions": {
            "type": "string",
            "nullable": true
          },
          "insuranceCompanyEmail": {
            "type": "string",
            "nullable": true
          },
          "insuranceCompanyContact": {
            "type": "string",
            "nullable": true
          },
          "assignmentAdditionalTerms": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          }
        }
      },
      "CollateralInsurance": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "insuranceId": {
            "type": "string",
            "nullable": true
          },
          "insuranceName": {
            "type": "string",
            "nullable": true
          },
          "insuredCollateralInfo": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/InsuredCollateralInfo"
            }
          }
        }
      },
      "InsuredCollateralInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "insuredCollateralId": {
            "type": "string",
            "nullable": true
          },
          "insuredCollateralOwnerIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PledgeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanToValueCovenantInd": {
            "type": "boolean",
            "description": "If true a Loan to Value Covenant provision will be added to the document.",
            "nullable": true
          },
          "loanToValuePercent": {
            "type": "number",
            "description": "The percent of the loan amount in relation to the value of the collateral.",
            "format": "decimal",
            "nullable": true
          },
          "pledgeAgreementId": {
            "type": "string",
            "description": "The unique identifier assigned to the Pledge Agreement that the collateral should be included on.  Multiple pieces of collateral can in some cases be included on the same Pledge Agreement and in that case those pieces of collateral should have the same value here.  In order for multiple collateral to be referenced on the same Pledge Agreement the collateral must have the same owners and be held by the same depository institution.",
            "format": "guid",
            "nullable": true
          },
          "tradingAllowedInd": {
            "type": "boolean",
            "description": "If true trading of the pledged security(ies) is permitted.",
            "nullable": true
          },
          "tradingLimitationAcceptableInvestmentsDesc": {
            "type": "string",
            "description": "This is a description of the type of investments in the pledged Security(ies) Account(s) that are acceptable for an owner (or owners) to trade.",
            "nullable": true
          },
          "tradingLimitationType": {
            "description": "Specifies the type of trading limitation for security account collateral.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TradingLimitationType"
              }
            ]
          },
          "tradingLimitationUnacceptableInvestmentsDesc": {
            "type": "string",
            "description": "This is a description of the type of investments in the pledged security(ies) that are unacceptable for an owner to trade.",
            "nullable": true
          },
          "controlAgreementID": {
            "type": "string",
            "description": "A unique identifier for Control Agreement",
            "format": "guid",
            "nullable": true
          },
          "depositAccounts": {
            "type": "array",
            "description": "The deposit accounts.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          },
          "privateStockOrOtherSecuritiesHeldByBanks": {
            "type": "array",
            "description": "The private stock or other securities held by bank.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          },
          "specificSecuritiesHeldInABrokerageAccounts": {
            "type": "array",
            "description": "The specific securities held in a brokerage account.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          },
          "securitiesAccountsWithABrokerageFirms": {
            "type": "array",
            "description": "The securities accounts with a brokerage firm.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          },
          "other": {
            "type": "array",
            "description": "The other.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          },
          "financialAssets": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FinancialAssetInfo"
            }
          }
        }
      },
      "TitledGoodsSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "titledGoodsTypes": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TitledGoodsType"
              }
            ]
          },
          "titledGoodsCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "FarmProductInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "farmProductId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "amountDesc": {
            "type": "string",
            "nullable": true
          },
          "cropYear": {
            "type": "string",
            "nullable": true
          },
          "locationCounty": {
            "type": "string",
            "nullable": true
          },
          "buyer": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "farmProductType": {
            "type": "string",
            "nullable": true
          },
          "farmProductTypeDesc": {
            "type": "string",
            "nullable": true
          },
          "buyers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FarmProductBuyerInfo"
            }
          }
        }
      },
      "FarmProductBuyerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyType": {
            "type": "string",
            "nullable": true
          },
          "productIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "products": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "establishedState": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "type": "string",
            "nullable": true
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "signers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FarmProductBuyerSignerInfo"
            }
          },
          "contractDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "contractSubjectDesc": {
            "type": "string",
            "nullable": true
          },
          "paymentOptionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FarmProductBuyerPaymentOptionType"
              }
            ]
          },
          "farmProductPaymentFrequency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FarmProductBuyerPaymentFrequency"
              }
            ]
          },
          "firstPaymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "paymentFixedAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "paymentPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "paymentLimitOptionInd": {
            "type": "boolean",
            "nullable": true
          },
          "paymentCapPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "paymentCapFixedAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "firstPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "regularMonthlyPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "regularMonthlyPaymentDayNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "secondPaymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "secondPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "firstRegularMonthlyPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "firstRegularPaymentDayNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "secondRegularMonthlyPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "secondRegularPaymentDayNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "FarmProductBuyerSignerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "nullable": true
          },
          "signerEmail": {
            "type": "string",
            "nullable": true
          },
          "signerId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AlertSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "alert": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "link": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CollateralInsuranceInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralInsuranceInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralInsuranceInfo"
              }
            ]
          }
        }
      },
      "CollateralInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "description": "Insurance Id",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "address": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "agency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Agency"
                  }
                ]
              },
              "agentName": {
                "type": "string",
                "nullable": true
              },
              "purchasedFromLenderInd": {
                "type": "boolean",
                "nullable": true
              },
              "policyNumber": {
                "type": "string",
                "nullable": true
              },
              "coverageAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "premium": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "policyStartDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "policyEndDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "coverageProofDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "termInMonths": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maximumDeductibleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "securedPartyStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecuredPartyStatus"
                  }
                ]
              },
              "securedPartyStatusOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "nullable": true
              },
              "coverageOtherText": {
                "type": "string",
                "nullable": true
              },
              "policyInformationDesc": {
                "type": "string",
                "nullable": true
              },
              "coverageRisksDesc": {
                "type": "string",
                "nullable": true
              },
              "insCancellationRefundMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InsCancellationRefund"
                  }
                ]
              },
              "insCancelledCheckAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "insCancelledCreditAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "propertyInsApprovedInd": {
                "type": "boolean",
                "nullable": true
              },
              "maximumDeductibleDesc": {
                "type": "string",
                "nullable": true
              },
              "policyBasisDesc": {
                "type": "string",
                "nullable": true
              },
              "policyEndorsementDesc": {
                "type": "string",
                "nullable": true
              },
              "maximumDeductibleToggle": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaximumDeductibleToggle"
                  }
                ]
              },
              "insuredInsuranceCollateralInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuredInsuranceCollateralInfo"
                }
              },
              "insuredCollaterals": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuranceInsuredCollateralInfo"
                }
              },
              "insuranceSummaryDesc": {
                "type": "string",
                "nullable": true
              },
              "insRequiredInd": {
                "type": "boolean",
                "nullable": true
              },
              "jurisdiction": {
                "type": "string",
                "nullable": true
              },
              "baseLoanTermsLoanAct": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "InsuredInsuranceCollateralInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "ownerNoId": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isInsured": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "InsuranceInsuredCollateralInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CollateralListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralListInfo"
              }
            ]
          }
        }
      },
      "CollateralInsuranceListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralInsuranceListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralInsuranceListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralInsuranceListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralInsuranceListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralInsuranceListInfo"
              }
            ]
          }
        }
      },
      "CollateralInsuranceListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collateralInsuranceInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CollateralInsuranceInfo"
                }
              },
              "alertSummary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlertSummary"
                  }
                ]
              },
              "insuranceItem": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuranceItem"
                }
              }
            }
          }
        ]
      },
      "InsuranceItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "insuranceSummaryDesc": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "insuredCollaterals": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CollateralDetailsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralDetailsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralDetailsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralDetailsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralDetailsInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralDetailsInfo"
              }
            ]
          }
        }
      },
      "CollateralDetailsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "description": "Collateral Id",
                "nullable": true
              },
              "category": {
                "$ref": "#/components/schemas/CollateralCategory"
              },
              "legalDesc": {
                "type": "string",
                "nullable": true
              },
              "lienPriority": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LienPriority"
                  }
                ]
              },
              "realEstate": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RealEstate"
                  }
                ]
              },
              "ownerNoId": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "collateralOwners": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralOwnerRef"
                }
              },
              "owners": {
                "type": "string",
                "nullable": true
              },
              "collateralSecurityInstrumentInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CollateralSecurityInstrumentInfo"
                  }
                ]
              },
              "ownersDetail": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BorrowingParty"
                }
              },
              "ucc": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UccInfo"
                  }
                ]
              },
              "securityAgreementInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecurityAgreementInfo"
                  }
                ]
              },
              "consumerInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerInfo"
                  }
                ]
              },
              "insRequiredInd": {
                "type": "boolean",
                "nullable": true
              },
              "formStatementOfAuthorityCOCommercialInd": {
                "type": "boolean",
                "nullable": true
              },
              "futureAdvances": {
                "type": "boolean",
                "nullable": true
              },
              "crossCollateralizationVoidInd": {
                "type": "boolean",
                "nullable": true
              },
              "debtsSecuredBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DebtsSecuredBy"
                  }
                ]
              },
              "debtsSecuredByUseDefault": {
                "type": "boolean",
                "nullable": true
              },
              "debtsSecuredByDesc": {
                "type": "string",
                "nullable": true
              },
              "primaryUse": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrimaryUseType"
                  }
                ]
              },
              "landlordConsentObligation": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LandlordConsentObligation"
                  }
                ]
              },
              "landlordsConsentInd": {
                "type": "boolean",
                "nullable": true
              },
              "landlordConsentObligationOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "landlordsInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LandlordInfo"
                }
              },
              "landlords": {
                "type": "array",
                "description": "Alias for LandlordsInfo used by M6+ Landlords section accordion.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LandlordInfo"
                }
              },
              "lienHoldersInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LienHolderInfo"
                }
              },
              "statementOfAuthorityInfoList": {
                "type": "array",
                "description": "Statement of Authority information for entity owners of Colorado real estate.",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StatementOfAuthorityInfo"
                }
              },
              "lifeInsuranceInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifeInsuranceInfo"
                  }
                ]
              },
              "pledgeInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PledgeInfo"
                  }
                ]
              },
              "titledGoods": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TitleGoodsInfo"
                }
              },
              "warehousemanInd": {
                "type": "boolean",
                "nullable": true
              },
              "locationDesc": {
                "type": "string",
                "nullable": true
              },
              "goodsDesc": {
                "type": "string",
                "nullable": true
              },
              "warehousemen": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/WarehousemanInfo"
                }
              },
              "noClaimOrInterestInd": {
                "type": "boolean",
                "nullable": true
              },
              "lenderMayInspectInd": {
                "type": "boolean",
                "nullable": true
              },
              "maxCollateral": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "totalCollaterals": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "existingLeaseInd": {
                "type": "boolean",
                "nullable": true
              },
              "leases": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LeaseInfo"
                }
              },
              "constructionPropertyInd": {
                "type": "boolean",
                "nullable": true
              },
              "farmProductsInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FarmProductInfo"
                }
              },
              "farmProductBuyersInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FarmProductBuyerInfo"
                }
              },
              "paymentObligationsDesc": {
                "type": "string",
                "nullable": true
              },
              "formAssignmentOfFarmProductsPaymentsInd": {
                "type": "boolean",
                "nullable": true
              },
              "formAssignmentOfFarmProductsPaymentsSourceType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FormAssignmentOfFarmProductsPaymentsSourceType"
                  }
                ]
              },
              "formAssignmentOfFarmProductsPaymentsAdditionalTermsDesc": {
                "type": "string",
                "nullable": true
              },
              "loanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "confirmOralNoticeInd": {
                "type": "boolean",
                "nullable": true
              },
              "assignmentDebtsSecuredBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DebtsSecuredBy"
                  }
                ]
              },
              "assignmentDebtsSecuredByDesc": {
                "type": "string",
                "nullable": true
              },
              "assignmentDebtsSecuredByUseDefault": {
                "type": "boolean",
                "nullable": true
              },
              "assignmentInd": {
                "type": "boolean",
                "nullable": true
              },
              "formCertificationOfTrustInd": {
                "type": "boolean",
                "nullable": true
              },
              "certificationOfTrustSection": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CertificationOfTrustInfo"
                }
              },
              "isTrustOwnerAvailable": {
                "type": "boolean",
                "nullable": true
              },
              "locationState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "constructionMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionMethodType"
                  }
                ]
              },
              "manufacturedHomeSecuredPropertyType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ManufacturedHomeSecuredPropertyType"
                  }
                ]
              },
              "manufacturedHomeLandPropertyInterest": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ManufacturedHomeLandPropertyInterestType"
                  }
                ]
              },
              "unitsNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "multifamilyAffordableUnitsNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "propertyValue": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "uniqueApprovedIdentifier": {
                "type": "string",
                "nullable": true
              },
              "ownerUniqueApprovedIdInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OwnerInfo"
                }
              },
              "notifications": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ValidationResult"
                  }
                ]
              },
              "collateralCode": {
                "type": "string",
                "nullable": true
              },
              "realPropertyDesc": {
                "type": "string",
                "nullable": true
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "nullable": true
              },
              "isLegalDescUpdated": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "CollateralSecurityInstrumentInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "trustee": {
            "description": "Trustee",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SupportingParty"
              }
            ]
          },
          "titleInsuranceProducer": {
            "description": "Title Insurance Producer",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SupportingParty"
              }
            ]
          },
          "taxBillSentTo": {
            "description": "TaxBillSentTo",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ContactInfo"
              }
            ]
          },
          "preparedBy": {
            "description": "PreparedBy",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ContactInfo"
              }
            ]
          },
          "returnedTo": {
            "description": "ReturnedTo",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ContactInfo"
              }
            ]
          },
          "recordingRequestedBy": {
            "description": "Party Requesting Recording",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ContactInfo"
              }
            ]
          },
          "acresNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "agricultureUseIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "dragnetIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "securedMaxAmt": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "uccAllAssetsIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "vestingDesc": {
            "type": "string",
            "nullable": true
          },
          "caRealEstateFraudFeeExemptionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RealEstateFraudFeeExemptionType"
              }
            ]
          },
          "caRealEstateFraudFeeExemptionPreviouslyRecordedBookDesc": {
            "type": "string",
            "nullable": true
          },
          "caRealEstateFraudFeeExemptionPreviouslyRecordedPageDesc": {
            "type": "string",
            "nullable": true
          },
          "caBuildingHomesAndJobsActFeeExemptionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BuildingHomesAndJobsActFeeExemptionType"
              }
            ]
          },
          "caBuildingHomesAndJobsActFeeExemptionAdditionalDesc": {
            "type": "string",
            "nullable": true
          },
          "interimInterestPaymentDisclosureCAInd": {
            "type": "boolean",
            "nullable": true
          },
          "californiaRealEstateClosingType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CaliforniaRealEstateClosingType"
              }
            ]
          },
          "intangibleTaxExemptIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "flReasonIntangibleTaxTypeIsNotDueOrReduced": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ReasonIntangibleTaxTypeIsNotDueOrReduced"
              }
            ]
          },
          "flReasonIntangibleTaxTypeIsNotDueOrReducedOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "recordedBook": {
            "type": "string",
            "nullable": true
          },
          "recordedPage": {
            "type": "string",
            "nullable": true
          },
          "flOutstandingBalanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "maxAmountPriorLien": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "recordationTaxAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "taxExemptionCode": {
            "type": "string",
            "nullable": true
          },
          "amountCodeToggle": {
            "type": "boolean",
            "nullable": true
          },
          "incorporatedCityIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "ilMaxFutureAdvanceMultiplier": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "futureAdvanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "landContractIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "mnInderteminateAmountIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "mnMortgageRegistryTaxExemptIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "mortgageRegistryTaxExemptCitationMNDesc": {
            "type": "string",
            "nullable": true
          },
          "formAffidavitRegardingAdditionalAdvanceMNInd": {
            "type": "boolean",
            "nullable": true
          },
          "originalRecordingCounty": {
            "type": "string",
            "nullable": true
          },
          "originalRecordingLocationDesc": {
            "type": "string",
            "nullable": true
          },
          "originalRecordingOfficeDesc": {
            "type": "string",
            "nullable": true
          },
          "originalRecordingState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "originalSecurityAgreementDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "msIndexingInstrDesc": {
            "type": "string",
            "nullable": true
          },
          "homesteadOption": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HomesteadOption"
              }
            ]
          },
          "homesteadAdditionalTerms": {
            "type": "string",
            "nullable": true
          },
          "designationOfHomesteadStructuresImprovementsList": {
            "type": "string",
            "nullable": true
          },
          "homesteadSurveyAttachedInd": {
            "type": "boolean",
            "nullable": true
          },
          "lastImprovementsDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "titleSource": {
            "type": "string",
            "nullable": true
          },
          "recordedEntry": {
            "type": "string",
            "nullable": true
          },
          "powerOfSaleIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "nyStatementRegardingProperty": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StatementRegardingProperty"
              }
            ]
          },
          "taxExemptionIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "confessionOfJudgmentAttorneyInFactCourtDesc": {
            "type": "string",
            "nullable": true
          },
          "confessionOfJudgmentAttorneyInFactName": {
            "type": "string",
            "nullable": true
          },
          "futureAdvancesObligationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FutureAdvancesObligationType"
              }
            ]
          },
          "futureAdvancesQualificationsDesc": {
            "type": "string",
            "nullable": true
          },
          "spousalConsentIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "spousalJoinderIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "leaseAndRentRollInd": {
            "type": "boolean",
            "nullable": true
          },
          "multipleCountyInd": {
            "type": "boolean",
            "nullable": true
          },
          "recordingBookTypeDesc": {
            "type": "string",
            "nullable": true
          },
          "recordedBookDesc": {
            "type": "string",
            "nullable": true
          },
          "recordedPageDesc": {
            "type": "string",
            "nullable": true
          },
          "suppressNorthDakotaHomesteadWaiverNoticeInd": {
            "type": "boolean",
            "nullable": true
          },
          "includeLatestMaturityDateInd": {
            "type": "boolean",
            "nullable": true
          },
          "perpetualOrIndefiniteSecurityInterestStatementGAInd": {
            "type": "boolean",
            "nullable": true
          },
          "formNoticeSection291fNYInd": {
            "type": "boolean",
            "nullable": true
          },
          "formNoticeSection291fNYIncludeTenantSignatureInd": {
            "type": "boolean",
            "nullable": true
          },
          "titleProtectionInsuranceInd": {
            "type": "boolean",
            "nullable": true
          },
          "titleProtectionOpinionLetterInd": {
            "type": "boolean",
            "nullable": true
          },
          "titleProtectionOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "titleProtectionCoversBorrowerInd": {
            "type": "boolean",
            "nullable": true
          },
          "sdcConstructionContractBalance": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "generalContractorDownPayment": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "constructionContractPaymentsDesc": {
            "type": "string",
            "nullable": true
          },
          "constructionContractNumber": {
            "type": "string",
            "nullable": true
          },
          "constructionContractPriorLiensDesc": {
            "type": "string",
            "nullable": true
          },
          "constructionAdditionsOrAlterations": {
            "type": "string",
            "nullable": true
          },
          "timberlandRiderInd": {
            "type": "boolean",
            "nullable": true
          },
          "permitPrescribedBurningInd": {
            "type": "boolean",
            "nullable": true
          },
          "noPriorSaleOfTimberInd": {
            "type": "boolean",
            "nullable": true
          },
          "assignmentOfLeasesAndRentsInd": {
            "type": "boolean",
            "nullable": true
          },
          "tenantsNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "formStatementOfLienWVCommercialInd": {
            "type": "boolean",
            "nullable": true
          },
          "securityInstrumentDesc": {
            "type": "string",
            "nullable": true
          },
          "sellers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SellerInfo"
            }
          },
          "recordIdentifier": {
            "type": "string",
            "nullable": true
          },
          "securityInstrumentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "estimatedMarketValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wantsRequestForNotice": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "SellerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "description": "Seller Id",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestedPartyType"
              }
            ]
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "signerId": {
            "type": "string",
            "nullable": true
          },
          "signerEmail": {
            "type": "string",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SecurityAgreementInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "tortClaimIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "tortClaimDesc": {
            "type": "string",
            "nullable": true
          },
          "includeHealthcareInsuranceReceivablesIndForAllAssets": {
            "type": "boolean",
            "nullable": true
          },
          "includeHealthcareInsuranceReceivablesIndForSpecificUcc": {
            "type": "boolean",
            "nullable": true
          },
          "cropsGrownOrToBeGrownIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "livestockPoultryProductionContractInd": {
            "type": "boolean",
            "nullable": true
          },
          "realEstateRecordsFiledInd": {
            "type": "boolean",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "StatementOfAuthorityInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "ownerPartyId": {
            "type": "string",
            "description": "The unique identifier of the entity owner.",
            "nullable": true
          },
          "ownerEntityName": {
            "type": "string",
            "description": "The name of the entity that owns the RE property.",
            "nullable": true
          },
          "personsAuthorizedDescCustom": {
            "type": "boolean",
            "description": "If true the user can enter a custom description. If false the list is calculated from authorized signers.",
            "nullable": true
          },
          "personsAuthorizedDesc": {
            "type": "string",
            "description": "A description of the names and/or position titles of the persons who may act on the entity's behalf.",
            "nullable": true
          },
          "limitationsOnAuthorityDesc": {
            "type": "string",
            "description": "A description of any limitations on the authority of named persons.",
            "nullable": true
          },
          "otherMattersDesc": {
            "type": "string",
            "description": "A description of any other matters concerning the entity's dealings with real estate transactions.",
            "nullable": true
          }
        }
      },
      "TitleGoodsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "titledGoodsType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TitledGoodsType"
              }
            ]
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "string",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "titleMailingAddressState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "desc": {
            "type": "string",
            "nullable": true
          },
          "powerOfAttorneyInd": {
            "type": "boolean",
            "nullable": true
          },
          "hullId": {
            "type": "string",
            "nullable": true
          },
          "residenceInd": {
            "type": "boolean",
            "nullable": true
          },
          "manufacturer": {
            "type": "string",
            "nullable": true
          },
          "serial": {
            "type": "string",
            "nullable": true
          },
          "titleId": {
            "type": "string",
            "nullable": true
          },
          "titledGoodsInd": {
            "type": "boolean"
          }
        }
      },
      "WarehousemanInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "warehousemanPartyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestedPartyType"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "signerEmail": {
            "type": "string",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "warehousemanId": {
            "type": "string",
            "nullable": true
          },
          "signerId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LeaseInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "amendedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "currentThroughDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "depositAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "leaseDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "propertyDesc": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressInfo"
              }
            ]
          },
          "lessees": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LesseeInfo"
            }
          }
        }
      },
      "AddressInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "leaseState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "useCurrentAddressforMailing": {
            "type": "boolean",
            "nullable": true
          },
          "useCollateralAddressforLease": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "LesseeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "dbaName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestedPartyType"
              }
            ]
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressInfo"
              }
            ]
          },
          "mailing": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressInfo"
              }
            ]
          },
          "signerEmail": {
            "type": "string",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "nullable": true
          },
          "signerPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CertificationOfTrustInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "trustOwnerId": {
            "type": "string",
            "nullable": true
          },
          "ownerName": {
            "type": "string",
            "nullable": true
          },
          "massachusettsTypeOfTrust": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MassachusettsTypeOfTrust"
              }
            ]
          },
          "formCertificationOfTrustAllPowersGrantedInd": {
            "type": "boolean",
            "nullable": true
          },
          "formCertificationOfTrustAllPowersGrantedUserDesc": {
            "type": "string",
            "nullable": true
          },
          "formCertificationOfTrustSuccessorTrusteeUserDesc": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "OwnerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "uniqueApprovedIdentifier": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ValidationResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationMessage"
            }
          },
          "hasErrors": {
            "type": "boolean"
          },
          "hasInformations": {
            "type": "boolean"
          },
          "hasWarnings": {
            "type": "boolean"
          }
        }
      },
      "ValidationMessage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "severity": {
            "$ref": "#/components/schemas/ValidationSeverity"
          },
          "message": {
            "type": "string"
          },
          "validationMessageDetail": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ValidationMessageDetail"
            }
          }
        }
      },
      "ValidationSeverity": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Error",
          "Warning",
          "Information"
        ],
        "enum": [
          "Error",
          "Warning",
          "Information"
        ]
      },
      "ValidationMessageDetail": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "section": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "fields": {
            "type": "string",
            "nullable": true
          },
          "isLink": {
            "type": "boolean"
          }
        }
      },
      "CollateralInsuranceDetailsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralInsuranceDetailInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralInsuranceDetailInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralInsuranceDetailInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralInsuranceDetailInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralInsuranceDetailInfo"
              }
            ]
          }
        }
      },
      "CollateralInsuranceDetailInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "description": "Insurance Id",
                "nullable": true
              },
              "companyAddress": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CompanyAgencyAddress"
                  }
                ]
              },
              "agency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CompanyAgencyAddress"
                  }
                ]
              },
              "purchasedFromLenderInd": {
                "type": "boolean",
                "nullable": true
              },
              "policyNumber": {
                "type": "string",
                "nullable": true
              },
              "coverageAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "premium": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "policyStartDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "policyEndDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "coverageProofDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "termInMonths": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maximumDeductibleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "securedPartyStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecuredPartyStatus"
                  }
                ]
              },
              "securedPartyStatusOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "additionalInformation": {
                "type": "string",
                "nullable": true
              },
              "coverageOtherText": {
                "type": "string",
                "nullable": true
              },
              "policyInformationDesc": {
                "type": "string",
                "nullable": true
              },
              "coverageRisksDesc": {
                "type": "string",
                "nullable": true
              },
              "insCancellationRefundMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InsCancellationRefund"
                  }
                ]
              },
              "insCancelledCheckAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "insCancelledCreditAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "propertyInsApprovedInd": {
                "type": "boolean",
                "nullable": true
              },
              "maximumDeductibleDesc": {
                "type": "string",
                "nullable": true
              },
              "policyBasisDesc": {
                "type": "string",
                "nullable": true
              },
              "policyEndorsementDesc": {
                "type": "string",
                "nullable": true
              },
              "maximumDeductibleToggle": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaximumDeductibleToggle"
                  }
                ]
              },
              "insuredInsuranceCollateralInfo": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuredInsuranceCollateralInfo"
                }
              },
              "insuredCollaterals": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InsuredCollateralDetails"
                }
              },
              "insuranceSummaryDesc": {
                "type": "string",
                "nullable": true
              },
              "insRequiredInd": {
                "type": "boolean",
                "nullable": true
              },
              "jurisdiction": {
                "type": "string",
                "nullable": true
              },
              "baseLoanTermsLoanAct": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "CompanyAgencyAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "description": "Street Address Line 1",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City",
            "nullable": true
          },
          "state": {
            "description": "State",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "description": "Zip Code",
            "nullable": true
          },
          "unitType": {
            "description": "Unit Type",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "description": "Unit Number",
            "nullable": true
          },
          "county": {
            "type": "string",
            "description": "Country",
            "nullable": true
          },
          "sectionDesc": {
            "type": "string",
            "description": "Section Desc",
            "nullable": true
          },
          "lotDesc": {
            "type": "string",
            "description": "Lot Desc",
            "nullable": true
          },
          "unitDesc": {
            "type": "string",
            "description": "Unit Desc",
            "nullable": true
          },
          "blockDesc": {
            "type": "string",
            "description": "Block Desc",
            "nullable": true
          },
          "useCurrentAddressforMailing": {
            "type": "boolean",
            "description": "If true, mailing address of a loan party is the same as a current address.",
            "nullable": true
          },
          "ownRent": {
            "description": "This identifies if the loan party owns or rents their home.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HousingStatusType"
              }
            ]
          },
          "ownRentOtherDesc": {
            "type": "string",
            "description": "The reason the loan party is living at this address.",
            "nullable": true
          },
          "yearsAtAddress": {
            "type": "string",
            "description": "The number of years the loan party has lived at the permanent address.",
            "nullable": true
          },
          "parcel": {
            "type": "string",
            "description": "The parcel or county tax identification number for the real property",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "agentName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "InsuredCollateralDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CollateralCostInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralCostInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralCostInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralCostInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralCostInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralCostInfo"
              }
            ]
          }
        }
      },
      "CollateralCostInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "collateral": {
                "type": "string",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "collateralDropDown": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralDropDown"
                }
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "CollateralDropDown": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "isSelected": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CollateralCostListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralCostListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralCostListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralCostListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralCostListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralCostListInfo"
              }
            ]
          }
        }
      },
      "CollateralCostListInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralCosts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CollateralCostInfo"
            }
          },
          "totalCollateralCost": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "ModificationSummaryInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfModificationSummaryListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationSummaryListInfo"
              }
            ]
          }
        }
      },
      "ModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collateralItemModifications": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CollateralModificationSummaryInfo"
                }
              }
            }
          }
        ]
      },
      "CollateralModificationSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "collateralTitle": {
            "type": "string",
            "nullable": true
          },
          "collateralModificationStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralModificationStatusType"
              }
            ]
          },
          "collateralDesc": {
            "type": "string",
            "nullable": true
          },
          "includeAmendmentRealEstateSecurityInstrument": {
            "type": "boolean",
            "nullable": true
          },
          "dateOfPreviousAgreement": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "collateralCategory": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralCategory"
              }
            ]
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "realEstateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RealEstateType"
              }
            ]
          },
          "originalNoteAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "modificationOriginalTaxAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "mortgageRegistryTaxSecuresNewAndSeparateMortgageMNInd": {
            "type": "boolean",
            "nullable": true
          },
          "partialReleaseInd": {
            "type": "boolean",
            "nullable": true
          },
          "mortgageeName": {
            "type": "string",
            "nullable": true
          },
          "releasedCollateralLoanIdentifierDesc": {
            "type": "string",
            "nullable": true
          },
          "orgNewAddress": {
            "type": "boolean",
            "nullable": true
          },
          "paidInFullInd": {
            "type": "boolean",
            "nullable": true
          },
          "recordingCounty": {
            "type": "string",
            "nullable": true
          },
          "meetsVARefinancePriorityRequirementsInd": {
            "type": "boolean",
            "nullable": true
          },
          "assignedReleasedDocumentReferenceNumberDesc": {
            "type": "string",
            "nullable": true
          },
          "recordingNumber": {
            "type": "string",
            "nullable": true
          },
          "recordingOffice": {
            "type": "string",
            "nullable": true
          },
          "recordedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "recordedBook": {
            "type": "string",
            "nullable": true
          },
          "recordedPage": {
            "type": "string",
            "nullable": true
          },
          "recordingCrossReferenceDescription": {
            "type": "string",
            "nullable": true
          },
          "recordingLocationDesc": {
            "type": "string",
            "nullable": true
          },
          "mortgageAddress": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MortgageAddress"
              }
            ]
          },
          "hasAgreementsCombined": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "MortgageAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mortgageeStreetLine1": {
            "type": "string",
            "nullable": true
          },
          "mortgageeUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "mortgageeUnitNo": {
            "type": "string",
            "nullable": true
          },
          "mortgageeCity": {
            "type": "string",
            "nullable": true
          },
          "mortgageeState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "mortgageeZip": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UrlMapping": {
        "type": "object",
        "description": "Class: UrlMapping.",
        "additionalProperties": false,
        "properties": {
          "logoUrl": {
            "type": "string",
            "description": "Gets or sets the logo URL.",
            "nullable": true
          },
          "helpUrl": {
            "type": "string",
            "description": "Gets or sets the help URL.",
            "nullable": true
          },
          "companySettingsUrl": {
            "type": "string",
            "description": "Gets or sets the company settings URL.",
            "nullable": true
          },
          "userSettingsUrl": {
            "type": "string",
            "description": "Gets or sets the user settings URL.",
            "nullable": true
          },
          "logoutUrl": {
            "type": "string",
            "description": "Gets or sets the logout URL.",
            "nullable": true
          },
          "loanFileUrl": {
            "type": "string",
            "description": "Gets or sets the loan file URL.",
            "nullable": true
          },
          "iFrameHref": {
            "type": "string",
            "description": "Gets or sets the i frame href.",
            "nullable": true
          },
          "userInactivityTime": {
            "type": "string",
            "description": "Gets or sets the user inactivity time.",
            "nullable": true
          },
          "apiVersion": {
            "type": "string",
            "description": "Gets or sets the Api Version Name.",
            "nullable": true
          },
          "environment": {
            "type": "string",
            "description": "Gets or sets the Environment Name.",
            "nullable": true
          },
          "idsKeepAliveCallDelayInSec": {
            "type": "integer",
            "description": "Gets or sets the delay in seconds for keeping IDS login alive.",
            "format": "int32",
            "nullable": true
          },
          "idsKeepAliveCallEndPoint": {
            "type": "string",
            "description": "Gets or sets the endpoint for the IDS keep alive call endpoint.",
            "nullable": true
          },
          "authenticationType": {
            "type": "string",
            "description": "Gets or sets the configured authentication type.",
            "nullable": true
          },
          "oidcSignInUrl": {
            "type": "string",
            "description": "Gets or sets the OIDC sign-in endpoint.",
            "nullable": true
          },
          "stsAdminUrl": {
            "type": "string",
            "description": "Gets or sets the STS Administration URL.",
            "nullable": true
          },
          "isTemplateEnabled": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether template is enabled.",
            "nullable": true
          },
          "isPartyEnabled": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether party is enabled.",
            "nullable": true
          }
        }
      },
      "CoreUploadListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCoreUploadListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCoreUploadListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCoreUploadListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCoreUploadListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CoreUploadListInfo"
              }
            ]
          }
        }
      },
      "CoreUploadListInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "parties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CoreUploadPartyDetailsDto"
            }
          },
          "loan": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CoreUploadLoanDetailsDto"
              }
            ]
          },
          "alertSummary": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AlertSummary"
            }
          }
        }
      },
      "CoreUploadPartyDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "uploadEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "coreUploadEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "uploadInfo": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CorePartyUploadStatusDto"
            }
          }
        }
      },
      "CorePartyUploadStatusDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "integrationPartyId": {
            "type": "string",
            "nullable": true
          },
          "uploadedBy": {
            "type": "string",
            "nullable": true
          },
          "dateUploaded": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CoreUploadLoanDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "branchNumber": {
            "type": "string",
            "nullable": true
          },
          "uploadedBy": {
            "type": "string",
            "nullable": true
          },
          "dateUploaded": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "allPartiesUploaded": {
            "type": "boolean",
            "nullable": true
          },
          "coreUploadEnabled": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CustomerCreateUploadInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCustomerCreateRequestModel"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCustomerCreateRequestModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCustomerCreateRequestModel"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCustomerCreateRequestModel": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerCreateRequestModel"
              }
            ]
          }
        }
      },
      "CustomerCreateRequestModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "assetID": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerCreateRequestContent"
              }
            ]
          },
          "uuid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerCreateRequestContent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "branchNumber": {
            "type": "string",
            "nullable": true
          },
          "officerCode": {
            "type": "string",
            "nullable": true
          },
          "customerBase": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerCreateBase"
              }
            ]
          },
          "userFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserField"
            }
          },
          "coreSpecificFields": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/JXChangeCC"
              }
            ]
          },
          "callOptIn": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "originatingBranch": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerCreateBase": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dob": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Name"
              }
            ]
          },
          "email": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Email"
              }
            ]
          },
          "employments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CoreEmployment"
            }
          },
          "taxID": {
            "type": "string",
            "nullable": true
          },
          "phones": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CorePhone"
            }
          },
          "taxIDType": {
            "type": "string",
            "maxLength": 1,
            "nullable": true
          },
          "isEmployee": {
            "type": "boolean"
          },
          "residences": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ResidenceAddress"
            }
          },
          "annualIncome": {
            "type": "number",
            "format": "double"
          },
          "customerType": {
            "type": "string",
            "nullable": true
          },
          "tinCertification": {
            "type": "string",
            "nullable": true
          },
          "citizenshipCountry": {
            "type": "string",
            "nullable": true
          },
          "taxWithHolding": {
            "type": "boolean"
          },
          "fincenExempt": {
            "type": "string",
            "nullable": true
          },
          "idList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CoreIdentification"
            }
          },
          "naicsCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "affiliation": {
            "type": "string",
            "nullable": true
          },
          "alienStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AlienStatus"
              }
            ]
          },
          "businessInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BusinessInfo"
              }
            ]
          },
          "cipDescription": {
            "type": "string",
            "nullable": true
          },
          "cipFlag": {
            "type": "boolean",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "costCenter": {
            "type": "string",
            "nullable": true
          },
          "craIncomeLevel": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "createDate": {
            "type": "string",
            "nullable": true
          },
          "crmSmsa": {
            "type": "string",
            "nullable": true
          },
          "customerID": {
            "type": "string",
            "nullable": true
          },
          "dateOfRiskRating": {
            "type": "string",
            "nullable": true
          },
          "employeeCode": {
            "type": "string",
            "nullable": true
          },
          "entityType": {
            "type": "string",
            "nullable": true
          },
          "exemptionCode": {
            "type": "string",
            "nullable": true
          },
          "foreignInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ForeignInfo"
              }
            ]
          },
          "isUSCitizen": {
            "type": "boolean",
            "nullable": true
          },
          "isUSResident": {
            "type": "boolean",
            "nullable": true
          },
          "memberID": {
            "type": "string",
            "nullable": true
          },
          "memberType": {
            "type": "string",
            "nullable": true
          },
          "memberStatus": {
            "type": "string",
            "nullable": true
          },
          "mothersMaidenName": {
            "type": "string",
            "nullable": true
          },
          "ownerCode": {
            "type": "string",
            "nullable": true
          },
          "ownOrRent": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "passwordClue": {
            "type": "string",
            "nullable": true
          },
          "preferredContactMethod": {
            "type": "string",
            "nullable": true
          },
          "riskCategory": {
            "type": "string",
            "nullable": true
          },
          "riskRating": {
            "type": "string",
            "nullable": true
          },
          "sendCustomerMailings": {
            "type": "string",
            "nullable": true
          },
          "statementEmailCode": {
            "type": "string",
            "nullable": true
          },
          "statementType": {
            "type": "string",
            "nullable": true
          },
          "accountTypeCodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AccountTypeCode"
            }
          },
          "dueDiligence": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerCreateDueDiligence"
              }
            ]
          },
          "userFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserField"
            }
          },
          "memberGroup": {
            "type": "string",
            "nullable": true
          },
          "relationshipType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Name": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "legalName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "organizationType": {
            "type": "string",
            "nullable": true
          },
          "prefix": {
            "type": "string",
            "nullable": true
          },
          "shortName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Email": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "emailType": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CoreEmployment": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EmploymentAddress"
            }
          },
          "employerName": {
            "type": "string",
            "nullable": true
          },
          "hoursPerWeek": {
            "type": "integer",
            "format": "int32"
          },
          "occupation": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EmploymentPhone"
              }
            ]
          },
          "salary": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "salaryFrequency": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EmploymentAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "address3": {
            "type": "string",
            "nullable": true
          },
          "addressType": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "streetName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "suite": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "postalExtension": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EmploymentPhone": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "areaCode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "extension": {
            "type": "string",
            "nullable": true
          },
          "isPrimary": {
            "type": "boolean"
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "phoneType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CorePhone": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "areaCode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "extension": {
            "type": "string",
            "nullable": true
          },
          "isPrimary": {
            "type": "boolean"
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "phoneType": {
            "type": "string",
            "nullable": true
          },
          "phoneNumberDisplayed": {
            "type": "string",
            "nullable": true
          },
          "unformattedPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResidenceAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "address3": {
            "type": "string",
            "nullable": true
          },
          "addressEndDate": {
            "type": "string",
            "nullable": true
          },
          "addressID": {
            "type": "string",
            "nullable": true
          },
          "addressLastChanged": {
            "type": "string",
            "nullable": true
          },
          "addressLastVerify": {
            "type": "string",
            "nullable": true
          },
          "addressOverride": {
            "type": "string",
            "nullable": true
          },
          "addressType": {
            "type": "string",
            "nullable": true
          },
          "censusTractNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countyCode": {
            "type": "string",
            "nullable": true
          },
          "isPrimary": {
            "type": "boolean",
            "nullable": true
          },
          "isForeign": {
            "type": "boolean",
            "nullable": true
          },
          "mailDirectoryCode": {
            "type": "string",
            "nullable": true
          },
          "numberOfMonths": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfYears": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "msaCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "postalExtension": {
            "type": "string",
            "nullable": true
          },
          "seasonBeginDate": {
            "type": "string",
            "nullable": true
          },
          "seasonEndDate": {
            "type": "string",
            "nullable": true
          },
          "seasonReoccur": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "streetName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "subType": {
            "type": "string",
            "nullable": true
          },
          "suite": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CoreIdentification": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "issueDate": {
            "type": "string",
            "nullable": true
          },
          "issueLocation": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AlienStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "chapter3ExemptCode": {
            "type": "string",
            "nullable": true
          },
          "chapter3Status": {
            "type": "string",
            "nullable": true
          },
          "chapter4ExemptCode": {
            "type": "string",
            "nullable": true
          },
          "chapter4Status": {
            "type": "string",
            "nullable": true
          },
          "citizenCountry": {
            "type": "string",
            "nullable": true
          },
          "giin": {
            "type": "string",
            "nullable": true
          },
          "isAlien": {
            "type": "boolean",
            "nullable": true
          },
          "postalCountry": {
            "type": "string",
            "nullable": true
          },
          "postalProvince": {
            "type": "string",
            "nullable": true
          },
          "residentCity": {
            "type": "string",
            "nullable": true
          },
          "residentCountry": {
            "type": "string",
            "nullable": true
          },
          "residentState": {
            "type": "string",
            "nullable": true
          },
          "w8CertificationDate": {
            "type": "string",
            "nullable": true
          },
          "w8ExpirationDate": {
            "type": "string",
            "nullable": true
          },
          "w8Type": {
            "type": "string",
            "nullable": true
          },
          "w8OnFile": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "BusinessInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "businessID": {
            "type": "string",
            "nullable": true
          },
          "businessStartDate": {
            "type": "string",
            "nullable": true
          },
          "goodsSold": {
            "type": "string",
            "nullable": true
          },
          "industryType": {
            "type": "string",
            "nullable": true
          },
          "numberOfEmployees": {
            "type": "string",
            "nullable": true
          },
          "nonProfitFlag": {
            "type": "string",
            "nullable": true
          },
          "primaryMarket": {
            "type": "string",
            "nullable": true
          },
          "sales": {
            "type": "string",
            "nullable": true
          },
          "stateIncorporated": {
            "type": "string",
            "nullable": true
          },
          "webAddress": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ForeignInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "taxID": {
            "type": "string",
            "nullable": true
          },
          "taxIDType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountTypeCode": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerCreateDueDiligence": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "acceptACHPayment": {
            "type": "string",
            "nullable": true
          },
          "domesticIncomingActivity": {
            "type": "string",
            "nullable": true
          },
          "domesticIncomingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "domesticIncomingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "domesticOutgoingActivity": {
            "type": "string",
            "nullable": true
          },
          "domesticOutgoingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "domesticOutgoingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dueDiligenceComment": {
            "type": "string",
            "nullable": true
          },
          "foreignIncomingActivity": {
            "type": "string",
            "nullable": true
          },
          "foreignIncomingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "foreignIncomingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "foreignOutgoingActivity": {
            "type": "string",
            "nullable": true
          },
          "foreignOutgoingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "foreignOutgoingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "incomingCountriesList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/IncomingCountry"
            }
          },
          "moneyServiceBusiness": {
            "type": "string",
            "nullable": true
          },
          "numberOfCashDeposits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfCashWithdrawals": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfChecksWritten": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfDeposits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "originateACHPayment": {
            "type": "string",
            "nullable": true
          },
          "outgoingCountriesList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/OutgoingCountry"
            }
          },
          "totalCashDepositsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalCashWithdrawalsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalChecksWrittenAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalDepositsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "transferServices": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IncomingCountry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "incomingCountryCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "OutgoingCountry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "outgoingCountryCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UserField": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dataLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dataType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "groupNumber": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "requiredFlag": {
            "type": "boolean",
            "nullable": true
          },
          "searchFlag": {
            "type": "boolean",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "JXChangeCC": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "classCode": {
            "type": "string",
            "nullable": true
          },
          "cdEmailOptOut": {
            "type": "string",
            "nullable": true
          },
          "custEmailOptOut": {
            "type": "string",
            "nullable": true
          },
          "ddaEmailOptOut": {
            "type": "string",
            "nullable": true
          },
          "loanEmailOptOut": {
            "type": "string",
            "nullable": true
          },
          "acceptACHPayment": {
            "type": "string",
            "nullable": true
          },
          "accessLevel": {
            "type": "string",
            "nullable": true
          },
          "accountType": {
            "type": "string",
            "nullable": true
          },
          "addressRetention": {
            "type": "boolean",
            "nullable": true
          },
          "atsIndicator": {
            "type": "string",
            "nullable": true
          },
          "businessID": {
            "type": "string",
            "nullable": true
          },
          "businessSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cashMgmt1": {
            "type": "string",
            "nullable": true
          },
          "cashMgmt2": {
            "type": "string",
            "nullable": true
          },
          "contactPreference": {
            "type": "string",
            "nullable": true
          },
          "creditBureauReport": {
            "type": "boolean",
            "nullable": true
          },
          "customerRetention": {
            "type": "boolean",
            "nullable": true
          },
          "domesticIncomingActivity": {
            "type": "string",
            "nullable": true
          },
          "domesticIncomingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "domesticIncomingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "domesticOutgoingActivity": {
            "type": "string",
            "nullable": true
          },
          "domesticOutgoingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "domesticOutgoingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dualCountry": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dueDiligenceComment": {
            "type": "string",
            "nullable": true
          },
          "duplicateTaxIDOverride": {
            "type": "string",
            "nullable": true
          },
          "employees": {
            "type": "string",
            "nullable": true
          },
          "eSignConsent": {
            "type": "string",
            "nullable": true
          },
          "foreignIncomingActivity": {
            "type": "string",
            "nullable": true
          },
          "foreignIncomingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "foreignIncomingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "foreignOutgoingActivity": {
            "type": "string",
            "nullable": true
          },
          "foreignOutgoingWireAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "foreignOutgoingWireNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "goodsSold": {
            "type": "string",
            "nullable": true
          },
          "headOfHousehold": {
            "type": "boolean",
            "nullable": true
          },
          "industryType": {
            "type": "string",
            "nullable": true
          },
          "isServiceMember": {
            "type": "boolean",
            "nullable": true
          },
          "isTaxReported": {
            "type": "boolean",
            "nullable": true
          },
          "memberGroup": {
            "type": "string",
            "nullable": true
          },
          "memberGroup2": {
            "type": "string",
            "nullable": true
          },
          "memberGroup3": {
            "type": "string",
            "nullable": true
          },
          "moneyServiceBusiness": {
            "type": "string",
            "nullable": true
          },
          "nonprofitFlag": {
            "type": "string",
            "nullable": true
          },
          "numberOfCashDeposits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfCashWithdrawals": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfChecksWritten": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfDeposits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "openDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "originateACHPayment": {
            "type": "string",
            "nullable": true
          },
          "organizationType": {
            "type": "string",
            "nullable": true
          },
          "personSerial": {
            "type": "string",
            "nullable": true
          },
          "politicalExposureDesc": {
            "type": "string",
            "nullable": true
          },
          "politicalExposureInfo": {
            "type": "string",
            "nullable": true
          },
          "primaryMarket": {
            "type": "string",
            "nullable": true
          },
          "proxyDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "relationshipRole": {
            "type": "string",
            "nullable": true
          },
          "relationshipType": {
            "type": "string",
            "nullable": true
          },
          "responsibleBranch": {
            "type": "string",
            "nullable": true
          },
          "rpt1099IntYN": {
            "type": "string",
            "nullable": true
          },
          "sales": {
            "type": "string",
            "nullable": true
          },
          "stateIncorporated": {
            "type": "string",
            "nullable": true
          },
          "statementType": {
            "type": "string",
            "nullable": true
          },
          "totalCashDepositsAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCashWithdrawalsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalChecksWrittenAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalDepositsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "transferServices": {
            "type": "string",
            "nullable": true
          },
          "usEdit1": {
            "type": "boolean",
            "nullable": true
          },
          "userAmount1": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "userAmount2": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "userChar1": {
            "type": "string",
            "nullable": true
          },
          "userChar2": {
            "type": "string",
            "nullable": true
          },
          "userChar3": {
            "type": "string",
            "nullable": true
          },
          "userChar4": {
            "type": "string",
            "nullable": true
          },
          "userDate1": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userDate2": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userID": {
            "type": "string",
            "nullable": true
          },
          "webAddress": {
            "type": "string",
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomerCustomFields"
            }
          },
          "incomingCountriesList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomerIncomingCountriesList"
            }
          },
          "outgoingCountriesList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomerOutgoingCountriesList"
            }
          },
          "warningCodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomerWarningCodes"
            }
          }
        }
      },
      "CustomerCustomFields": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerIncomingCountriesList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "incomingCountryCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerOutgoingCountriesList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "outgoingCountryCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerWarningCodes": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "entryID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "warningCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "warningExpiration": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "LoanCreateUploadInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanCreateRequestModel"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanCreateRequestModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanCreateRequestModel"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanCreateRequestModel": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanCreateRequestModel"
              }
            ]
          }
        }
      },
      "LoanCreateRequestModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "assetID": {
            "type": "string",
            "nullable": true
          },
          "uuid": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanRequestContent"
              }
            ]
          }
        }
      },
      "LoanRequestContent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loan": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CoreLoan"
              }
            ]
          },
          "coreSpecificFields": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FiservDnaLC"
              }
            ]
          }
        }
      },
      "CoreLoan": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Customer"
            }
          },
          "collateral": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Collateral"
            }
          },
          "escrows": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Escrow"
            }
          },
          "loanDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanDetails"
              }
            ]
          },
          "automaticFundsTransfer": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AutomaticFundsTransfer"
              }
            ]
          },
          "userFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanUserField"
            }
          },
          "sbaDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SbaDetails"
              }
            ]
          }
        }
      },
      "Customer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "annualIncome": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "nullable": true
          },
          "customerID": {
            "type": "string",
            "nullable": true
          },
          "customerType": {
            "type": "string",
            "nullable": true
          },
          "dependentCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isTinCertification": {
            "type": "boolean",
            "nullable": true
          },
          "maritalStatusType": {
            "type": "string",
            "nullable": true
          },
          "paymentAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "relationshipType": {
            "type": "string",
            "nullable": true
          },
          "taxID": {
            "type": "string",
            "nullable": true
          },
          "tinCertDate": {
            "type": "string",
            "nullable": true
          },
          "tinType": {
            "type": "string",
            "nullable": true
          },
          "creditScoreDetails": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CreditScoreDetails"
            }
          },
          "employer": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Employer"
              }
            ]
          },
          "governmentMonitoring": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GovernmentMonitoring"
              }
            ]
          },
          "name": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanName"
              }
            ]
          },
          "presentHousingExpense": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PresentHousingExpense"
              }
            ]
          },
          "accountType": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "affiliation": {
            "type": "string",
            "nullable": true
          },
          "beneficialOwnerPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "beneficialOwnerType": {
            "type": "string",
            "nullable": true
          },
          "beneficiaryPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "branchNumber": {
            "type": "string",
            "nullable": true
          },
          "businessID": {
            "type": "string",
            "nullable": true
          },
          "businessSince": {
            "type": "string",
            "nullable": true
          },
          "callOptIn": {
            "type": "string",
            "nullable": true
          },
          "customerGuid": {
            "type": "string",
            "nullable": true
          },
          "customerClassCode": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "employeeCode": {
            "type": "string",
            "nullable": true
          },
          "idList": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CoreIdentification"
            }
          },
          "isEmployee": {
            "type": "boolean",
            "nullable": true
          },
          "jointAssetLiabilityReportingType": {
            "type": "string",
            "nullable": true
          },
          "memberGroup": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mothersMaidenName": {
            "type": "string",
            "nullable": true
          },
          "naicsCode": {
            "type": "string",
            "nullable": true
          },
          "officerCode": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "passwordClue": {
            "type": "string",
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PhoneNumbers"
            }
          },
          "proxyDate": {
            "type": "string",
            "nullable": true
          },
          "riskCategory": {
            "type": "string",
            "nullable": true
          },
          "riskRating": {
            "type": "string",
            "nullable": true
          },
          "sendCustomerMailings": {
            "type": "string",
            "nullable": true
          },
          "userFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomerUserField"
            }
          },
          "addresses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CustomersAddresses"
            }
          },
          "creditBureauReportCode": {
            "type": "string",
            "nullable": true
          },
          "tinCertification": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditScoreDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "approvalCreditScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "approvalCreditScoreCompany": {
            "type": "string",
            "nullable": true
          },
          "creditScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "creditScoreDate": {
            "type": "string",
            "nullable": true
          },
          "creditScoreCompany": {
            "type": "string",
            "nullable": true
          },
          "ficoScore": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Employer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "city": {
            "type": "string",
            "nullable": true
          },
          "currentEmploymentYearsOnJob": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employerName": {
            "type": "string",
            "nullable": true
          },
          "isSelfEmployed": {
            "type": "boolean",
            "nullable": true
          },
          "numberOfYears": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "occupation": {
            "type": "string",
            "nullable": true
          },
          "positionTitle": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "streetName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "suite": {
            "type": "string",
            "nullable": true
          },
          "telephoneNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "GovernmentMonitoring": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "age": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "genderDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GenderDetails"
              }
            ]
          }
        }
      },
      "GenderDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gender": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanName": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "legalName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "organizationType": {
            "type": "string",
            "nullable": true
          },
          "prefix": {
            "type": "string",
            "nullable": true
          },
          "shortName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PresentHousingExpense": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "paymentAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "housingExpenseType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "PhoneNumbers": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "areaCode": {
            "type": "string",
            "nullable": true
          },
          "extension": {
            "type": "string",
            "nullable": true
          },
          "isPrimary": {
            "type": "boolean",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "phoneType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerUserField": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomersAddresses": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "address3": {
            "type": "string",
            "nullable": true
          },
          "addressType": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "countyCode": {
            "type": "string",
            "nullable": true
          },
          "numberOfMonths": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfYears": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "postalExtension": {
            "type": "string",
            "nullable": true
          },
          "seasonBeginDate": {
            "type": "string",
            "nullable": true
          },
          "seasonEndDate": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "stateCode": {
            "type": "string",
            "nullable": true
          },
          "streetName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "suite": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Collateral": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralCode": {
            "type": "string",
            "nullable": true
          },
          "collateralDescription": {
            "type": "string",
            "nullable": true
          },
          "salesPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "collateralDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CoreCollateralDetails"
              }
            ]
          },
          "collateralValue": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CoreCollateralDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "blockNumber": {
            "type": "string",
            "nullable": true
          },
          "financedNumberOfUnits": {
            "type": "string",
            "nullable": true
          },
          "lienPosition": {
            "type": "string",
            "nullable": true
          },
          "lotNumber": {
            "type": "string",
            "nullable": true
          },
          "occupancyCode": {
            "type": "string",
            "nullable": true
          },
          "propertyCensusCode": {
            "type": "string",
            "nullable": true
          },
          "propertyCountyCode": {
            "type": "string",
            "nullable": true
          },
          "propertyMsaCode": {
            "type": "string",
            "nullable": true
          },
          "propertyStateCode": {
            "type": "string",
            "nullable": true
          },
          "propertyType": {
            "type": "string",
            "nullable": true
          },
          "propertyParcelNumber": {
            "type": "string",
            "nullable": true
          },
          "sectionNumber": {
            "type": "string",
            "nullable": true
          },
          "structureBuiltYear": {
            "type": "string",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CollateralAddress"
            }
          },
          "appraisalDate": {
            "type": "string",
            "nullable": true
          },
          "appraisalAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "propertyPurchaseDate": {
            "type": "string",
            "nullable": true
          },
          "sellerFirstName": {
            "type": "string",
            "nullable": true
          },
          "sellerLastName": {
            "type": "string",
            "nullable": true
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "condition": {
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "series": {
            "type": "string",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "propertyDescription1": {
            "type": "string",
            "nullable": true
          },
          "propertyDescription2": {
            "type": "string",
            "nullable": true
          },
          "propertyDescription3": {
            "type": "string",
            "nullable": true
          },
          "propertyDescription4": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CollateralAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "postalExtension": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "streetName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "suite": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Escrow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentPremium": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "disbursementFrequency": {
            "type": "string",
            "nullable": true
          },
          "escrowRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "escrowMonthlyAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "escrowType": {
            "type": "string",
            "nullable": true
          },
          "insuranceCoverageAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "insuranceExpirationDate": {
            "type": "string",
            "nullable": true
          },
          "isCollected": {
            "type": "boolean",
            "nullable": true
          },
          "payeeNumber": {
            "type": "string",
            "nullable": true
          },
          "pmiCertificateNumber": {
            "type": "string",
            "nullable": true
          },
          "pmiCoveragePercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "taxInsurancePolicyNumber": {
            "type": "string",
            "nullable": true
          },
          "escrowInstallmentDisbursement": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EscrowInstallmentDisbursement"
            }
          },
          "automaticDisbursementIndicator": {
            "type": "string",
            "nullable": true
          },
          "automaticDisbursementLeadDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "automaticDisbursementStatus": {
            "type": "string",
            "nullable": true
          },
          "checkGroupNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentFHAAnniversary": {
            "type": "string",
            "nullable": true
          },
          "customerRecipientCode": {
            "type": "string",
            "nullable": true
          },
          "disbursementExceptionIndicator": {
            "type": "string",
            "nullable": true
          },
          "escrowActiveInactiveIndicator": {
            "type": "string",
            "nullable": true
          },
          "escrowCheckRecipient": {
            "type": "string",
            "nullable": true
          },
          "escrowCollectionMethod": {
            "type": "string",
            "nullable": true
          },
          "escrowCompanyCategory": {
            "type": "string",
            "nullable": true
          },
          "escrowCompanySubcategory": {
            "type": "string",
            "nullable": true
          },
          "escrowDisbursementCalculationMethod": {
            "type": "string",
            "nullable": true
          },
          "escrowInterestIndicator": {
            "type": "string",
            "nullable": true
          },
          "escrowSegmentNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "escrowStatusIndicator": {
            "type": "string",
            "nullable": true
          },
          "evenAmountEscrowDisbursementIndicator": {
            "type": "string",
            "nullable": true
          },
          "guaranteeNumber": {
            "type": "string",
            "nullable": true
          },
          "lnAccountNumber": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lnNoteNumber": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maintenanceCode": {
            "type": "string",
            "nullable": true
          },
          "mipUpfrontFinancedAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "nextEscrowDisbursementAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "nextExpectedDisbursementDate": {
            "type": "string",
            "nullable": true
          },
          "nextPayDate": {
            "type": "string",
            "nullable": true
          },
          "numberOfEscrowDisbursementInstallments": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "paymentGraceDays": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pendingFHAAnniversary": {
            "type": "string",
            "nullable": true
          },
          "pendingPremium": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pmiMIPFinancedAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pmiPremiumPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "premiumCalculationMethod": {
            "type": "string",
            "nullable": true
          },
          "taxInsuranceIdentificationMaintenanceCode": {
            "type": "string",
            "nullable": true
          },
          "transactionCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "escrowDescription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EscrowInstallmentDisbursement": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "disbursementAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "disbursementDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "LoanDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "applicationDate": {
            "type": "string",
            "nullable": true
          },
          "appraisalDate": {
            "type": "string",
            "nullable": true
          },
          "appraisalAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "balloonAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "balloonDueDate": {
            "type": "string",
            "nullable": true
          },
          "callReportCode": {
            "type": "string",
            "nullable": true
          },
          "combinedLoanToValue": {
            "type": "string",
            "nullable": true
          },
          "couponBookDate": {
            "type": "string",
            "nullable": true
          },
          "couponBookTerm": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "creditLimit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "creditReportType": {
            "type": "string",
            "nullable": true
          },
          "debtToIncomeRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "advanceAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "advanceType": {
            "type": "string",
            "nullable": true
          },
          "downPaymentAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "fundingDate": {
            "type": "string",
            "nullable": true
          },
          "governmentCaseNumber": {
            "type": "string",
            "nullable": true
          },
          "governementIndicator": {
            "type": "string",
            "nullable": true
          },
          "highPricedMortgageCode": {
            "type": "string",
            "nullable": true
          },
          "highPricedMortgageRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "branchNumber": {
            "type": "string",
            "nullable": true
          },
          "isBalloon": {
            "type": "boolean",
            "nullable": true
          },
          "isFirstTimeHomebuyer": {
            "type": "boolean",
            "nullable": true
          },
          "isMers": {
            "type": "boolean",
            "nullable": true
          },
          "loanAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "loanToValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maturityDate": {
            "type": "string",
            "nullable": true
          },
          "mersNumber": {
            "type": "string",
            "nullable": true
          },
          "netProceeds": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "numberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "naicsCode": {
            "type": "string",
            "nullable": true
          },
          "originationDate": {
            "type": "string",
            "nullable": true
          },
          "points": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "propertyWillBe": {
            "type": "string",
            "nullable": true
          },
          "printCouponCode": {
            "type": "string",
            "nullable": true
          },
          "purposeCode": {
            "type": "string",
            "nullable": true
          },
          "qualifiedMortgageRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "riskRatingCode": {
            "type": "string",
            "nullable": true
          },
          "term": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "termCode": {
            "type": "string",
            "nullable": true
          },
          "accountInformation": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AccountInformation"
              }
            ]
          },
          "arm": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Arm"
              }
            ]
          },
          "construction": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Construction"
              }
            ]
          },
          "floodCertification": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodCertification"
              }
            ]
          },
          "interest": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Interest"
              }
            ]
          },
          "officers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Officer"
            }
          },
          "payments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CorePayment"
            }
          },
          "allotmentType": {
            "type": "string",
            "nullable": true
          },
          "annualPercentageRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "approvalDate": {
            "type": "string",
            "nullable": true
          },
          "applicationNumber": {
            "type": "string",
            "nullable": true
          },
          "balloonTerm": {
            "type": "string",
            "nullable": true
          },
          "billingMethodCode": {
            "type": "string",
            "nullable": true
          },
          "couponCode": {
            "type": "string",
            "nullable": true
          },
          "creditReportScore": {
            "type": "string",
            "nullable": true
          },
          "dealerDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DealerDetails"
              }
            ]
          },
          "ecoaCode": {
            "type": "string",
            "nullable": true
          },
          "escrowBalance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "escrowCushion": {
            "type": "string",
            "nullable": true
          },
          "fasb": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanFasb"
            }
          },
          "fdicCategoryCode": {
            "type": "string",
            "nullable": true
          },
          "institutionDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanInstitutionDetails"
              }
            ]
          },
          "insurances": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanInsurance"
            }
          },
          "investor": {
            "type": "string",
            "nullable": true
          },
          "investorCategory": {
            "type": "string",
            "nullable": true
          },
          "is1098": {
            "type": "boolean",
            "nullable": true
          },
          "isSalableLoan": {
            "type": "boolean"
          },
          "lateCharge": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanLateCharge"
              }
            ]
          },
          "lienPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "loanClassCode": {
            "type": "string",
            "nullable": true
          },
          "loanTypeName": {
            "type": "string",
            "nullable": true
          },
          "loanType": {
            "type": "string",
            "nullable": true
          },
          "newLoanDueDateCode": {
            "type": "string",
            "nullable": true
          },
          "newMoney": {
            "type": "number",
            "format": "decimal"
          },
          "pledgeDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanPledgeDetails"
              }
            ]
          },
          "qualifiedMortgageCode": {
            "type": "string",
            "nullable": true
          },
          "secondaryMarket": {
            "type": "string",
            "nullable": true
          },
          "securedCode": {
            "type": "string",
            "nullable": true
          },
          "totalEscrowPaymentAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "unamortizedFeeAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "originalInstallmentNumber": {
            "type": "string",
            "nullable": true
          },
          "committedLiability": {
            "type": "string",
            "nullable": true
          },
          "undisbursedCLCode": {
            "type": "string",
            "nullable": true
          },
          "buyDown": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanBuyDown"
              }
            ]
          },
          "escrowShareType": {
            "type": "string",
            "nullable": true
          },
          "glCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountInformation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "accountType": {
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "subAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "subAccountType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Arm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "capReviewDate": {
            "type": "string",
            "nullable": true
          },
          "capTerm": {
            "type": "string",
            "nullable": true
          },
          "capTermCode": {
            "type": "string",
            "nullable": true
          },
          "capUpwardDownwardRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ceiling": {
            "type": "string",
            "nullable": true
          },
          "changeNoticeDays": {
            "type": "string",
            "nullable": true
          },
          "floor": {
            "type": "string",
            "nullable": true
          },
          "rateIndex": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rateIndexType": {
            "type": "string",
            "nullable": true
          },
          "rateReviewDate": {
            "type": "string",
            "nullable": true
          },
          "rateReviewTerm": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rateReviewTermUnits": {
            "type": "string",
            "nullable": true
          },
          "reamortizePayment": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "reamortizePaymentDate": {
            "type": "string",
            "nullable": true
          },
          "reamortizeTerm": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "reamortizeTermCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "roundingMethod": {
            "type": "string",
            "nullable": true
          },
          "roundToAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "variance": {
            "type": "string",
            "nullable": true
          },
          "reviewDate": {
            "type": "string",
            "nullable": true
          },
          "reviewTerm": {
            "type": "string",
            "nullable": true
          },
          "reviewTermCode": {
            "type": "string",
            "nullable": true
          },
          "maxFirstRateChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minFirstRateChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isPrimeFlag": {
            "type": "boolean",
            "nullable": true
          },
          "isAnnualPrime": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "Construction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "maturityDate": {
            "type": "string",
            "nullable": true
          },
          "term": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "FloodCertification": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "baseFloodElevation": {
            "type": "string",
            "nullable": true
          },
          "communityName": {
            "type": "string",
            "nullable": true
          },
          "constructionDate": {
            "type": "string",
            "nullable": true
          },
          "contractSuffix": {
            "type": "string",
            "nullable": true
          },
          "communityNumber": {
            "type": "string",
            "nullable": true
          },
          "floodCertificationNumber": {
            "type": "string",
            "nullable": true
          },
          "floodDeterminationCompany": {
            "type": "string",
            "nullable": true
          },
          "floodDeterminationNumber": {
            "type": "string",
            "nullable": true
          },
          "floodInsuranceCoverageAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "floodLifeOfLoanIndicator": {
            "type": "string",
            "nullable": true
          },
          "floodLifeOfLoanCarrier": {
            "type": "string",
            "nullable": true
          },
          "floodZone": {
            "type": "string",
            "nullable": true
          },
          "floodZoneDeterminationDate": {
            "type": "string",
            "nullable": true
          },
          "mapPanelNumber": {
            "type": "string",
            "nullable": true
          },
          "mapPanelNumberEffectiveDate": {
            "type": "string",
            "nullable": true
          },
          "mapPanelSuffix": {
            "type": "string",
            "nullable": true
          },
          "specialFloodHazardAreaIndicator": {
            "type": "string",
            "nullable": true
          },
          "zoneClass": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Interest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "interestRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "prepaidInterestAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalInterest": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "interestAccrualBase": {
            "type": "string",
            "nullable": true
          },
          "interestAmount": {
            "type": "number",
            "format": "double"
          },
          "interestCalculationMethod": {
            "type": "string",
            "nullable": true
          },
          "interestType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Officer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "officerCode": {
            "type": "string",
            "nullable": true
          },
          "officerName": {
            "type": "string",
            "nullable": true
          },
          "officerType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CorePayment": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "paymentAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "nullable": true
          },
          "paymentTerm": {
            "type": "string",
            "nullable": true
          },
          "paymentType": {
            "type": "string",
            "nullable": true
          },
          "piAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "interestDue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "otherFeesDue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "principalDue": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "DealerDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "afterMarketProducts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AfterMarketProducts"
            }
          },
          "bankDiscount": {
            "type": "string",
            "nullable": true
          },
          "bankReserveAmount": {
            "type": "string",
            "nullable": true
          },
          "chargeOff": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ChargeOff"
              }
            ]
          },
          "compensationPlan": {
            "type": "string",
            "nullable": true
          },
          "dealerDiscount": {
            "type": "string",
            "nullable": true
          },
          "dealerInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DealerInfo"
              }
            ]
          },
          "dealerLocationID": {
            "type": "string",
            "nullable": true
          },
          "dealerRate": {
            "type": "string",
            "nullable": true
          },
          "dealerReserveAmount": {
            "type": "string",
            "nullable": true
          },
          "dealerReserves": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/DealerReserve"
            }
          },
          "dealerType": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "flatFeePlan": {
            "type": "string",
            "nullable": true
          },
          "incentives": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/DealerIncentives"
            }
          },
          "liabilityCode": {
            "type": "string",
            "nullable": true
          },
          "megaDealerNumber": {
            "type": "string",
            "nullable": true
          },
          "payoff": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DealerPayoff"
              }
            ]
          },
          "recourse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DealerRecourse"
              }
            ]
          },
          "upfrontRebate": {
            "type": "string",
            "nullable": true
          },
          "upfrontPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "wholesaleCode": {
            "type": "string",
            "nullable": true
          },
          "wholesaleNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AfterMarketProducts": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "capitalizedFlag": {
            "type": "string",
            "nullable": true
          },
          "cashPriceFlag": {
            "type": "string",
            "nullable": true
          },
          "companyID": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "premium": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "productID": {
            "type": "string",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "rebateFormula": {
            "type": "string",
            "nullable": true
          },
          "rebateType": {
            "type": "string",
            "nullable": true
          },
          "term": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "withheldFromProceeds": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ChargeOff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "daysToForfeitRebate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "forfeitDiscount": {
            "type": "string",
            "nullable": true
          },
          "forfeitRebate": {
            "type": "string",
            "nullable": true
          },
          "paymentsToForfeit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "percentOfRebate": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "DealerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DealerAddress"
              }
            ]
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "contactName": {
            "type": "string",
            "nullable": true
          },
          "contactPhone": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DealerAddress": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "city": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DealerReserve": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "bonusLevel": {
            "type": "string",
            "nullable": true
          },
          "bonusPaymentStatus": {
            "type": "string",
            "nullable": true
          },
          "chargebackCode": {
            "type": "string",
            "nullable": true
          },
          "handlingType": {
            "type": "string",
            "nullable": true
          },
          "holdbackAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "holdbackMethod": {
            "type": "string",
            "nullable": true
          },
          "paymentFormula": {
            "type": "string",
            "nullable": true
          },
          "paymentMethod": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DealerIncentives": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "discountRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lenderPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "partner": {
            "type": "string",
            "nullable": true
          },
          "partnerPercentage": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DealerPayoff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "daysToForfeitRebate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "forfeitDiscount": {
            "type": "string",
            "nullable": true
          },
          "forfeitRebate": {
            "type": "string",
            "nullable": true
          },
          "paymentsToForfeit": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "DealerRecourse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "term": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "termCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanFasb": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amortizationTerm": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "fasbAmortizationMethod": {
            "type": "string",
            "nullable": true
          },
          "fasbType": {
            "type": "string",
            "nullable": true
          },
          "fasbTypeCode": {
            "type": "string",
            "nullable": true
          },
          "fasbFeeName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanInstitutionDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "bankNumber": {
            "type": "string",
            "nullable": true
          },
          "branchName": {
            "type": "string",
            "nullable": true
          },
          "branchNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanInsurance": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "agentName": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "insuranceType": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "integer",
            "format": "int64"
          },
          "policyNumber": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "renewalReceivedDate": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanLateCharge": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gracePeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lateChargeAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lateChargeDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lateChargeType": {
            "type": "string",
            "nullable": true
          },
          "maximumLateChargeAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minimumLateChargeAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "LoanPledgeDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "accountPledges": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanAccountPledge"
            }
          },
          "loanPledge": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanPledge"
            }
          }
        }
      },
      "LoanAccountPledge": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralNumber": {
            "type": "string",
            "nullable": true
          },
          "collateralPriority": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "effectiveDate": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "fmType": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pledgeType": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "LoanPledge": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "collateralCode": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "collateralNumber": {
            "type": "string",
            "nullable": true
          },
          "collateralPriority": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "effectiveDate": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "fmType": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "pledgeAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pledgeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pledgeType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "LoanBuyDown": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "graduatedPaymentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "planCode": {
            "type": "string",
            "nullable": true
          },
          "reserve": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "subsidyIndicator": {
            "type": "string",
            "nullable": true
          },
          "subsidy": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanBuyDownSubsidy"
            }
          }
        }
      },
      "LoanBuyDownSubsidy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "paymentFactor": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AutomaticFundsTransfer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "creditAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "creditTransactionCode": {
            "type": "string",
            "nullable": true
          },
          "creditAccountType": {
            "type": "string",
            "nullable": true
          },
          "debitAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "debitTransactionCode": {
            "type": "string",
            "nullable": true
          },
          "debitAccountType": {
            "type": "string",
            "nullable": true
          },
          "effectiveDate": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "fundTypeCode": {
            "type": "string",
            "nullable": true
          },
          "graceDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nextDisbursementDate": {
            "type": "string",
            "nullable": true
          },
          "amountOption": {
            "type": "string",
            "nullable": true
          },
          "creditSubAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "debitSubAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "transferPaymentType": {
            "type": "string",
            "nullable": true
          },
          "transferType": {
            "type": "string",
            "nullable": true
          },
          "achRoutingNumber": {
            "type": "string",
            "nullable": true
          },
          "achBankName": {
            "type": "string",
            "nullable": true
          },
          "achAccountName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanUserField": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SbaDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "processingMethod": {
            "type": "string",
            "nullable": true
          },
          "sbaApprovalDate": {
            "type": "string",
            "nullable": true
          },
          "sbaGuarantyFee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "sbaLoanNumber": {
            "type": "string",
            "nullable": true
          },
          "sbaGuarantyPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "FiservDnaLC": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "balanceCategoryCode": {
            "type": "string",
            "nullable": true
          },
          "loanLossCategoryCode": {
            "type": "string",
            "nullable": true
          },
          "majorAccountTypeCode": {
            "type": "string",
            "nullable": true
          },
          "minorAccountTypeCode": {
            "type": "string",
            "nullable": true
          },
          "paymentBalanceCategoryCode": {
            "type": "string",
            "nullable": true
          },
          "paymentBalanceTypeCode": {
            "type": "string",
            "nullable": true
          },
          "paymentCalendarPeriodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentTypeCode": {
            "type": "string",
            "nullable": true
          },
          "rtxnTypeCode": {
            "type": "string",
            "nullable": true
          },
          "iglCode": {
            "type": "string",
            "nullable": true
          },
          "miscellaneousCode": {
            "type": "string",
            "nullable": true
          },
          "miscellaneousCode2": {
            "type": "string",
            "nullable": true
          },
          "rvcPlanCode": {
            "type": "string",
            "nullable": true
          },
          "smPassThroughRate": {
            "type": "string",
            "nullable": true
          },
          "smPurchaserCode": {
            "type": "string",
            "nullable": true
          },
          "smPurchaserProgramCode": {
            "type": "string",
            "nullable": true
          },
          "glCode": {
            "type": "string",
            "nullable": true
          },
          "loanAdvanceWorksheetDetails": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LoanAdvanceWorksheetDetails"
            }
          },
          "portfolioNumber": {
            "type": "string",
            "nullable": true
          },
          "userID": {
            "type": "string",
            "nullable": true
          },
          "lwsAdvanceDate": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanAdvanceWorksheetDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lwsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lwsChargeCode": {
            "type": "string",
            "nullable": true
          },
          "lwsDescription": {
            "type": "string",
            "nullable": true
          },
          "lwsEffectiveDate": {
            "type": "string",
            "nullable": true
          },
          "lwsTrfAcctNumber": {
            "type": "string",
            "nullable": true
          },
          "lwsTrfAcctType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CoreUploadAllToCoreInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "parties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PartyCreateRequest"
            }
          },
          "loan": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanCreateRequest"
              }
            ]
          }
        }
      },
      "PartyCreateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerCreateRequestModel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerCreateRequestModel"
              }
            ]
          },
          "partyId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanCreateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanCreateRequestModel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanCreateRequestModel"
              }
            ]
          },
          "loanId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditResponse": {
        "type": "object",
        "description": "Represents the response containing credit-related information.",
        "additionalProperties": false,
        "properties": {
          "pdf": {
            "type": "string",
            "description": "Gets or sets the PDF content as a string.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets or sets the status of the credit response.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the error message associated with the credit response.",
            "nullable": true
          },
          "creditReportHeaderId": {
            "type": "string",
            "description": "Gets or sets the credit report identifier.",
            "nullable": true
          },
          "creditReportItemId": {
            "type": "string",
            "description": "Gets or sets the loan-file identifier of the underlying report\nitem (Credit Report or Business Report). Used by the WebUI to\ncorrelate an asynchronous response with the matching accordion\nentry — required by Feature 832799 / PBI 13 (AC1) so the latest\nBusiness Report can be force-expanded on response.",
            "nullable": true
          },
          "reportType": {
            "type": "string",
            "description": "Gets or sets the report type discriminator. Expected values are\n\"CreditReport\" and \"BusinessReport\". The WebUI\nbranches its response handler on this value.",
            "nullable": true
          },
          "liabilityAddedIndicator": {
            "type": "boolean",
            "description": "Gets or sets the liability added indicator.",
            "nullable": true
          }
        }
      },
      "CreditReportItemInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "partyNoId": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "internalAccountIdentifier": {
                "type": "string",
                "nullable": true
              },
              "equifaxInd": {
                "type": "boolean",
                "nullable": true
              },
              "experianInd": {
                "type": "boolean",
                "nullable": true
              },
              "transUnionInd": {
                "type": "boolean",
                "nullable": true
              },
              "excludeZeroLiabilitiesInd": {
                "type": "boolean",
                "nullable": true
              },
              "addCreditReportResultsInd": {
                "type": "boolean",
                "nullable": true
              },
              "mustReorderCreditReportInd": {
                "type": "boolean",
                "nullable": true
              },
              "orderResultsInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResultsInfo"
                  }
                ]
              },
              "creditBureau": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreditBureausType"
                }
              },
              "jointCreditPartiesInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JointCreditPartyInfo"
                }
              },
              "licenseName": {
                "type": "string",
                "nullable": true
              },
              "creditAccountProviders": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "creditDefaultSettings": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreditDefaultSettings"
                }
              },
              "partyList": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartyListsInfo"
                }
              },
              "partySelections": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              }
            }
          }
        ]
      },
      "OrderResultsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "documentTitle": {
            "type": "string",
            "nullable": true
          },
          "loanOfficer": {
            "type": "string",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "nullable": true
          },
          "creditReportReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "businessReportReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditBureausType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Equifax",
          "Experian",
          "TransUnion"
        ],
        "enum": [
          "Equifax",
          "Experian",
          "TransUnion"
        ]
      },
      "JointCreditPartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyNoId": {
            "type": "string",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "nullable": true
          },
          "jointPartyNoId": {
            "type": "string",
            "nullable": true
          },
          "jointPartyName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditDefaultSettings": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "internalAccountIdentifier": {
            "type": "string",
            "nullable": true
          },
          "equifaxInd": {
            "type": "boolean",
            "nullable": true
          },
          "experianInd": {
            "type": "boolean",
            "nullable": true
          },
          "transUnionInd": {
            "type": "boolean",
            "nullable": true
          },
          "excludeZeroLiabilitiesInd": {
            "type": "boolean",
            "nullable": true
          },
          "addCreditReportResultsInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "PartyListsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partyNoId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditOrderResultListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCreditOrderResultListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCreditOrderResultListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCreditOrderResultListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCreditOrderResultListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CreditOrderResultListInfo"
              }
            ]
          }
        }
      },
      "CreditOrderResultListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "orderResultListInfos": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreditOrderResultInfo"
                }
              }
            }
          }
        ]
      },
      "CreditOrderResultInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderResultsInfos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderResultsInfo"
            }
          },
          "creditReportHeader": {
            "type": "string",
            "nullable": true
          },
          "mustReorderCreditReportInd": {
            "type": "boolean"
          },
          "parties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "partyIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "intenalCreditReportIdentifier": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditReportItemInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCreditReportItemInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCreditReportItemInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCreditReportItemInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCreditReportItemInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CreditReportItemInfo"
              }
            ]
          }
        }
      },
      "BusinessReportItemInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "partyNoId": {
                "type": "string",
                "nullable": true
              },
              "equifaxInd": {
                "type": "boolean",
                "nullable": true
              },
              "experianInd": {
                "type": "boolean",
                "nullable": true
              },
              "creditBureauType": {
                "type": "string",
                "nullable": true
              },
              "orderResultsInfo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResultsInfo"
                  }
                ]
              },
              "licenseName": {
                "type": "string",
                "nullable": true
              },
              "partyList": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartyListsInfo"
                }
              }
            }
          }
        ]
      },
      "BusinessReportItemInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfBusinessReportItemInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfBusinessReportItemInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfBusinessReportItemInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfBusinessReportItemInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BusinessReportItemInfo"
              }
            ]
          }
        }
      },
      "BusinessReportResponse": {
        "type": "object",
        "description": "Represents the response containing business report retrieval information\n(Commercial, Milestone 6+).",
        "additionalProperties": false,
        "properties": {
          "content": {
            "type": "string",
            "description": "Gets or sets the report content (base64-encoded PDF or raw HTML),\ndetermined by FileType.",
            "nullable": true
          },
          "fileType": {
            "type": "string",
            "description": "Gets or sets the content media type returned by the provider\n(e.g. \"application/pdf\" for Equifax, \"text/html\" for Experian).",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets or sets the status of the business report response.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the message associated with the business report response.",
            "nullable": true
          },
          "businessReportReferenceNumber": {
            "type": "string",
            "description": "Gets or sets the business report reference number assigned by the\ncredit provider.",
            "nullable": true
          }
        }
      },
      "DisbursementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "disbursements": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DisbursementInfo"
                }
              },
              "maxDisbursements": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "DisbursementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "payeeNameDesc": {
                "type": "string",
                "nullable": true
              },
              "paidFrom": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "payeeName": {
                "type": "string",
                "nullable": true
              },
              "payeeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PayeeType"
                  }
                ]
              },
              "disbursementMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DisbursementMethod"
                  }
                ]
              },
              "disbursementMethodOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "disbursementAccountIdentifier": {
                "type": "string",
                "nullable": true
              },
              "disbursementInstructionComments": {
                "type": "string",
                "nullable": true
              },
              "disbursementAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "amountNotClosingCostInd": {
                "type": "boolean",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "DisbursementListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDisbursementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDisbursementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDisbursementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDisbursementListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DisbursementListInfo"
              }
            ]
          }
        }
      },
      "DisbursementInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDisbursementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDisbursementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDisbursementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDisbursementInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DisbursementInfo"
              }
            ]
          }
        }
      },
      "DisbursementCreditListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDisbursementCreditListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDisbursementCreditListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDisbursementCreditListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDisbursementCreditListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DisbursementCreditListInfo"
              }
            ]
          }
        }
      },
      "DisbursementCreditListInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "credits": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/DisbursementCreditInfo"
            }
          },
          "cashDownPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "DisbursementCreditInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "creditName": {
                "type": "string",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "DisbursementCreditInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDisbursementCreditInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDisbursementCreditInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDisbursementCreditInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDisbursementCreditInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DisbursementCreditInfo"
              }
            ]
          }
        }
      },
      "DisbursementsSummaryInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDisbursementsSummaryInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDisbursementsSummaryInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDisbursementsSummaryInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDisbursementsSummaryInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DisbursementsSummaryInfo"
              }
            ]
          }
        }
      },
      "DisbursementsSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralCosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollateralCostInfo"
            }
          },
          "fees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeesDetailsDto"
            }
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DisbursementCreditInfo"
            }
          },
          "disbursements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DisbursementInfo"
            }
          },
          "disbursedAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "totalFees": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "totalCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "totalDisbursements": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "totalCollateralCost": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "remainingDisbursementAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "undisbursedFeeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "FeesDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "feeName": {
            "type": "string",
            "nullable": true
          },
          "paidAt": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "feeDisbursed": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CheckDocumentStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isDocumentsAvailable": {
            "type": "boolean",
            "description": "Checks if any common documents are available between selectSync & local list"
          },
          "isAllDocumentsCompleted": {
            "type": "boolean",
            "description": "Checks the status of all docviewer's documents"
          },
          "isPackageTypeAvailable": {
            "type": "boolean"
          }
        }
      },
      "DgsBeginSessionApiResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseApiResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "sessionId": {
                "type": "string",
                "description": "SessionId"
              },
              "token": {
                "type": "string",
                "description": "Token"
              }
            }
          }
        ]
      },
      "BaseApiResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "status": {
            "type": "string",
            "description": "Status"
          },
          "statusDescription": {
            "type": "string",
            "description": "Status Description"
          }
        }
      },
      "FeatureFlagState": {
        "type": "object",
        "description": "Represents an evaluated client-visible feature flag.",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "description": "The feature-flag name."
          },
          "isEnabled": {
            "type": "boolean",
            "description": "The evaluated state."
          }
        }
      },
      "FeeListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FeeInfo"
                }
              },
              "feeSectionCategory": {
                "$ref": "#/components/schemas/FeeSectionNameInfo"
              },
              "isAddFeesFromLibraryButtonAvailable": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "FeeInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "feeId": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeName"
                  }
                ]
              },
              "section": {
                "$ref": "#/components/schemas/FeeSection"
              },
              "userDefinedName": {
                "type": "string",
                "nullable": true
              },
              "feeLimit": {
                "$ref": "#/components/schemas/FeeLimit"
              },
              "triggeringBalanceAmount": {
                "type": "string",
                "nullable": true
              },
              "feeFrequency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeFrequency"
                  }
                ]
              },
              "payments": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FeePaymentsInfo"
                }
              },
              "paidtoLenderAffiliate": {
                "type": "boolean",
                "nullable": true
              },
              "termofCoverage": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "paidAt": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidAt"
                  }
                ]
              },
              "feeDueDescription": {
                "type": "string",
                "nullable": true
              },
              "feeFrequencyTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "feeChargeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeChargeType"
                  }
                ]
              },
              "percentOfDescription": {
                "type": "string",
                "nullable": true
              },
              "setupFee": {
                "type": "boolean",
                "nullable": true
              },
              "frequencyType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeeFrequency"
                  }
                ]
              },
              "overTheLimitAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceFee": {
                "type": "boolean",
                "nullable": true
              },
              "firstOverTheLimitAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maximumOverTheLimitAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maximumReturnedCheckFeeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumReturnedCheckFeeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "butNotLessThan": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "butNotMoreThan": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "refundableInd": {
                "type": "boolean",
                "nullable": true
              },
              "partiallyRefundableInd": {
                "type": "boolean",
                "nullable": true
              },
              "refundableAfterClosingInd": {
                "type": "boolean",
                "nullable": true
              },
              "feeDisbursed": {
                "type": "boolean",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "FeePaymentsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "paidTo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PaidTo"
              }
            ]
          },
          "paidToOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "paidFrom": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeePaidFrom"
              }
            ]
          },
          "percent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "percentForPostOriginationFee": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "percentAmountToggle": {
            "type": "boolean",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "amountCustom": {
            "type": "boolean",
            "nullable": true
          },
          "collectionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeCollectionType"
              }
            ]
          },
          "financeChargeInd": {
            "type": "boolean",
            "nullable": true
          },
          "paidByType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeePaidByType"
              }
            ]
          },
          "grace": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "FeeSectionNameInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "originationAndClosingCosts": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "taxesAndStamps": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "titleAndFilingCosts": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "other": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "postOriginationFees": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "fees": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "FeeListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfFeeListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfFeeListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfFeeListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfFeeListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeListInfo"
              }
            ]
          }
        }
      },
      "FeeInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfFeeInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfFeeInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfFeeInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfFeeInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeInfo"
              }
            ]
          }
        }
      },
      "FeeGroupInfo": {
        "type": "object",
        "description": "Represents the API contract for a fee group.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Gets or sets the fee group name.",
            "maxLength": 100,
            "minLength": 0
          },
          "feeIds": {
            "type": "array",
            "description": "Gets or sets the fee identifiers that belong to the group.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "LibraryFeeListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLibraryFeeListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLibraryFeeListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLibraryFeeListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLibraryFeeListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LibraryFeeListInfo"
              }
            ]
          }
        }
      },
      "LibraryFeeListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LibraryFeeInfo"
                }
              },
              "libraryFeeListType": {
                "type": "string"
              }
            }
          }
        ]
      },
      "LibraryFeeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "feeId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeName"
              }
            ]
          },
          "type": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeType"
              }
            ]
          },
          "section": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeSection"
              }
            ]
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "payments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LibraryFeePaymentsInfo"
            }
          },
          "term": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "userDefinedName": {
            "type": "string",
            "nullable": true
          },
          "feeLimit": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeLimit"
              }
            ]
          },
          "triggeringBalanceAmount": {
            "type": "string",
            "nullable": true
          },
          "feeFrequency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeFrequency"
              }
            ]
          },
          "paidtoLenderAffiliate": {
            "type": "boolean",
            "nullable": true
          },
          "termofCoverage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paidAt": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeePaidAt"
              }
            ]
          },
          "feeDueDescription": {
            "type": "string",
            "nullable": true
          },
          "feeFrequencyTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "feeChargeType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeChargeType"
              }
            ]
          },
          "setupFee": {
            "type": "boolean",
            "nullable": true
          },
          "frequencyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeFrequency"
              }
            ]
          },
          "overTheLimitAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "maintenanceFee": {
            "type": "boolean",
            "nullable": true
          },
          "firstOverTheLimitAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "maximumOverTheLimitAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "maximumReturnedCheckFeeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "minimumReturnedCheckFeeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "percentOfDescription": {
            "type": "string",
            "nullable": true
          },
          "butNotLessThan": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "butNotMoreThan": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "partiallyRefundableInd": {
            "type": "boolean",
            "nullable": true
          },
          "refundableAfterClosingInd": {
            "type": "boolean",
            "nullable": true
          },
          "refundableInd": {
            "type": "boolean",
            "nullable": true
          },
          "feeDisbursed": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "LibraryFeePaymentsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "paidTo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PaidTo"
              }
            ]
          },
          "paidToOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "paidFrom": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeePaidFrom"
              }
            ]
          },
          "percent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "percentForPostOriginationFee": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "percentAmountToggle": {
            "type": "boolean",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "amountCustom": {
            "type": "boolean",
            "nullable": true
          },
          "collectionType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeeCollectionType"
              }
            ]
          },
          "financeChargeInd": {
            "type": "boolean",
            "nullable": true
          },
          "paidByType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeePaidByType"
              }
            ]
          },
          "grace": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "LibraryFeeGroupInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LibraryFeeInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLibraryFeeInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLibraryFeeInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLibraryFeeInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLibraryFeeInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LibraryFeeInfo"
              }
            ]
          }
        }
      },
      "AreaInfoModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfJObject"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfJObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfJObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfJObject": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true
          }
        }
      },
      "FeesAndPayoffsSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "totalToDisburse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeesAndPayoffsDetailDto"
              }
            ]
          },
          "feesAndPayoffs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeesAndPayoffsDetailDto"
            }
          },
          "totalUseOfFunds": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeesAndPayoffsDetailDto"
              }
            ]
          },
          "remainingToDisburse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FeesAndPayoffsDetailDto"
              }
            ]
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "FeesAndPayoffsDetailDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "source": {
            "type": "string",
            "nullable": true
          },
          "paidByBorrower": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "paidFromLoanProceeds": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "FloodInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfFloodInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfFloodInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfFloodInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfFloodInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodInfo"
              }
            ]
          }
        }
      },
      "FloodInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "collateralAddressId": {
            "type": "string",
            "nullable": true
          },
          "collateral": {
            "type": "string",
            "nullable": true
          },
          "collateralAddress": {
            "type": "string",
            "nullable": true
          },
          "orderType": {
            "$ref": "#/components/schemas/FloodOrderType"
          },
          "productType": {
            "$ref": "#/components/schemas/FloodProductType"
          },
          "certDeliveryEmail": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "certificate": {
            "type": "string",
            "nullable": true
          },
          "orderedBy": {
            "type": "string",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "nullable": true
          },
          "redirectionInfo": {
            "$ref": "#/components/schemas/RedirectionInfo"
          },
          "enableReOrderFloodDeterminationButton": {
            "type": "boolean"
          },
          "actionType": {
            "type": "string",
            "nullable": true
          },
          "certNo": {
            "type": "string",
            "nullable": true
          },
          "productCertifyDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "RedirectionInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "FloodListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfFloodListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfFloodListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfFloodListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfFloodListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodListInfo"
              }
            ]
          }
        }
      },
      "FloodListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "floodInfos": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FloodInfo"
                }
              },
              "notifications": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ValidationResult"
                  }
                ]
              },
              "enableOrderFloodDeterminationButton": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "FloodDeterminationApiResponse": {
        "type": "object",
        "description": "Represents the API response from a flood determination request.",
        "additionalProperties": false,
        "properties": {
          "certificate": {
            "type": "string",
            "description": "Gets or sets the flood certificate number.",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "description": "Gets or sets the status code.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets or sets the status message.",
            "nullable": true
          },
          "embeddingFile": {
            "type": "string",
            "description": "Gets or sets the embedding file content.",
            "nullable": true
          },
          "messages": {
            "type": "array",
            "description": "Gets or sets the response messages.",
            "items": {
              "type": "string"
            }
          },
          "collateralAddress": {
            "type": "string",
            "description": "Collateral address returned from flood determination service, which will be used for updating collateral address in collateral service if the flood determination is successful",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "description": "Orders date returned from flood determination service, which will be used for updating orders date in collateral service if the flood determination is successful",
            "format": "date-time",
            "nullable": true
          },
          "orderType": {
            "description": "Order type returned from flood determination service, which will be used for updating order type in collateral service if the flood determination is successful",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodOrderType"
              }
            ]
          },
          "productType": {
            "description": "Product type returned from flood determination service, which will be used for updating product type in collateral service if the flood determination is successful",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodProductType"
              }
            ]
          }
        }
      },
      "FloodDeterminationRequest": {
        "type": "object",
        "description": "Represents the request details for submitting a flood determination order.",
        "additionalProperties": false,
        "properties": {
          "collateralId": {
            "type": "string",
            "description": "Gets or sets the collateral identifier.",
            "nullable": true
          },
          "collateralAddressId": {
            "type": "string",
            "description": "Gets or sets the collateral address identifier.",
            "nullable": true
          },
          "orderType": {
            "description": "Gets or sets the type of flood order.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodOrderType"
              }
            ]
          },
          "productType": {
            "description": "Gets or sets the type of flood product.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodProductType"
              }
            ]
          },
          "certDeliveryEmail": {
            "type": "string",
            "description": "Gets or sets the email address for certificate delivery.",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "description": "Gets or sets the comments for the flood determination request.",
            "nullable": true
          },
          "actionType": {
            "type": "string",
            "description": "Gets or sets the action type for the flood determination request.",
            "nullable": true
          }
        }
      },
      "FloodDeterminationInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfFloodDeterminationInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfFloodDeterminationInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfFloodDeterminationInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfFloodDeterminationInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FloodDeterminationInfo"
              }
            ]
          }
        }
      },
      "FloodDeterminationInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collateralId": {
                "type": "string",
                "nullable": true
              },
              "collateralAddressId": {
                "type": "string",
                "nullable": true
              },
              "collateralAddress": {
                "type": "string",
                "nullable": true
              },
              "floodMapDate": {
                "type": "string",
                "nullable": true
              },
              "lenderIdNo": {
                "type": "string",
                "nullable": true
              },
              "certNo": {
                "type": "string",
                "nullable": true
              },
              "productCertifyDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "insAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "nfipCommunityName": {
                "type": "string",
                "nullable": true
              },
              "nfipCounty": {
                "type": "string",
                "nullable": true
              },
              "nfipStateCode": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "nfipCommunityId": {
                "type": "string",
                "nullable": true
              },
              "nfipMapIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "nfipMapId": {
                "type": "string",
                "nullable": true
              },
              "nfipMapPanelDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "nfipFloodDataRevisionCaseNo": {
                "type": "string",
                "nullable": true
              },
              "nfipLetterOfMapDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "zoneType": {
                "type": "string",
                "nullable": true
              },
              "nfipCommunityParticipationStatusType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FloodNfipCommunityParticipationStatusType"
                  }
                ]
              },
              "protectedAreaIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "protectedAreaDesignationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "certDeliveryEmail": {
                "type": "string",
                "nullable": true
              },
              "preparer": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContactInfo"
                  }
                ]
              },
              "orderResults": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrderResults"
                  }
                ]
              }
            }
          }
        ]
      },
      "GeocodingInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfGeocodingInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "geocodingValidation": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GeocodingValidationInfo"
                  }
                ]
              }
            }
          }
        ]
      },
      "GeocodingValidationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "actionsEnabled": {
            "type": "boolean"
          },
          "validationLinkMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationLinkMessage"
            }
          }
        }
      },
      "ValidationLinkMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ValidationMessage"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "link": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ValidationLink"
                  }
                ]
              },
              "validationOrder": {
                "type": "integer",
                "format": "int32"
              },
              "validationFields": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ValidationField"
                }
              },
              "disabledActionButtons": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "ValidationLink": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "text": {
            "type": "string",
            "nullable": true
          },
          "target": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ValidationField": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fieldName": {
            "type": "string"
          },
          "fieldErrorMessage": {
            "type": "string"
          }
        }
      },
      "FullViewModelOfGeocodingInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfGeocodingInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfGeocodingInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GeocodingInfo"
              }
            ]
          }
        }
      },
      "GeocodingInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "hmdaReportableCollateralItem": {
                "type": "string",
                "nullable": true
              },
              "manualInd": {
                "type": "boolean",
                "nullable": true
              },
              "geocodingDoesNotApplyInd": {
                "type": "boolean",
                "nullable": true
              },
              "hmdaMsaCode": {
                "type": "string",
                "nullable": true
              },
              "hmdaStateFIPSCode": {
                "type": "string",
                "nullable": true
              },
              "hmdaCountyFIPSCode": {
                "type": "string",
                "nullable": true
              },
              "hmdaCensusTractCode": {
                "type": "string",
                "nullable": true
              },
              "hmdaCountyFIPSCode5": {
                "type": "string",
                "nullable": true
              },
              "hmdaCensusTractCode11": {
                "type": "string",
                "nullable": true
              },
              "excludePropertyValueInd": {
                "type": "boolean",
                "nullable": true
              },
              "hasHMDACRAWizLicense": {
                "type": "boolean",
                "nullable": true
              },
              "companySettingsLink": {
                "type": "string",
                "nullable": true
              },
              "latitude": {
                "type": "string",
                "nullable": true
              },
              "longitude": {
                "type": "string",
                "nullable": true
              },
              "mmwStat": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanInfo": {
        "type": "object",
        "description": "LoanInfo.",
        "additionalProperties": false,
        "properties": {
          "loanId": {
            "type": "string",
            "description": "Gets or sets loan Id.",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "description": "Gets or sets party Name.",
            "nullable": true
          },
          "borrowerParties": {
            "type": "array",
            "description": "Gets or sets borrower Parties.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "loanProgram": {
            "type": "string",
            "description": "Gets or sets loanProgram.",
            "nullable": true
          },
          "loanAmount": {
            "type": "number",
            "description": "Gets or sets loanAmount.",
            "format": "double"
          },
          "closingDate": {
            "type": "string",
            "description": "Gets or sets closingDate.",
            "format": "date-time"
          },
          "terms": {
            "type": "integer",
            "description": "Gets or sets terms.",
            "format": "int32"
          },
          "loanPayment": {
            "type": "number",
            "description": "Gets or sets loanPayment.",
            "format": "double"
          }
        }
      },
      "GuarantyAgreementListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfGuarantyAgreementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfGuarantyAgreementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfGuarantyAgreementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfGuarantyAgreementListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GuarantyAgreementListInfo"
              }
            ]
          }
        }
      },
      "GuarantyAgreementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "guarantyAgreement": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/GuarantyAgreementInfo"
                }
              },
              "guarantorDetails": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GuarantorDetailDto"
                }
              }
            }
          }
        ]
      },
      "GuarantyAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "governingLaw": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "guarantyOfThisDebtIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "includeNoteReferenceIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "isLimited": {
                "type": "boolean",
                "nullable": true
              },
              "indicator": {
                "type": "boolean"
              },
              "includeIowaHomesteadWaiverNoticeIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "financialReports": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/FinancialReportsInfo"
                }
              },
              "type": {
                "type": "string",
                "nullable": true
              },
              "kyMaxGuarantyAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "guarantorNoId": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "guarantorParties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AgreementPartyRef"
                }
              },
              "guarantors": {
                "type": "string",
                "nullable": true
              },
              "limited": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Limited"
                  }
                ]
              },
              "guarantorSpouseDetails": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/GuarantorSpouseInfo"
                }
              },
              "guarantorDetails": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GuarantorDetailDto"
                }
              },
              "limitedHelperText": {
                "type": "string",
                "nullable": true
              },
              "specificDebtDescription": {
                "type": "string",
                "nullable": true
              },
              "securedInd": {
                "type": "boolean",
                "nullable": true
              },
              "securedByDesc": {
                "type": "string",
                "nullable": true
              },
              "terminationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "guarantyWithoutGarnishmentFormInd": {
                "type": "boolean",
                "nullable": true
              },
              "reaffirmationInd": {
                "type": "boolean",
                "nullable": true
              },
              "reaffirmationOriginalDesc": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "FinancialReportsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "financeReportType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialReportType"
              }
            ]
          },
          "frequency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialReportFrequencyType"
              }
            ]
          },
          "taxReturns": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TaxReturnsType"
              }
            ]
          },
          "aging": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AgingType"
              }
            ]
          },
          "personalFinancialStatementDueDate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PersonalFinancialStatementDueDateType"
              }
            ]
          },
          "taxReturnDueDateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialReportTaxReturnDueDateType"
              }
            ]
          },
          "personalFinancialStatementDeliveryDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "taxReturnsDeliveryDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "financialStatementType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialReportStatementType"
              }
            ]
          },
          "numberOfDaysToDeliver": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "financialStatementConsolidationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FinancialReportStatementConsolidationType"
              }
            ]
          },
          "typeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "guarantyId": {
            "type": "string",
            "nullable": true
          },
          "notEncumberAssetsInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "GuarantorSpouseInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "arizonaCommunityPropertySpouseLimitInd": {
            "type": "boolean",
            "nullable": true
          },
          "marriedGuarantor": {
            "type": "string",
            "nullable": true
          },
          "guarantorsSpouse": {
            "type": "string",
            "nullable": true
          },
          "guarantorId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "GuarantorDetailDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "maritalStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MaritalStatus"
              }
            ]
          },
          "marriedToId": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "transactionRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionRole"
            }
          }
        }
      },
      "GuarantyAgreementInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfGuarantyAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfGuarantyAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfGuarantyAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfGuarantyAgreementInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GuarantyAgreementInfo"
              }
            ]
          }
        }
      },
      "GuarantyAgreementModificationSummaryListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfGuarantyAgreementModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfGuarantyAgreementModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfGuarantyAgreementModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfGuarantyAgreementModificationSummaryListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryListInfo"
              }
            ]
          }
        }
      },
      "GuarantyAgreementModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "modificationSummary": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/GuarantyAgreementModificationSummaryInfo"
                }
              }
            }
          }
        ]
      },
      "GuarantyAgreementModificationSummaryInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "guarantorId": {
                "type": "string",
                "nullable": true
              },
              "guarantorSummary": {
                "type": "string",
                "nullable": true
              },
              "confirmationInd": {
                "type": "boolean",
                "nullable": true
              },
              "packageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              }
            }
          }
        ]
      },
      "HazardInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "description": "Insurance Id",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "streetLine1": {
                "type": "string",
                "nullable": true
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "nullable": true
              },
              "unitNo": {
                "type": "string",
                "nullable": true
              },
              "unitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "maximumDeductibleDesc": {
                "type": "string",
                "nullable": true
              },
              "maximumDeductibleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "policyBasisDesc": {
                "type": "string",
                "nullable": true
              },
              "policyEndorsementDesc": {
                "type": "string",
                "nullable": true
              },
              "coverageAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maximumDeductibleToggle": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaximumDeductibleToggle"
                  }
                ]
              }
            }
          }
        ]
      },
      "HazardInsuranceInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfHazardInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfHazardInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfHazardInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfHazardInsuranceInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HazardInsuranceInfo"
              }
            ]
          }
        }
      },
      "HmdaInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfHmdaInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "hmdaValidation": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HmdaValidationInfo"
                  }
                ]
              }
            }
          }
        ]
      },
      "HmdaValidationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "actionsEnabled": {
            "type": "boolean"
          },
          "validationLinkMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationLinkMessage"
            }
          }
        }
      },
      "FullViewModelOfHmdaInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfHmdaInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfHmdaInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HmdaInfo"
              }
            ]
          }
        }
      },
      "HmdaInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "hmdaWizFileName": {
                "type": "string",
                "nullable": true
              },
              "hmdaWizFileRowId": {
                "type": "string",
                "nullable": true
              },
              "hmdaRecordReviewInd": {
                "type": "boolean",
                "nullable": true
              },
              "hmdaRecordReviewedBy": {
                "type": "string",
                "nullable": true
              },
              "hmdaRecordReviewedByDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "hmdaLarFile": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/HmdaLarFile"
                }
              },
              "hmdaWebsiteLink": {
                "type": "string",
                "nullable": true
              },
              "companySettingsLink": {
                "type": "string",
                "nullable": true
              },
              "hasHMDACRAWizLicense": {
                "type": "boolean"
              },
              "hasSendToHMDAWizPermission": {
                "type": "boolean"
              },
              "errorMessage": {
                "type": "string",
                "nullable": true
              },
              "statusCode": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "HmdaGeocodeResponse": {
        "type": "object",
        "description": "Represents the geocode response for an HMDA loan.",
        "additionalProperties": false,
        "properties": {
          "msaCode": {
            "type": "string",
            "description": "Gets or sets the MSA code.",
            "nullable": true
          },
          "stateFIPSCode": {
            "type": "string",
            "description": "Gets or sets the state FIPS code.",
            "nullable": true
          },
          "countyFIPSCode": {
            "type": "string",
            "description": "Gets or sets the county FIPS code.",
            "nullable": true
          },
          "countyFIPSCode5": {
            "type": "string",
            "description": "Gets or sets the 5-digit county FIPS code.",
            "nullable": true
          },
          "censusTractCode": {
            "type": "string",
            "description": "Gets or sets the census tract code.",
            "nullable": true
          },
          "censusTractCode11": {
            "type": "string",
            "description": "Gets or sets the 11-digit census tract code.",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "description": "Gets or sets the latitude of the geocoded location.",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "description": "gets or sets the longitude of the geocoded location.",
            "nullable": true
          },
          "mmwStat": {
            "type": "string",
            "description": "gets or sets the MMW status of the geocoded location.",
            "nullable": true
          },
          "version": {
            "type": "string",
            "description": "gets or sets the loanfile version.",
            "nullable": true
          }
        }
      },
      "HmdaGeocodeAcceptedResponse": {
        "type": "object",
        "description": "Represents the accepted response returned when HMDA geocoding is being processed asynchronously.",
        "additionalProperties": false,
        "properties": {
          "status": {
            "type": "string",
            "description": "Gets or sets the status message."
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the descriptive message."
          }
        }
      },
      "ApiErrorResponse": {
        "type": "object",
        "description": "Represents a standardized error payload returned when an upstream integration\n(such as HMDA Wiz) reports an error, surfaced to the caller as an HTTP 502 Bad Gateway.",
        "additionalProperties": false,
        "properties": {
          "errorMessage": {
            "type": "string",
            "description": "Gets or sets the error message returned from the upstream integration.",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "description": "Gets or sets the status code returned from the upstream integration, if any.",
            "nullable": true
          },
          "version": {
            "type": "string",
            "description": "Gets or sets the status code returned from the upstream integration, if any.",
            "nullable": true
          }
        }
      },
      "LarFilesResponse": {
        "type": "object",
        "description": "Represents the response containing a list of LAR files.",
        "additionalProperties": false,
        "properties": {
          "larFiles": {
            "type": "array",
            "description": "Gets or sets the list of LAR files.",
            "items": {
              "$ref": "#/components/schemas/LarFileItem"
            }
          }
        }
      },
      "LarFileItem": {
        "type": "object",
        "description": "Represents a single LAR file item.",
        "additionalProperties": false,
        "properties": {
          "larId": {
            "type": "string",
            "description": "Gets or sets the LAR identifier.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Gets or sets the name.",
            "nullable": true
          },
          "activityYear": {
            "type": "integer",
            "description": "Gets or sets the activity year.",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AcceptedRequest": {
        "type": "object",
        "description": "Represents an accepted request containing information such as the URL template, client ID, loan ID, and instance ID.",
        "additionalProperties": false,
        "properties": {
          "urlTemplate": {
            "type": "string",
            "description": "Gets or sets the URL template associated with the request."
          },
          "callbackParameters": {
            "description": "Gets the callback parameters.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CallbackParameters"
              }
            ]
          },
          "headerSettings": {
            "description": "Gets or sets the header settings.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeaderSettings"
              }
            ]
          }
        }
      },
      "CallbackParameters": {
        "type": "object",
        "description": "Calss: CallbackParameters",
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "type": "string",
            "description": "Gets the client identifier."
          },
          "loanId": {
            "type": "string",
            "description": "Gets the loan identifier."
          },
          "instanceId": {
            "type": "string",
            "description": "Gets the instance identifier.",
            "nullable": true
          },
          "entity": {
            "type": "string",
            "description": "Gets the entity."
          },
          "entityId": {
            "type": "string",
            "description": "Gets the entity identifier."
          },
          "type": {
            "type": "string",
            "description": "Gets the type of the object represented as a string."
          }
        }
      },
      "HeaderSettings": {
        "type": "object",
        "description": "HeaderSettings",
        "additionalProperties": false,
        "properties": {
          "waitSeconds": {
            "type": "integer",
            "description": "Gets or sets the WaitSeconds.",
            "format": "int32"
          },
          "maxAttempts": {
            "type": "integer",
            "description": "Gets or sets the MaxAttempts.",
            "format": "int32"
          },
          "retryDelay": {
            "type": "integer",
            "description": "Gets or sets the RetryDelay.",
            "format": "int32"
          }
        }
      },
      "HmdaPreviewReportListInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HmdaPreviewReportInfo"
            }
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "partiallyExemptInd": {
            "type": "boolean",
            "nullable": true
          },
          "federalAgencyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FederalAgencyType"
              }
            ]
          }
        }
      },
      "HmdaPreviewReportInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isSubheading": {
            "type": "boolean"
          }
        }
      },
      "InsertLarResponse": {
        "type": "object",
        "description": "Represents the response payload for a successful LAR insert operation.",
        "additionalProperties": false,
        "properties": {
          "rowId": {
            "type": "string",
            "description": "Gets or sets the assigned row identifier.",
            "nullable": true
          },
          "larId": {
            "type": "string",
            "description": "Gets or sets the LAR identifier.",
            "nullable": true
          },
          "hmdaWizFileName": {
            "type": "string",
            "description": "Gets or sets the HMDA Wiz file name.",
            "nullable": true
          }
        }
      },
      "InsertLarAcceptedResponse": {
        "type": "object",
        "description": "Represents the accepted response returned when a LAR insert operation is being processed asynchronously.",
        "additionalProperties": false,
        "properties": {
          "status": {
            "type": "string",
            "description": "Gets or sets the status message."
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the descriptive message."
          }
        }
      },
      "InsertLarRequest": {
        "type": "object",
        "description": "Represents the request payload for inserting a new LAR record into a HMDA Wiz LAR file.",
        "additionalProperties": false,
        "properties": {
          "larId": {
            "type": "string",
            "description": "Gets or sets the LAR identifier.",
            "nullable": true
          },
          "hmdaWizFileName": {
            "type": "string",
            "description": "Gets or sets the HMDA Wiz file name.",
            "nullable": true
          }
        }
      },
      "UpdateLarResponse": {
        "type": "object",
        "description": "This class represents the response returned when a LAR update operation is completed successfully.",
        "additionalProperties": false,
        "properties": {
          "larId": {
            "type": "string",
            "description": "Gets or sets the LAR identifier.",
            "nullable": true
          },
          "hmdaWizFileName": {
            "type": "string",
            "description": "Gets or sets the HMDA Wiz file name.",
            "nullable": true
          }
        }
      },
      "UpdateLarAcceptedResponse": {
        "type": "object",
        "description": "This class represents the accepted response returned when a LAR update operation is being processed asynchronously.",
        "additionalProperties": false,
        "properties": {
          "status": {
            "type": "string",
            "description": "Gets or sets the status message."
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the descriptive message."
          }
        }
      },
      "UpdateLarRequest": {
        "type": "object",
        "description": "Represents the request payload for updating an existing LAR record in a HMDA Wiz LAR file.",
        "additionalProperties": false,
        "properties": {
          "rowId": {
            "type": "string",
            "description": "Gets or sets the row identifier of the LAR record to update.",
            "nullable": true
          },
          "larId": {
            "type": "string",
            "description": "Gets or sets the LAR identifier.",
            "nullable": true
          },
          "hmdaWizFileName": {
            "type": "string",
            "description": "Gets or sets the HMDA Wiz file name.",
            "nullable": true
          }
        }
      },
      "IlienFileRequestListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfIlienFileRequestListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfIlienFileRequestListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfIlienFileRequestListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfIlienFileRequestListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IlienFileRequestListInfo"
              }
            ]
          }
        }
      },
      "IlienFileRequestListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "lienFileRequests": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IlienFileRequestInfo"
                }
              },
              "notifications": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ValidationResult"
                  }
                ]
              },
              "dbaTradeNameExistsForParties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "iLienWebsiteLink": {
                "type": "string"
              },
              "isDebtorsPresent": {
                "type": "boolean"
              },
              "dismissInProgressILienNotification": {
                "type": "boolean"
              },
              "dismissInPreparationILienNotification": {
                "type": "boolean"
              },
              "iLienNotificationExpiry": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "IlienFileRequestInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "debtorNoIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "partySelections": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PartySelectionRef"
            }
          },
          "debtorNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "filingState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "collateralDescription": {
            "type": "string",
            "nullable": true
          },
          "ilienReferenceId": {
            "type": "string",
            "nullable": true
          },
          "orderReferenceId": {
            "type": "string",
            "nullable": true
          },
          "filingStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FilingStatus"
              }
            ]
          },
          "filingType": {
            "type": "string",
            "nullable": true
          },
          "submittedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiErrors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enableSubmitButton": {
            "type": "boolean"
          },
          "enableDeleteButton": {
            "type": "boolean"
          },
          "enableDetailsForm": {
            "type": "boolean"
          },
          "requestSubmittedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          }
        }
      },
      "IlienFileRequestInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfIlienFileRequestInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfIlienFileRequestInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfIlienFileRequestInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfIlienFileRequestInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IlienFileRequestInfo"
              }
            ]
          }
        }
      },
      "IlienFilingApiResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApiResponse"
          },
          {
            "type": "object",
            "description": "Represents the response for an Ilien Filing API operation.",
            "additionalProperties": false,
            "properties": {
              "ilienOrderDetail": {
                "description": "Gets or sets the ilien order detail.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IlienOrderDetail"
                  }
                ]
              }
            }
          }
        ]
      },
      "IlienOrderDetail": {
        "type": "object",
        "description": "Class: IlienOrderDetail.",
        "additionalProperties": false,
        "properties": {
          "orderReferenceId": {
            "type": "string",
            "description": "Gets or sets the order reference identifier.",
            "nullable": true
          },
          "isValid": {
            "type": "boolean",
            "description": "Returns true if ... is valid.",
            "nullable": true
          }
        }
      },
      "IlienRequestStatusResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseApiResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "requestId": {
                "type": "string"
              },
              "filingState": {
                "$ref": "#/components/schemas/StateAbbr"
              },
              "lienRefNumber": {
                "type": "string",
                "nullable": true
              },
              "filingStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FilingStatus"
                  }
                ]
              },
              "filingType": {
                "type": "string"
              },
              "submittedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "apiErrors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "dismissInProgressILienNotification": {
                "type": "boolean"
              },
              "dismissInPreparationILienNotification": {
                "type": "boolean"
              },
              "iLienNotificationExpiry": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "DismissILienNotificationRequest": {
        "type": "object",
        "description": "Represents a request to dismiss an iLien notification.",
        "additionalProperties": false,
        "properties": {
          "filingStatus": {
            "description": "Gets or sets the filing status to determine which notification flag to dismiss (InProgress or InPreparation).",
            "oneOf": [
              {
                "$ref": "#/components/schemas/FilingStatus"
              }
            ]
          }
        }
      },
      "IntializeApiResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApiResponse"
          },
          {
            "type": "object",
            "description": "IntializeApiResponse dto",
            "additionalProperties": false,
            "properties": {
              "callBackUrl": {
                "type": "string",
                "description": "Gets or sets the call back URL.",
                "format": "uri",
                "nullable": true
              }
            }
          }
        ]
      },
      "NewTransactionRequest": {
        "type": "object",
        "description": "Class: NewTransactionRequest.",
        "additionalProperties": false,
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Gets or sets the first name."
          },
          "middleName": {
            "type": "string",
            "description": "Gets or sets the name of the middle."
          },
          "lastName": {
            "type": "string",
            "description": "Gets or sets the last name."
          },
          "suffix": {
            "type": "string",
            "description": "Gets or sets the suffix."
          },
          "entityName": {
            "type": "string",
            "description": "Gets or sets the name of the entity."
          },
          "lenderLoanNumber": {
            "type": "string",
            "description": "Gets or sets the lender loan number."
          },
          "type": {
            "description": "Gets or sets the type.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "transactionRoles": {
            "type": "array",
            "description": "Gets or sets the transaction roles.",
            "items": {
              "$ref": "#/components/schemas/TransactionRole"
            }
          },
          "clientId": {
            "type": "string",
            "description": "Gets or sets the client identifier."
          },
          "transactionID": {
            "type": "string",
            "description": "Gets or sets the transaction identifier.",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "description": "Gets or sets the name of the user.",
            "nullable": true
          },
          "userUniqueId": {
            "type": "string",
            "description": "Gets or sets the unique identifier of the user.",
            "nullable": true
          },
          "lineOfBusiness": {
            "type": "string",
            "description": "Gets or sets the line of business.",
            "nullable": true
          },
          "loanProgram": {
            "description": "Gets or sets the loan program.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanProgram"
              }
            ]
          },
          "branch": {
            "type": "string",
            "description": "Gets or sets the name of the branch associated with the current context.",
            "nullable": true
          },
          "loanOriginationType": {
            "description": "Gets or sets the loan origination type used by the create-loan workflow.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanOriginationType"
              }
            ]
          },
          "modificationCreationType": {
            "description": "Gets or sets the modification creation type used to control modification flows.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationCreationType"
              }
            ]
          },
          "sourceLoanId": {
            "type": "string",
            "description": "Gets or sets the source loan identifier when creating a modification from an existing loan.",
            "nullable": true
          }
        }
      },
      "LenderInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLendingPartyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLendingPartyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLendingPartyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLendingPartyInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LendingPartyInfo"
              }
            ]
          }
        }
      },
      "LendingPartyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "loanOfficerName": {
                "type": "string",
                "nullable": true
              },
              "loanOfficerId": {
                "type": "string",
                "nullable": true
              },
              "branchCode": {
                "type": "string",
                "nullable": true
              },
              "supportingParty": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportingParty"
                  }
                ]
              }
            }
          }
        ]
      },
      "LiabilityListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLiabilityListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLiabilityListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLiabilityListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLiabilityListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LiabilityListInfo"
              }
            ]
          }
        }
      },
      "LiabilityListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "liabilityList": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LiabilityInfo"
                }
              },
              "summaryData": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SummaryData"
                  }
                ]
              }
            }
          }
        ]
      },
      "LiabilityInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "partyNoId": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "parties": {
                "type": "string",
                "nullable": true
              },
              "partySelections": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartySelectionRef"
                }
              },
              "heldByDesc": {
                "type": "string",
                "nullable": true
              },
              "payeeName": {
                "type": "string",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "nullable": true
              },
              "liabilityType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LiabilityType"
                  }
                ]
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "creditLimitAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "unpaidBalanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "monthlyPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "term": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "liabilityInd": {
                "type": "boolean",
                "nullable": true
              },
              "payoffInd": {
                "type": "boolean",
                "nullable": true
              },
              "payoffAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "pastDueInd": {
                "type": "boolean",
                "nullable": true
              },
              "omitInd": {
                "type": "boolean",
                "nullable": true
              },
              "creditReportIdentifier": {
                "type": "string",
                "nullable": true
              },
              "partyName": {
                "type": "string",
                "nullable": true
              },
              "payoffPaidFrom": {
                "$ref": "#/components/schemas/FeePaidFrom"
              },
              "perDiem": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "payoffDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "signerName": {
                "type": "string",
                "nullable": true
              },
              "signerTitle": {
                "type": "string",
                "nullable": true
              },
              "signerEmail": {
                "type": "string",
                "nullable": true
              },
              "signerId": {
                "type": "string",
                "nullable": true
              },
              "streetLine1": {
                "type": "string",
                "nullable": true
              },
              "unitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "unitNo": {
                "type": "string",
                "nullable": true
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "nullable": true
              },
              "additionalTermsOfPayoff": {
                "type": "string",
                "nullable": true
              },
              "accountOpenedDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "payeeSignerName": {
                "type": "string",
                "nullable": true
              },
              "payeeSignerTitle": {
                "type": "string",
                "nullable": true
              },
              "payeeSignerEmail": {
                "type": "string",
                "nullable": true
              },
              "payeeSignerId": {
                "type": "string",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "SummaryData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "creditLimitAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "unpaidBalanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "monthlyPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "LiabilityInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLiabilityInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLiabilityInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLiabilityInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLiabilityInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LiabilityInfo"
              }
            ]
          }
        }
      },
      "LoanAgreementOptionsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "advanceLimitationsIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "allowOveradvancesIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "authorizedPersons": {
                "type": "string",
                "nullable": true
              },
              "authorizedPersonsIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "cleanDownPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "cleanUpDownOptionsIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "days": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "discretionaryAdvancesIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "lenderOptionIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "minimumAdvanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "options": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CleanUpCleanDownOptions"
                  }
                ]
              },
              "revolvingAdvancesbyCheckIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "loanType": {
                "$ref": "#/components/schemas/LoanType"
              },
              "hasLoanAgreements": {
                "type": "boolean"
              },
              "borrowingBaseFormulaInd": {
                "type": "boolean",
                "nullable": true
              },
              "borrowingBaseType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BorrowingBaseType"
                }
              },
              "minimumDeliveryPeriodType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MinimumDeliveryPeriodType"
                  }
                ]
              },
              "exclusionEligibleAccountDesc": {
                "type": "string",
                "nullable": true
              },
              "accountsReceivablePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "crossAgeAccountsInd": {
                "type": "boolean",
                "nullable": true
              },
              "crossAgePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "invoiceOverdueDaysNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "exclusionEligibleInventoryDesc": {
                "type": "string",
                "nullable": true
              },
              "eligibleInventoryFinishedGoodsInd": {
                "type": "boolean",
                "nullable": true
              },
              "eligibleInventoryRawMaterialsInd": {
                "type": "boolean",
                "nullable": true
              },
              "eligibleInventoryWIPInd": {
                "type": "boolean",
                "nullable": true
              },
              "inventoryPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "inventoryCapAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "id": {
                "type": "string",
                "nullable": true
              },
              "borrowingPartyId": {
                "type": "string",
                "nullable": true
              },
              "loanAgreementId": {
                "type": "string",
                "nullable": true
              },
              "borrowingBaseBorrowerId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanAgreementOptionsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanAgreementOptionsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanAgreementOptionsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanAgreementOptionsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanAgreementOptionsInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanAgreementOptionsInfo"
              }
            ]
          }
        }
      },
      "LoanAgreementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanAgreements": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LoanAgreementInfo"
                }
              },
              "additionalOptionsEnabled": {
                "type": "boolean"
              },
              "constructionPropertyInd": {
                "type": "boolean",
                "nullable": true
              },
              "constructionLoanAgreementEnabled": {
                "type": "boolean",
                "nullable": true
              },
              "maxAgreement": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "LoanAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "loanAgreementId": {
                "type": "string",
                "nullable": true
              },
              "borrowerNoId": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "borrowerParties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AgreementPartyRef"
                }
              },
              "borrowers": {
                "type": "string"
              },
              "financialStatementResAsOfDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "financialReportingDelinquentLateFeeInd": {
                "type": "boolean",
                "nullable": true
              },
              "financialReportingDelinquentLateFeePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "financialReports": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FinancialReportsInfo"
                }
              },
              "isborrowerBaseFormula": {
                "type": "boolean"
              },
              "borrowingParties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "LoanAgreementListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanAgreementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanAgreementListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanAgreementListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanAgreementListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanAgreementListInfo"
              }
            ]
          }
        }
      },
      "LoanAgreementInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanAgreementInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanAgreementInfo"
              }
            ]
          }
        }
      },
      "ConstructionLoanAgreementViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfConstructionAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfConstructionAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfConstructionAgreementInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfConstructionAgreementInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConstructionAgreementInfo"
              }
            ]
          }
        }
      },
      "ConstructionAgreementInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "contractAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "retainagePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "improvementsDesc": {
                "type": "string",
                "nullable": true
              },
              "lotLoanAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "registryDistrict": {
                "type": "string",
                "nullable": true
              },
              "repairsCompletedInd": {
                "type": "boolean",
                "nullable": true
              },
              "leasingRequirementsDesc": {
                "type": "string",
                "nullable": true
              },
              "lotReleaseScheduleDesc": {
                "type": "string",
                "nullable": true
              },
              "finalAdvanceConditionsInd": {
                "type": "boolean",
                "nullable": true
              },
              "equityFundsAltDefinitionInd": {
                "type": "boolean",
                "nullable": true
              },
              "soilReportInd": {
                "type": "boolean",
                "nullable": true
              },
              "zoningProofInd": {
                "type": "boolean",
                "nullable": true
              },
              "attachConstructionAgreementInd": {
                "type": "boolean",
                "nullable": true
              },
              "performancePaymentBondInd": {
                "type": "boolean",
                "nullable": true
              },
              "performancePaymentBondPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "generalContractors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LoanAgreementGeneralContractorInfo"
                }
              },
              "constructionProfessionals": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LoanAgreementConstructionProfessionalInfo"
                }
              }
            }
          }
        ]
      },
      "LoanAgreementGeneralContractorInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "partyType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyType"
                  }
                ]
              },
              "email": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "nullable": true
              },
              "establishedState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "id": {
                "type": "string",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SignerInfo"
                }
              }
            }
          }
        ]
      },
      "SignerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "signerId": {
            "type": "string",
            "nullable": true
          },
          "signerEmail": {
            "type": "string",
            "nullable": true
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "signerTitle": {
            "type": "string",
            "nullable": true
          },
          "signerPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanAgreementConstructionProfessionalInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "professionalType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionProfessionalAttr"
                  }
                ]
              },
              "typeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "partyType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyType"
                  }
                ]
              },
              "email": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "entityName": {
                "type": "string",
                "nullable": true
              },
              "establishedState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "id": {
                "type": "string",
                "nullable": true
              },
              "signers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SignerInfo"
                }
              }
            }
          }
        ]
      },
      "LoanAgreementModificationSummaryListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanAgreementModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanAgreementModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanAgreementModificationSummaryListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanAgreementModificationSummaryListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanAgreementModificationSummaryListInfo"
              }
            ]
          }
        }
      },
      "LoanAgreementModificationSummaryListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "modificationSummary": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LoanAgreementModificationSummaryInfo"
                }
              }
            }
          }
        ]
      },
      "LoanAgreementModificationSummaryInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "loanAgreementId": {
                "type": "string",
                "nullable": true
              },
              "loanAgreementSummary": {
                "type": "string",
                "nullable": true
              },
              "dateOfPreviousAgreement": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "packageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              }
            }
          }
        ]
      },
      "LoanDecisionInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanDecisionInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanDecisionInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanDecisionInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanDecisionInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanDecisionInfo"
              }
            ]
          }
        }
      },
      "LoanDecisionInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanDecision": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDecision"
                  }
                ]
              },
              "decisionDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "actionTakenDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "dateEcoaNoticeOfAction": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "loanDescription": {
                "type": "string",
                "nullable": true
              },
              "loanDecisionDescription": {
                "type": "string",
                "nullable": true
              },
              "deliveryType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDecisionDeliveryType"
                  }
                ]
              },
              "deliveryDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "loanDecisionNotes": {
                "type": "string",
                "nullable": true
              },
              "reasonCode": {
                "type": "string",
                "nullable": true
              },
              "loanDecisionNotesUseDefault": {
                "type": "boolean",
                "nullable": true
              },
              "actionReason": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ActionReasonInfo"
                }
              },
              "actionTaken": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ActionTakenType"
                  }
                ]
              },
              "purchaserType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PurchaserType"
                  }
                ]
              },
              "initiallyPayableToYourInstitution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitiallyPayableToYourInstitutionType"
                  }
                ]
              },
              "underwritingMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UnderwritingMethodType"
                  }
                ]
              },
              "automatedUnderwritingSystem": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AutomatedUnderwritingSystemItemInfo"
                }
              },
              "denialReasonType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DenialReasonType"
                }
              },
              "denialReasonTypeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "ActionReasonInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "nullable": true
          },
          "reasonForDenial": {
            "type": "array",
            "items": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ReasonForDenial"
                }
              ]
            }
          },
          "reasonForDenialCommercial": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ReasonForDenialCommercial"
            }
          },
          "otherDenialDescription": {
            "type": "string",
            "nullable": true
          },
          "idRef": {
            "type": "string",
            "nullable": true
          },
          "loanDecisionActionReportingAgencyInd": {
            "type": "boolean",
            "nullable": true
          },
          "infoFromAffiliateOrOtherNonCRAInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "AutomatedUnderwritingSystemItemInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "system": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SystemType"
              }
            ]
          },
          "systemDesc": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Result"
              }
            ]
          },
          "resultDesc": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanGridViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanFilesGrid"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanFilesGrid": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanFilesGrid"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanFilesGrid": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanFilesGrid"
              }
            ]
          }
        }
      },
      "LoanFilesGrid": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "borrowerName": {
            "type": "string",
            "nullable": true
          },
          "loanNumber": {
            "type": "string",
            "nullable": true
          },
          "lineOfBusiness": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LineOfBusinessType"
              }
            ]
          },
          "branchCode": {
            "type": "string",
            "nullable": true
          },
          "loanOfficer": {
            "type": "string",
            "nullable": true
          },
          "packageType": {
            "type": "string",
            "nullable": true
          },
          "loanType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanType"
              }
            ]
          },
          "loanAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "closingDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "DashboardAdvancedFilterViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfDashboardAdvancedFilter"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfDashboardAdvancedFilter": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfDashboardAdvancedFilter"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfDashboardAdvancedFilter": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DashboardAdvancedFilter"
              }
            ]
          }
        }
      },
      "DashboardAdvancedFilter": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "licensedLinesOfBusiness": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            }
          },
          "gridSelectedLinesOfBusiness": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            }
          },
          "branches": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "branchIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "loanOfficers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "loanOfficerIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "loanTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "packageTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "filterOptionCounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardAdvancedFilterOptionCount"
            }
          }
        }
      },
      "DashboardAdvancedFilterOptionCount": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dimension": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "LoanSummary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApiResponse"
          },
          {
            "type": "object",
            "description": "Class: LoanSummary.",
            "additionalProperties": false,
            "properties": {
              "borrowerParties": {
                "type": "array",
                "description": "Gets or sets the borrower parties.",
                "items": {
                  "type": "string"
                }
              },
              "closingDate": {
                "type": "string",
                "description": "Gets or sets the closing date.",
                "format": "date-time",
                "nullable": true
              },
              "loanId": {
                "type": "string",
                "description": "Gets or sets the loan identifier.",
                "nullable": true
              },
              "loanAmount": {
                "type": "number",
                "description": "Gets or sets the loan amount.",
                "format": "decimal",
                "nullable": true
              },
              "requestedLoanAmount": {
                "type": "number",
                "description": "Gets or sets the requested loan amount: the amount the user entered, excluding fees added to the amount requested.",
                "format": "decimal",
                "nullable": true
              },
              "loanPayment": {
                "type": "number",
                "description": "Gets or sets the loan payment.",
                "format": "decimal",
                "nullable": true
              },
              "loanProgram": {
                "type": "string",
                "description": "Gets or sets the loan program.",
                "nullable": true
              },
              "partyName": {
                "type": "string",
                "description": "Gets or sets the name of the party.",
                "nullable": true
              },
              "terms": {
                "type": "integer",
                "description": "Gets or sets the terms.",
                "format": "int32",
                "nullable": true
              },
              "isStateSpecific": {
                "type": "boolean",
                "description": "Gets or sets the IsStateSpecific.",
                "nullable": true
              },
              "hasLoanTermsInsurance": {
                "type": "boolean",
                "description": "Gets or sets the HasLoanTermsInsurance .",
                "nullable": true
              },
              "hasCollateralInsurance": {
                "type": "boolean",
                "description": "Gets or sets the HasCollateralInsurance.",
                "nullable": true
              },
              "loanOfficerName": {
                "type": "string",
                "description": "Gets or sets the LoanOfficerName.",
                "nullable": true
              },
              "lineOfBusiness": {
                "description": "Gets or sets the lob value.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "loanType": {
                "description": "Gets or sets the type of the loan.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "applicationNumber": {
                "type": "integer",
                "description": "Gets or sets the application number.",
                "format": "int32",
                "nullable": true
              },
              "applicationDate": {
                "type": "string",
                "description": "Gets or sets the application date.",
                "format": "date",
                "nullable": true
              },
              "isTemplate": {
                "type": "boolean",
                "description": "Gets or sets a value indicating whether this loan file is a template.",
                "nullable": true
              },
              "templateName": {
                "type": "string",
                "description": "Gets or sets the template name.",
                "nullable": true
              },
              "libraryGroupId": {
                "type": "string",
                "description": "Gets or sets the LibraryGroupId.",
                "nullable": true
              },
              "templateStatus": {
                "description": "Gets or sets the template status.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateStatusType"
                  }
                ]
              },
              "createdBy": {
                "type": "string",
                "description": "Gets or sets the name of the user who created this loan file.",
                "nullable": true
              },
              "branch": {
                "type": "string",
                "description": "Gets or sets the branch code.",
                "nullable": true
              },
              "version": {
                "type": "string",
                "description": "Gets or sets Version",
                "nullable": true
              },
              "interestRate": {
                "type": "number",
                "description": "Gets or sets the interest rate.",
                "format": "decimal",
                "nullable": true
              },
              "collateralCategories": {
                "type": "array",
                "description": "Gets or sets the Collateral Categories displayed in the loan summary.\nFor commercial collateral this is the collateral category (e.g. RealEstate, UCC);\nfor consumer collateral this is the specific consumer type (e.g. Auto, Boat) so the\nsummary reflects the actual type rather than the generic \"Consumer\" category.",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "packageType": {
                "description": "Gets or sets the package type.",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "description": "Gets or sets the HMDA applies indicator.",
                "nullable": true
              },
              "hasHMDACRAWizLicense": {
                "type": "boolean",
                "description": "Gets or sets the has hmda cra wiz license.",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanPolicyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "confessionOfJudgmentCounty": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfessionOfJudgmentCounty"
                  }
                ]
              },
              "confessionOfJudgmentAttorneyInFactCourtDesc": {
                "type": "string",
                "nullable": true
              },
              "confessionOfJudgmentAttorneyInFactName": {
                "type": "string",
                "nullable": true
              },
              "insuranceCancellationDaysCount": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "jurisdiction": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "defaultRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DefaultRateType"
                  }
                ]
              },
              "interestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "additionalMargin": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "gracePeriod": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "lateChargeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LateChargeType"
                  }
                ]
              },
              "percent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "percentOfType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PercentOfType"
                  }
                ]
              },
              "typeCustomDescription": {
                "type": "string",
                "nullable": true
              },
              "federalRegulationOInd": {
                "type": "boolean",
                "nullable": true
              },
              "executionState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "executionCounty": {
                "type": "string",
                "nullable": true
              },
              "executionCity": {
                "type": "string",
                "nullable": true
              },
              "percentOfDescription": {
                "type": "string",
                "nullable": true
              },
              "maximumLateAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumLateAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "combinedLoanAndSecurityAgreementInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanPolicyInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanPolicyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanPolicyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanPolicyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanPolicyInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanPolicyInfo"
              }
            ]
          }
        }
      },
      "PagedResultOfLoanSearchResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoanSearchResult"
            }
          }
        }
      },
      "LoanSearchResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "borrowerName": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "middleName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          },
          "entityName": {
            "type": "string"
          },
          "loanNumber": {
            "type": "string"
          },
          "lineOfBusiness": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LineOfBusinessType"
              }
            ]
          },
          "branchName": {
            "type": "string"
          },
          "loanOfficerName": {
            "type": "string"
          },
          "branchId": {
            "type": "string"
          },
          "loanOfficerId": {
            "type": "string"
          },
          "packageType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PackageType"
              }
            ]
          },
          "loanType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanType"
              }
            ]
          },
          "loanAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "createdByName": {
            "type": "string"
          },
          "templateName": {
            "type": "string"
          },
          "templateStatus": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TemplateStatusType"
              }
            ]
          },
          "amortType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateType"
              }
            ]
          },
          "createdOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closingDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "transactionRoles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/TransactionRole"
            }
          },
          "archivedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "LoanSearchCriteria": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "filters": {
            "$ref": "#/components/schemas/LoanSearchFilters"
          },
          "paging": {
            "$ref": "#/components/schemas/LoanSearchPaging"
          },
          "sorting": {
            "$ref": "#/components/schemas/LoanSearchSorting"
          }
        }
      },
      "LoanSearchFilters": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "searchText": {
            "type": "string",
            "nullable": true
          },
          "lineOfBusiness": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LineOfBusinessType"
            }
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDateStart": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdDateEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closingDateStart": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "closingDateEnd": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "branch": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "loanOfficer": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "packageType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PackageType"
            }
          },
          "loanType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoanType"
            }
          },
          "archived": {
            "type": "boolean",
            "nullable": true
          },
          "isTemplate": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "LoanSearchPaging": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "maxItems": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "continuationToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanSearchSorting": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sortBy": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanSearchSortField"
              }
            ]
          },
          "sortDirection": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanSearchSortDirection"
              }
            ]
          }
        }
      },
      "LoanSearchSortField": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "BorrowerName",
          "LoanNumber",
          "LineOfBusiness",
          "BranchName",
          "LoanOfficerName",
          "PackageType",
          "LoanType",
          "LoanAmount",
          "CreatedByName",
          "TemplateName",
          "TemplateStatus",
          "AmortType",
          "CreatedOn",
          "ClosingDate",
          "LastModified",
          "ArchivedOn"
        ],
        "enum": [
          "BorrowerName",
          "LoanNumber",
          "LineOfBusiness",
          "BranchName",
          "LoanOfficerName",
          "PackageType",
          "LoanType",
          "LoanAmount",
          "CreatedByName",
          "TemplateName",
          "TemplateStatus",
          "AmortType",
          "CreatedOn",
          "ClosingDate",
          "LastModified",
          "ArchivedOn"
        ]
      },
      "LoanSearchSortDirection": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Asc",
          "Desc"
        ],
        "enum": [
          "Asc",
          "Desc"
        ]
      },
      "LoanTermsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "loanProgram": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanProgram"
                  }
                ]
              },
              "loanNumber": {
                "type": "string",
                "nullable": true
              },
              "packageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PackageType"
                  }
                ]
              },
              "loanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "intendedUseOfProceeds": {
                "type": "string",
                "nullable": true
              },
              "interestRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "loanAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "requestedLoanAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "rateChangeFrequencyUnitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateChangeFrequency"
                  }
                ]
              },
              "index": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "indexLookBackInDays": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "indexType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CommercialIndexType"
                  }
                ]
              },
              "indexTypeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "indexLongTypeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "indexTypeTitle": {
                "type": "string",
                "nullable": true
              },
              "margin": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "interestAdjustmentDayType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestAdjustmentDayType"
                  }
                ]
              },
              "indexCustom": {
                "type": "boolean",
                "nullable": true
              },
              "adjustmentPeriod": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "interestRateRoundingMethodType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingMethodType"
                  }
                ]
              },
              "interestRateRoundingPercentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateRoundingPercentType"
                  }
                ]
              },
              "firstPaymentDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "closingDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "initialPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initialPaymentAmountCustom": {
                "type": "boolean",
                "nullable": true
              },
              "interestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "amortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "paymentFrequency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPaymentFrequencyType"
                  }
                ]
              },
              "interestAccrualMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestAccrualMethodType"
                  }
                ]
              },
              "prepayOddDaysInterest": {
                "type": "boolean",
                "nullable": true
              },
              "startDateOption": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StartDateOptionType"
                  }
                ]
              },
              "type": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PrepaymentPenaltyType"
                  }
                ]
              },
              "expirationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "percent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "lastLoanYearNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "monthsNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "userDefinedPrepaymentProvision": {
                "type": "string",
                "nullable": true
              },
              "additionalDemandOptions": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AdditionalDemandOptions"
                  }
                ]
              },
              "advanceExpirationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "lastStepType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LastStepType"
                  }
                ]
              },
              "steps": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PrepayPenaltyStepInfo"
                }
              },
              "paymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "balloonOptions": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BalloonOptions"
                  }
                ]
              },
              "amortizationTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "levelPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "finalBalloonPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "sofrIndexType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SofrIndexType"
                  }
                ]
              },
              "sofrIndexTermDaysNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "treasuryIndexType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TreasuryIndexType"
                  }
                ]
              },
              "treasuryIndexTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "fhlbIndexType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FhlbIndexType"
                  }
                ]
              },
              "fhlbIndexTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "flatFeeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "timingType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimingType"
                  }
                ]
              },
              "startDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "atLenderOptionIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "disclosureDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "discountRateChangeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscountRateChangeType"
                  }
                ]
              },
              "initialRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "preferredRateAutoDebitInd": {
                "type": "boolean",
                "nullable": true
              },
              "preferredRateDepositAccountInd": {
                "type": "boolean",
                "nullable": true
              },
              "preferredRateEmploymentInd": {
                "type": "boolean",
                "nullable": true
              },
              "rateDiscountEmployeePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "rateDiscountAutoDebitPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "preferredRateInd": {
                "type": "boolean",
                "nullable": true
              },
              "automaticDebitAcc": {
                "type": "string",
                "nullable": true
              },
              "rateDiscountDepositAccountPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "rateDiscountDepositMinAmt": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "baseLoanTermsLoanAct": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BaseLoanTermsLoanActType"
                  }
                ]
              },
              "crossCollateralInd": {
                "type": "boolean",
                "nullable": true
              },
              "includeInitialRateInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "nullable": true
              },
              "exportationExporting": {
                "type": "boolean",
                "nullable": true
              },
              "termInMonths": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maturityDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "endOfMonthInd": {
                "type": "boolean",
                "nullable": true
              },
              "militaryLendingActAppliesInd": {
                "type": "boolean",
                "nullable": true
              },
              "maprDisclosureProvidedOrally": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "goToDodMLA": {
                "type": "string",
                "nullable": true
              },
              "additionalRemedies": {
                "type": "string",
                "nullable": true
              },
              "additionalTerms": {
                "type": "string",
                "nullable": true
              },
              "loanPurposeDescription": {
                "type": "string",
                "nullable": true
              },
              "supervisedLoan": {
                "type": "boolean",
                "nullable": true
              },
              "requiresFTCNotice": {
                "type": "boolean",
                "nullable": true
              },
              "requiredDeposit": {
                "type": "boolean",
                "nullable": true
              },
              "automaticPaymentInd": {
                "type": "boolean",
                "nullable": true
              },
              "fundingDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "callReportCode": {
                "type": "string",
                "nullable": true
              },
              "classCode": {
                "type": "string",
                "nullable": true
              },
              "loanGradeCode": {
                "type": "string",
                "nullable": true
              },
              "productCode": {
                "type": "string",
                "nullable": true
              },
              "purposeCode": {
                "type": "string",
                "nullable": true
              },
              "riskCode": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "authorizationNumber": {
                "type": "string",
                "nullable": true
              },
              "streetLine1": {
                "type": "string",
                "nullable": true
              },
              "unitNo": {
                "type": "string",
                "nullable": true
              },
              "unitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddressUnitType"
                  }
                ]
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "zip": {
                "type": "string",
                "nullable": true
              },
              "emailAddress": {
                "type": "string",
                "nullable": true
              },
              "fromAccountNumber": {
                "type": "string",
                "nullable": true
              },
              "fromOtherTypeDescription": {
                "type": "string",
                "nullable": true
              },
              "toAccountNumber": {
                "type": "string",
                "nullable": true
              },
              "toOtherTypeDescription": {
                "type": "string",
                "nullable": true
              },
              "autoTransferFrequencyType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedFrequencyType"
                  }
                ]
              },
              "otherFrequencyDescription": {
                "type": "string",
                "nullable": true
              },
              "maintenanceFeeTriggeringEvent": {
                "type": "string",
                "nullable": true
              },
              "insufficientFundsEventDescription": {
                "type": "string",
                "nullable": true
              },
              "otherTransferFeeChargedToDescription": {
                "type": "string",
                "nullable": true
              },
              "automaticTransferAdditionalTerms": {
                "type": "string",
                "nullable": true
              },
              "terminationDaysDescription": {
                "type": "string",
                "nullable": true
              },
              "permissionRequiredInd": {
                "type": "boolean",
                "nullable": true
              },
              "includeTerminationAgreementInd": {
                "type": "boolean",
                "nullable": true
              },
              "effectiveDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "autoTransferExpirationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "terminationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "automaticPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AutomaticPaymentType"
                  }
                ]
              },
              "fromAccountType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FromAccountType"
                  }
                ]
              },
              "toAccountType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ToAccountType"
                  }
                ]
              },
              "transferReason": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferReasonType"
                  }
                ]
              },
              "frequency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FrequencyType"
                  }
                ]
              },
              "transferDateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferDateType"
                  }
                ]
              },
              "transferFeeChargedTo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TransferFeeChargedToType"
                  }
                ]
              },
              "transferAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumRequiredBalance": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceTransferMultipleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maintenanceFeeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "insufficientFundsTransferMultipleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "insufficientFundsFeeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "purposeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfCreditPurposeType"
                  }
                ]
              },
              "advanceLimitation": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "assetsDescription": {
                "type": "string",
                "nullable": true
              },
              "purposeTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "advanceLimitationDescription": {
                "type": "string",
                "nullable": true
              },
              "loanTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "eachAdvanceMadeIsAmortizedSeparately": {
                "type": "boolean",
                "nullable": true
              },
              "maximumAmortizationTermforEachAdvance": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "loanDetailsVariableRateSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanDetailVariableRatesInfo"
                  }
                ]
              },
              "additionalOptionsSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AdditionalOptionsInfo"
                  }
                ]
              },
              "advancePeriodAmortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "advancePeriodPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "advancePeriodPaymentFrequency": {
                "$ref": "#/components/schemas/LoanPaymentFrequencyType"
              },
              "advancePeriodInterestRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "advancePeriodInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "advancePeriodVariableRateSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AdvancePeriodVariableRatesInfo"
                  }
                ]
              },
              "repaymentPeriodAmortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "repaymentPeriodPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "repaymentPeriodPaymentFrequency": {
                "$ref": "#/components/schemas/LoanPaymentFrequencyType"
              },
              "repaymentPeriodInterestRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "repaymentPeriodInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentPeriodFixedRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateType"
                  }
                ]
              },
              "fixedRateDeterminationSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationInfo"
                  }
                ]
              },
              "loanDetailsFixedRateDeterminationSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationInfo"
                  }
                ]
              },
              "advancePeriodFixedRateDeterminationSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationInfo"
                  }
                ]
              },
              "constructionPeriodFixedRateDeterminationSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationInfo"
                  }
                ]
              },
              "repaymentPeriodVariableRateSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepaymentPeriodVariableRatesInfo"
                  }
                ]
              },
              "conversionDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "ratesPeriodicCap": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ratesPeriodicCapInd": {
                "type": "boolean",
                "nullable": true
              },
              "rateChangeAffectsType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateChangeAffectsType"
                  }
                ]
              },
              "exampleIncreaseScheduledPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreasePaymentAndFinalPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreaseFinalPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreaseMaxInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreaseMinInterestOnlyAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreaseMaxInterestOnlyAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "exampleIncreaseIncreasedRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "skippedPaymentInd": {
                "type": "boolean",
                "nullable": true
              },
              "consumerIndexType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerIndexType"
                  }
                ]
              },
              "initialRateDefinitionType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitialRateDefinitionType"
                  }
                ]
              },
              "interestMarketRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ratesCeiling": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ratesCeilingInd": {
                "type": "boolean",
                "nullable": true
              },
              "preferredRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ratesFloor": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ratesFloorInd": {
                "type": "boolean",
                "nullable": true
              },
              "paymentScheduleStartDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "updateExistingAuthorizationInd": {
                "type": "boolean",
                "nullable": true
              },
              "standingAuthorizationInd": {
                "type": "boolean",
                "nullable": true
              },
              "standingAuthorizationDescription": {
                "type": "string",
                "nullable": true
              },
              "authorizationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "entryType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedPaymentEntryType"
                  }
                ]
              },
              "autoTransferPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreauthorizedPaymentType"
                  }
                ]
              },
              "paymentAmountMethodDescription": {
                "type": "string",
                "nullable": true
              },
              "paymentDescription": {
                "type": "string",
                "nullable": true
              },
              "minimumAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maximumAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "paymentDifferenceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "noticeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NoticeType"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "financialInstitutionName": {
                "type": "string",
                "nullable": true
              },
              "branch": {
                "type": "string",
                "nullable": true
              },
              "financialInstitutionCity": {
                "type": "string",
                "nullable": true
              },
              "financialInstitutionState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "financialInstitutionZip": {
                "type": "string",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "accountNumber": {
                "type": "string",
                "nullable": true
              },
              "accountType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AccountType"
                  }
                ]
              },
              "financialInstitutionRoutingNumber": {
                "type": "string",
                "nullable": true
              },
              "voidedItemInd": {
                "type": "boolean",
                "nullable": true
              },
              "insufficientFundsPolicyDescription": {
                "type": "string",
                "nullable": true
              },
              "nonProcessingDayPolicyDescription": {
                "type": "string",
                "nullable": true
              },
              "revocationManner": {
                "type": "string",
                "nullable": true
              },
              "noticeTimeRequirement": {
                "type": "string",
                "nullable": true
              },
              "authorizationRevocationPolicy": {
                "type": "string",
                "nullable": true
              },
              "achEffectiveDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "achTerminationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "achOtherFrequencyDescription": {
                "type": "string",
                "nullable": true
              },
              "constructionLoanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionLoanType"
                  }
                ]
              },
              "constructionLoanAgreementType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionLoanAgreementType"
                  }
                ]
              },
              "constructionPeriodAmortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "constructionPeriodPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "constructionPeriodPaymentFrequency": {
                "$ref": "#/components/schemas/LoanPaymentFrequencyType"
              },
              "constructionPeriodInterestRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "constructionPeriodInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "constructionPeriodVariableRateSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConstructionPeriodVariableRatesInfo"
                  }
                ]
              },
              "permanentPeriodAmortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "permanentPeriodPaymentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentType"
                  }
                ]
              },
              "permanentPeriodPaymentFrequency": {
                "$ref": "#/components/schemas/LoanPaymentFrequencyType"
              },
              "permanentPeriodInterestRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InterestRateType"
                  }
                ]
              },
              "permanentPeriodInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "permanentPeriodFixedRateType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateType"
                  }
                ]
              },
              "permanentPeriodVariableRateSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PermanentPeriodVariableRatesInfo"
                  }
                ]
              },
              "permanentPeriodFixedRateDeterminationSubSection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PermanentPeriodFixedRateDeterminationInfo"
                  }
                ]
              },
              "advanceMethods": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AdvanceMethods"
                }
              },
              "advanceClarifyingInformationDescription": {
                "type": "string",
                "nullable": true
              },
              "mobileApplicationName": {
                "type": "string",
                "nullable": true
              },
              "advanceMethodOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "authorizationforPaymentAdvancetoThirdParty": {
                "type": "boolean",
                "nullable": true
              },
              "withdrawalofPayments": {
                "type": "boolean",
                "nullable": true
              },
              "automaticWithdrawalOptOut": {
                "type": "boolean",
                "nullable": true
              },
              "effectiveRateChangeDescription": {
                "type": "string",
                "nullable": true
              },
              "initialAdvanceDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "initialAdvanceRequired": {
                "type": "boolean",
                "nullable": true
              },
              "initialAdvanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "safeHarborType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SafeHarborType"
                  }
                ]
              },
              "remainingBalancethatRequiresFullPayment": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceIncrement": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minimumAdvanceMethodType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MinimumAdvanceMethodType"
                  }
                ]
              },
              "advanceMethodTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "minimumLineBalance": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maxAdvanceAmountTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceAmountUnit": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimeUnit"
                  }
                ]
              },
              "maxAdvanceNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maxAdvanceTermUnit": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TimeUnit"
                  }
                ]
              },
              "brandofCard": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BrandOfCard"
                  }
                ]
              },
              "cardName": {
                "type": "string",
                "nullable": true
              },
              "brandofCardOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "minimumDaysAfterBillingCycleEnds": {
                "type": "string",
                "nullable": true
              },
              "maxDecreasePerPeriod": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maxIncreasePerPeriod": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "periodicRateCapType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PeriodicRateCapType"
                  }
                ]
              },
              "variableRateIndexfortheLoanisNotintheCreditorsControlandisPubliclyAvailable": {
                "type": "boolean",
                "nullable": true
              },
              "specialCheckName": {
                "type": "string",
                "nullable": true
              },
              "txFinanceChargeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TXFinanceChargeType"
                  }
                ]
              },
              "addendumsToAgreement": {
                "type": "string",
                "nullable": true
              },
              "paymentAllocation": {
                "type": "string",
                "nullable": true
              },
              "openEndAgreementTypeOptions": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OpenEndAgreementTypeOptions"
                  }
                ]
              },
              "maxAdvanceAmountLimit": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maximumAmountofAdvancesAllowed": {
                "type": "boolean",
                "nullable": true
              },
              "maximumNumberofAdvancesAllowed": {
                "type": "boolean",
                "nullable": true
              },
              "customPaymentAllocation": {
                "type": "boolean",
                "nullable": true
              },
              "jurisdiction": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "alertSummary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlertSummary"
                  }
                ]
              },
              "termForPremiumOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "termForPremium": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TermForPremium"
                  }
                ]
              },
              "rateAppliedToOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "rateAppliedTo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateAppliedTo"
                  }
                ]
              },
              "creditInsuranceSelected": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceOffered": {
                "type": "boolean",
                "nullable": true
              },
              "coverageAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "coverageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CoverageType"
                  }
                ]
              },
              "deductibleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "eligibilityConditionsDescription": {
                "type": "string",
                "nullable": true
              },
              "exceptionsDescription": {
                "type": "string",
                "nullable": true
              },
              "insuredEventDescription": {
                "type": "string",
                "nullable": true
              },
              "multipleCreditInsuranceAvailable": {
                "type": "boolean",
                "nullable": true
              },
              "multipleCreditInsurancePurchasedSeparately": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceRateDetails": {
                "type": "string",
                "nullable": true
              },
              "creditInsurancePremium": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "creditInsuranceRequired": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "creditInsuranceTermUnitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceTermUnitType"
                  }
                ]
              },
              "creditInsuranceType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceType"
                  }
                ]
              },
              "creditInsuranceTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "waitingOrEliminationPeriodDescription": {
                "type": "string",
                "nullable": true
              },
              "waiverOfPremiumProvisions": {
                "type": "string",
                "nullable": true
              },
              "creditInsuranceSolicitedOverPhone": {
                "type": "boolean",
                "nullable": true
              },
              "planName": {
                "type": "string",
                "nullable": true
              },
              "callOptionDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "callOption": {
                "type": "boolean",
                "nullable": true
              },
              "triggeringBalanceAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "financeChargeComputed": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FinanceChargeComputed"
                  }
                ]
              },
              "methodOfRounding": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MethodOfRounding"
                  }
                ]
              },
              "roundingValues": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RoundingValues"
                  }
                ]
              },
              "insuredPartyName": {
                "type": "string",
                "nullable": true
              },
              "repayMaxMin": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepayMaxMin"
                  }
                ]
              },
              "amountInterestRangeBegins": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "requiredMinimumPayment": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "amountInterestRangeEnds": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DrawRepaymentType"
                }
              },
              "repayRepaymentType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RepayRepaymentType"
                }
              },
              "repaymentMethodValue": {
                "type": "string",
                "nullable": true
              },
              "lengthOfRepaymentPeriod": {
                "type": "string",
                "nullable": true
              },
              "repaymentUnitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepaymentUnitType"
                  }
                ]
              },
              "repaymentDetail": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepaymentDetail"
                  }
                ]
              },
              "lifetimeCeiling": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifetimeCeilingType"
                  }
                ]
              },
              "lifetimeFloor": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LifetimeFloorType"
                  }
                ]
              },
              "initialRateTermNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "initialRateTerm": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InitialRateTermType"
                  }
                ]
              },
              "ceilingMargin": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "floorMargin": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initialPeriodicRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "marketPeriodicRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initialAPR": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "marketAPR": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "billingFrequency": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingFrequency"
                  }
                ]
              },
              "drawRepaymentMethod1Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod2Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod3Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod4Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod5Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod6Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod7Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod8Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod9Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod10Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod11Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod12Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod13Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod14Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod15Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod16Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod17Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentMethod18Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod1Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod2Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod3Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod4Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod5Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod6Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod7Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod8Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod9Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod10Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod11Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod12Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod13Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod14Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod15Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod16Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod17Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod18Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentMethod19Value": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "drawRepaymentRangeofBalances": {
                "type": "array",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DrawRepaymentRangeofBalances"
                }
              },
              "repayRepaymentRangeofBalances": {
                "type": "array",
                "description": "When the amount corresponding to the range in which my account balance falls on the last day of the billing cycle as reflected in a range of balances table",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RepayRepaymentRangeofBalances"
                }
              },
              "repayRepaymentDetail": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RepayRepaymentDetail"
                  }
                ]
              },
              "drawRepaymentDetail": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DrawRepaymentDetail"
                  }
                ]
              },
              "userDefinedRatesPaymentsIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "userDefinedPrincipalAndInterestPaymentRecalculationTermsDescription": {
                "type": "string",
                "nullable": true
              },
              "agriculturalPurpose": {
                "type": "boolean",
                "nullable": true
              },
              "sbaLoanInd": {
                "type": "boolean",
                "nullable": true
              },
              "customPayments": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CustomPaymentInfo"
                }
              },
              "customRates": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CustomRateInfo"
                }
              },
              "loanDetailPhaseTwoAmortTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fixedRateDeterminationType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationType"
                  }
                ]
              },
              "advancePeriodFixedRateDeterminationType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationType"
                  }
                ]
              },
              "constructionPeriodFixedRateDeterminationType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FixedRateDeterminationType"
                  }
                ]
              },
              "initialInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "advancePeriodInitialInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "constructionPeriodInitialInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "permanentPeriodInitialInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "repaymentPeriodInitialInterestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "nullable": true
              },
              "partiallyExemptInd": {
                "type": "boolean",
                "nullable": true
              },
              "preapprovalInd": {
                "type": "boolean",
                "nullable": true
              },
              "hmdaLoanPurposeType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HmdaLoanPurposeType"
                  }
                ]
              },
              "submissionOfApplication": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubmissionOfApplicationType"
                  }
                ]
              },
              "legalEntityId": {
                "type": "string",
                "nullable": true
              },
              "universalLoanId": {
                "type": "string",
                "nullable": true
              },
              "ratioSubsection": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RatioSubsectionInfo"
                  }
                ]
              },
              "applicationDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "originalLoanDetails": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OriginalLoanDetailsInfo"
                  }
                ]
              },
              "modificationDetails": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModificationDetailsInfo"
                  }
                ]
              },
              "initialRateCapsDecreasePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initialRateCapsIncreasePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initialRateCapsApplicableInd": {
                "type": "boolean",
                "nullable": true
              },
              "includeRateIndexInDateAndPartiesSummaryInd": {
                "type": "boolean",
                "nullable": true
              },
              "ratesInitRateSubjFloorInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "PrepayPenaltyStepInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "prepayPenaltyStepInfoStartDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "prepayPenaltyStepInfoEndDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "LoanDetailVariableRatesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AdditionalOptionsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "balloonOptions": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BalloonOptions"
              }
            ]
          },
          "amortizationTerm": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "levelPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "finalBalloonPaymentAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "prepayOddDaysInterest": {
            "type": "boolean",
            "nullable": true
          },
          "skippedPaymentIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "skippedPaymentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SkippedPaymentType"
              }
            ]
          },
          "skippedPaymentMonth": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SkippedPaymentMonth"
            }
          },
          "delayedPaymentWithInterestOnlyPeriodInd": {
            "type": "boolean",
            "nullable": true
          },
          "interestOnlyTerm": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lastInterestOnlyPaymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "firstPrincipalPaymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "authorizationDocumentInd": {
            "type": "boolean",
            "nullable": true
          },
          "accountInstitution": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AutoTransferAccountInstitution"
              }
            ]
          },
          "lenderRoutingNumber": {
            "type": "string",
            "nullable": true
          },
          "financialInstitutionName": {
            "type": "string",
            "nullable": true
          },
          "financialInstitutionRoutingNumber": {
            "type": "string",
            "nullable": true
          },
          "rateDiscountAutoDebitPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "fromAccountType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FromAccountType"
              }
            ]
          },
          "accountIdentifier": {
            "type": "string",
            "nullable": true
          },
          "additionalPrincipalAmountInd": {
            "type": "boolean",
            "nullable": true
          },
          "additionalPrincipalAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "teaserRateIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "teaserRateTerm": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "teaserRateHoldDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "teaserRateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateType"
              }
            ]
          },
          "teaserInterestRate": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "variableTeaserRate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/VariableTeaserRateInfo"
              }
            ]
          },
          "ratesCeilingInd": {
            "type": "boolean",
            "nullable": true
          },
          "ratesCeiling": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "ratesFloorInd": {
            "type": "boolean",
            "nullable": true
          },
          "ratesFloor": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "ratesPeriodicCapInd": {
            "type": "boolean",
            "nullable": true
          },
          "ratesPeriodicCap": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "modificationCreationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationCreationType"
              }
            ]
          }
        }
      },
      "VariableTeaserRateInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "teaserIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "teaserIndexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "teaserIndexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "teaserFHLBIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "teaserFHLBIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "teaserTreasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "teaserTreasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "teaserSOFRIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "teaserSOFRIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "teaserIndex": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "teaserIndexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "teaserMargin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "teaserRateChangeFrequency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "teaserAdjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "teaserInterestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "teaserInterestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "teaserIndexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AdvancePeriodVariableRatesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "FixedRateDeterminationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "RepaymentPeriodVariableRatesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "ConstructionPeriodVariableRatesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "PermanentPeriodVariableRatesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "PermanentPeriodFixedRateDeterminationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "indexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CommercialIndexType"
              }
            ]
          },
          "indexTypeTitle": {
            "type": "string",
            "nullable": true
          },
          "indexTypeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "sofrIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SofrIndexType"
              }
            ]
          },
          "sofrIndexTermDaysNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "treasuryIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TreasuryIndexType"
              }
            ]
          },
          "treasuryIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "fhlbIndexType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FhlbIndexType"
              }
            ]
          },
          "fhlbIndexTypeOtherDescription": {
            "type": "string",
            "nullable": true
          },
          "index": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "indexCustom": {
            "type": "boolean",
            "nullable": true
          },
          "margin": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "interestRateRoundingMethodType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingMethodType"
              }
            ]
          },
          "interestRateRoundingPercentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InterestRateRoundingPercentType"
              }
            ]
          },
          "indexLookBackInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "rateChangeFrequencyUnitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RateChangeFrequency"
              }
            ]
          },
          "adjustmentPeriod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CustomPaymentInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "paymentNumberDescription": {
            "type": "string",
            "nullable": true
          },
          "paymentAmountTypeDescription": {
            "type": "string",
            "nullable": true
          },
          "paymentTimingDescription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomRateInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "interestRateTypeDescription": {
            "type": "string",
            "nullable": true
          },
          "interestRateDescription": {
            "type": "string",
            "nullable": true
          },
          "interestRateTimingDescription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "RatioSubsectionInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "totalIncomeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "dtiPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "combinedLTVPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "excludeIncomeFromHMDAInd": {
            "type": "boolean",
            "nullable": true
          },
          "excludeDTIFromHMDAInd": {
            "type": "boolean",
            "nullable": true
          },
          "excludeCLTVFromHMDAInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "OriginalLoanDetailsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "modificationCreationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationCreationType"
              }
            ]
          },
          "originalLoanType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanType"
              }
            ]
          },
          "originalLoanAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "originalClosingDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "originalMaturityDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "originalAdditionalDemandOptions": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AdditionalDemandOptions"
              }
            ]
          },
          "originalAdvanceExpirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "loanNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ModificationDetailsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "extendMaturityDateInd": {
            "type": "boolean",
            "nullable": true
          },
          "modifyInterestRateInd": {
            "type": "boolean",
            "nullable": true
          },
          "modificationInterestRateDesc": {
            "type": "string",
            "nullable": true
          },
          "extendAdvanceExpirationDateInd": {
            "type": "boolean",
            "nullable": true
          },
          "modifyLoanAmountInd": {
            "type": "boolean",
            "nullable": true
          },
          "modificationAvailabilityType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationAvailabilityType"
              }
            ]
          },
          "currentBalanceAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "userDefinedModificationInd": {
            "type": "boolean",
            "nullable": true
          },
          "modificationUserDefinedDesc": {
            "type": "string",
            "nullable": true
          },
          "previousAmendmentInd": {
            "type": "boolean",
            "nullable": true
          },
          "previouslyAmendedLoanAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "formAmendmentLoanUserDefinedWhereasAppliesInd": {
            "type": "boolean",
            "nullable": true
          },
          "formAmendmentLoanUserDefinedWhereasDesc": {
            "type": "string",
            "nullable": true
          },
          "formAmendmentLoanAdditionalProvisionsInd": {
            "type": "boolean",
            "nullable": true
          },
          "formAmendmentLoanAdditionalProvisionsTitleDesc": {
            "type": "string",
            "nullable": true
          },
          "formAmendmentLoanAdditionalProvisionsDesc": {
            "type": "string",
            "nullable": true
          },
          "modifyOtherTermsInd": {
            "type": "boolean",
            "nullable": true
          },
          "modifyOtherTermsDesc": {
            "type": "string",
            "nullable": true
          },
          "institutionSuccessorInd": {
            "type": "boolean",
            "nullable": true
          },
          "predecessorInstitutionName": {
            "type": "string",
            "nullable": true
          },
          "predecessorInstitutionTermDescription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanTermsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanTermsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanTermsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanTermsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanTermsInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanTermsInfo"
              }
            ]
          }
        }
      },
      "CalculationSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amountFinanced": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "closedEndEarlyAPRPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "initialAPR": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "type": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanType"
              }
            ]
          },
          "financeChargeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nonTRIDTotal": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "maturityDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "InsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "gapInsuranceOfferedInd": {
                "type": "boolean",
                "nullable": true
              },
              "gapInsuranceSelectedInd": {
                "type": "boolean",
                "nullable": true
              },
              "gapTerm": {
                "type": "string",
                "nullable": true
              },
              "gapAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "gapInsuredPartyNoId": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GapInsuredParty"
                }
              },
              "creditInsuranceOffered": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceSelected": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceRequired": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsurance": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditInsuranceInfo"
                }
              },
              "loanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "jurisdiction": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              }
            }
          }
        ]
      },
      "GapInsuredParty": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "gapInsuredPartyNoId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "termForPremiumOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "termForPremium": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TermForPremium"
                  }
                ]
              },
              "rateAppliedToOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "rateAppliedTo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RateAppliedTo"
                  }
                ]
              },
              "coverageAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "coverageType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CoverageType"
                  }
                ]
              },
              "deductibleAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "eligibilityConditionsDescription": {
                "type": "string",
                "nullable": true
              },
              "exceptionsDescription": {
                "type": "string",
                "nullable": true
              },
              "insuredEventDescription": {
                "type": "string",
                "nullable": true
              },
              "multipleCreditInsuranceAvailable": {
                "type": "boolean",
                "nullable": true
              },
              "multipleCreditInsurancePurchasedSeparately": {
                "type": "boolean",
                "nullable": true
              },
              "creditInsuranceRateDetails": {
                "type": "string",
                "nullable": true
              },
              "creditInsurancePremium": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "creditInsuranceTerm": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "creditInsuranceTermUnitType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceTermUnitType"
                  }
                ]
              },
              "creditInsuranceType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreditInsuranceType"
                  }
                ]
              },
              "creditInsuranceTypeOtherDescription": {
                "type": "string",
                "nullable": true
              },
              "waitingOrEliminationPeriodDescription": {
                "type": "string",
                "nullable": true
              },
              "waiverOfPremiumProvisions": {
                "type": "string",
                "nullable": true
              },
              "creditInsuranceSolicitedOverPhone": {
                "type": "boolean",
                "nullable": true
              },
              "otherInsuredParty": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OtherInsuredPartyInfo"
                }
              },
              "singleInsuredParty": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OtherInsuredPartyInfo"
                }
              }
            }
          }
        ]
      },
      "OtherInsuredPartyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "partyId": {
                "type": "string",
                "nullable": true
              },
              "partyName": {
                "type": "string",
                "nullable": true
              },
              "birthDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "emailAddress": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "InsuranceInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfInsuranceInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfInsuranceInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfInsuranceInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/InsuranceInfo"
              }
            ]
          }
        }
      },
      "NewLoanRequest": {
        "type": "object",
        "description": "Request body for creating a new loan file from the dashboard.",
        "additionalProperties": false,
        "required": [
          "lineOfBusiness",
          "partyType"
        ],
        "properties": {
          "lineOfBusiness": {
            "description": "Gets or sets the line of business for the new loan (Commercial or Consumer).",
            "oneOf": [
              {
                "$ref": "#/components/schemas/LineOfBusinessType"
              }
            ]
          },
          "loanOriginationType": {
            "description": "Gets or sets the loan origination type for the new loan.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanOriginationType"
              }
            ]
          },
          "partyType": {
            "type": "string",
            "description": "Gets or sets the party type of the primary borrower (e.g. \"Individual\", \"Corporation\").",
            "minLength": 1
          },
          "transactionRoles": {
            "type": "array",
            "description": "Gets or sets the transaction roles assigned to the primary borrower (e.g. [\"Borrower\"]).",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "loanNumber": {
            "type": "string",
            "description": "Gets or sets an optional loan number to assign to the new loan.",
            "nullable": true
          },
          "branchCode": {
            "type": "string",
            "description": "Gets or sets an optional branch code to associate with the new loan.",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "description": "Gets or sets the entity name. Required when PartyType is not Individual.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "Gets or sets the first name. Required when PartyType is Individual.",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "description": "Gets or sets the optional middle name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Gets or sets the last name. Required when PartyType is Individual.",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "description": "Gets or sets the optional name suffix (e.g. \"Jr.\", \"Sr.\").",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "description": "Gets or sets the optional template identifier to use as the source for the new loan file.\nWhen supplied, the new loan is created by copying the specified template instead of\ncreating a blank loan file. The template must exist, belong to the same account, and\nhave IsTemplate set to true.",
            "nullable": true
          }
        }
      },
      "MigrationNotificationItemInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "sourceVersion": {
            "type": "integer",
            "format": "int32"
          },
          "targetVersion": {
            "type": "integer",
            "format": "int32"
          },
          "level": {
            "$ref": "#/components/schemas/MigrationNotificationLevel"
          },
          "message": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDismissed": {
            "type": "boolean"
          },
          "dismissedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dismissedBy": {
            "type": "string",
            "nullable": true
          },
          "unmigratedItemsCount": {
            "type": "integer",
            "format": "int32"
          },
          "unmigratedItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeRecord"
            }
          }
        }
      },
      "NavigationMenuInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "menuItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NavigationMenuItem"
            }
          }
        }
      },
      "NavigationMenuItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "isRoot": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "isLastNodeInSection": {
            "type": "boolean"
          },
          "requiredPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NavigationMenuItem"
            }
          },
          "isAvailable": {
            "type": "boolean"
          },
          "isDisabled": {
            "type": "boolean"
          }
        }
      },
      "PackagesInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "createdPackageInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreatedPackageInfo"
                }
              },
              "queuePackagesInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/QueuePackageInfo"
                }
              },
              "smartSignPackageInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SmartSignPackageInfo"
                }
              },
              "smartSignPackageId": {
                "type": "string",
                "nullable": true
              },
              "status": {
                "type": "string",
                "nullable": true
              },
              "message": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "CreatedPackageInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "packageFormat": {
            "$ref": "#/components/schemas/DocumentsPackageFormat"
          },
          "packageType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PackageType"
              }
            ]
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "preview": {
            "type": "boolean"
          },
          "links": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/PackageStatus"
          },
          "packets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreatedPackageInfo"
            }
          }
        }
      },
      "QueuePackageInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/PackageStatus"
          },
          "elapsedTime": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SmartSignPackageInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "sentToSmartSign": {
                "type": "boolean",
                "nullable": true
              },
              "packageName": {
                "type": "string",
                "nullable": true
              },
              "type": {
                "type": "string",
                "nullable": true
              },
              "date": {
                "type": "string",
                "description": "The date and time of when the package was sent to SmartSign Plus.",
                "format": "date-time",
                "nullable": true
              },
              "statusShort": {
                "type": "string",
                "nullable": true
              },
              "statusLong": {
                "type": "string",
                "nullable": true
              },
              "recipients": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RecipientInfo"
                }
              },
              "smartSignURL": {
                "type": "string",
                "nullable": true
              },
              "groups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/GroupInfo"
                }
              },
              "instanceId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "GroupInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IndexedDomainObject"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "SmartSignPackageInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfSmartSignPackageInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfSmartSignPackageInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfSmartSignPackageInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfSmartSignPackageInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SmartSignPackageInfo"
              }
            ]
          }
        }
      },
      "PackageEventLogInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "packageName": {
                "type": "string"
              },
              "user": {
                "type": "string"
              },
              "eventDate": {
                "type": "string",
                "format": "date-time"
              },
              "clientIP": {
                "type": "string"
              },
              "action": {
                "$ref": "#/components/schemas/EventLogPackageStatus"
              }
            }
          }
        ]
      },
      "PackageEventLogListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPackageEventLogListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPackageEventLogListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPackageEventLogListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPackageEventLogListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PackageEventLogListInfo"
              }
            ]
          }
        }
      },
      "PackageEventLogListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "packageEventLogList": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PackageEventLogInfo"
                }
              }
            }
          }
        ]
      },
      "AllOrdersListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPackagesInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPackagesInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPackagesInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPackagesInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PackagesInfo"
              }
            ]
          }
        }
      },
      "EoriginalResponse": {
        "type": "object",
        "description": "class EoriginalResponse",
        "additionalProperties": false,
        "properties": {
          "isError": {
            "type": "boolean",
            "description": "Gets or sets the is error.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets or sets the smart sign package status.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the smart sign package Message.",
            "nullable": true
          }
        }
      },
      "PartyListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "parties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PartyInfo"
                }
              },
              "maxParties": {
                "type": "integer",
                "format": "int32"
              },
              "duplicateReviewMessages": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DuplicateReviewMessageInfo"
                }
              }
            }
          }
        ]
      },
      "PartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "$ref": "#/components/schemas/BorrowingPartyType"
          },
          "transactionRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionRole"
            }
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "loanAgreemrntId": {
            "type": "string",
            "nullable": true
          },
          "guarantyId": {
            "type": "string",
            "nullable": true
          },
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "requiredSignatures": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "relatedParties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelatedPartyInfo"
            }
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "relationshipRoles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelationshipRole"
            }
          },
          "assigned": {
            "type": "string",
            "nullable": true
          },
          "relationshipRoleTrusts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelationshipRoleTrust"
            }
          },
          "subordinatedId": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "typeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FieldAttributeEntryInfo"
            }
          },
          "isDeleteDisabled": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "RelatedPartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "relatedPartyId": {
            "type": "string",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "nullable": true
          },
          "ownershipPercentage": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "sharesCount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "relationShipInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelationShipInfo"
            }
          },
          "partyType": {
            "$ref": "#/components/schemas/BorrowingPartyType"
          },
          "relatedParties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedPartyInfo"
            }
          },
          "requiredSignatures": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "relationshipRoleTrust": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelationshipRoleTrust"
            }
          },
          "docSignerInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "RelationShipInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "relationshipRole": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RelationshipRole"
              }
            ]
          },
          "docSignerInd": {
            "type": "boolean"
          },
          "relationshipRoleTrust": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DuplicateReviewMessageInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "partyId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PartyListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPartyListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPartyListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPartyListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPartyListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PartyListInfo"
              }
            ]
          }
        }
      },
      "PartyDetailInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPartyDetailInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPartyDetailInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPartyDetailInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPartyDetailInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PartyDetailInfo"
              }
            ]
          }
        }
      },
      "PartyDetailInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "middleName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "dbaName": {
                "type": "string",
                "nullable": true
              },
              "trustDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "trustRevocableInd": {
                "type": "boolean",
                "nullable": true
              },
              "mailing": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyDetailAddressInfo"
                  }
                ]
              },
              "residence": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyDetailAddressInfo"
                  }
                ]
              },
              "transactionRoles": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TransactionRole"
                }
              },
              "partyType": {
                "$ref": "#/components/schemas/BorrowingPartyType"
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "citizenship": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Citizenship"
                  }
                ]
              },
              "birthDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "ssn": {
                "type": "string",
                "nullable": true
              },
              "ein": {
                "type": "string",
                "nullable": true
              },
              "businessDesc": {
                "type": "string",
                "nullable": true
              },
              "organizationId": {
                "type": "string",
                "nullable": true
              },
              "hasILienLicense": {
                "type": "string",
                "nullable": true
              },
              "maritalStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MaritalStatus"
                  }
                ]
              },
              "marriedToId": {
                "type": "string",
                "nullable": true
              },
              "alternativeName": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AlternativeNameInfo"
                }
              },
              "emailAddress": {
                "type": "string",
                "nullable": true
              },
              "preferred": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PhoneType"
                  }
                ]
              },
              "home": {
                "type": "string",
                "nullable": true
              },
              "cell": {
                "type": "string",
                "nullable": true
              },
              "work": {
                "type": "string",
                "nullable": true
              },
              "workExt": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "useCurrentAddressForMailing": {
                "type": "boolean"
              },
              "identification": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/IdentificationInfo"
                }
              },
              "corporationBoardOfDirectorsMeetingDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "corporationAuthorizeByType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CorporationAuthorizeByType"
                  }
                ]
              },
              "corporationSealIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "corporationShareholdersMeetingDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "corporationVoteType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CorporationVoteType"
                  }
                ]
              },
              "establishedState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "entityName": {
                "type": "string",
                "nullable": true
              },
              "limitedLiabilityCompanyManagementType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LimitedLiabilityCompanyManagementType"
                  }
                ]
              },
              "nonProfitIndicator": {
                "type": "boolean",
                "nullable": true
              },
              "operatingAgreementDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "organizingDocumentDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "organizationDocumentsDesc": {
                "type": "string",
                "nullable": true
              },
              "organizationDocumentsDescCustom": {
                "type": "boolean"
              },
              "policy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PolicyInfo"
                  }
                ]
              },
              "chiefExecutiveOfficeLocationStateInd": {
                "type": "boolean"
              },
              "chiefExecutiveOfficeLocationState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateAbbr"
                  }
                ]
              },
              "loanAgreemrntId": {
                "type": "string",
                "nullable": true
              },
              "guarantyId": {
                "type": "string",
                "nullable": true
              },
              "collateralId": {
                "type": "string",
                "nullable": true
              },
              "numberDependents": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "dependentsAges": {
                "type": "string",
                "nullable": true
              },
              "includePOA": {
                "type": "boolean",
                "nullable": true
              },
              "previous": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PartyDetailAddressInfo"
                  }
                ]
              },
              "nearestRelative": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NearestRelativeInfo"
                  }
                ]
              },
              "powerOfAttorney": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PowerOfAttorneyInfo"
                  }
                ]
              },
              "federalRegulationOAddendumSignerInd": {
                "type": "boolean",
                "nullable": true
              },
              "totalMonthlyIncome": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "employmentIncome": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "otherIncome": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "employment": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EmploymentDetailsInfo"
                }
              },
              "otherIncomes": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OtherIncomeInfo"
                }
              },
              "insiderType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/InsiderType"
                  }
                ]
              },
              "previousCreditInd": {
                "type": "boolean",
                "nullable": true
              },
              "previousCreditDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "previousCreditBranchDesc": {
                "type": "string",
                "nullable": true
              },
              "incomeReducedInd": {
                "type": "boolean",
                "nullable": true
              },
              "riskBasedPricingForm": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RiskBasedPricingForm"
                  }
                ]
              },
              "creditScoreItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditScoreItemInfo"
                }
              },
              "creditModelItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CreditModelInfo"
                }
              },
              "comakerToOtherDebtsInd": {
                "type": "boolean",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "payeeName": {
                "type": "string",
                "nullable": true
              },
              "bankruptInd": {
                "type": "boolean",
                "nullable": true
              },
              "bankruptcyLocation": {
                "type": "string",
                "nullable": true
              },
              "bankruptcyYear": {
                "type": "string",
                "nullable": true
              },
              "telephoneConsumerProtectionActConsentInd": {
                "type": "boolean",
                "nullable": true
              },
              "hasCreditReportItem": {
                "type": "boolean",
                "nullable": true
              },
              "aliasName": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AliasNameInfo"
                }
              },
              "subsidiaryCustomerInd": {
                "type": "boolean",
                "nullable": true
              },
              "signatureNameAffidavitInd": {
                "type": "boolean",
                "nullable": true
              },
              "customerReportAdditionalInformationDesc": {
                "type": "string",
                "nullable": true
              },
              "loanPurpose": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanPurposeType"
                  }
                ]
              },
              "loanPurposeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "isFirstInTransaction": {
                "type": "boolean",
                "nullable": true
              },
              "integrationPartyId": {
                "type": "string",
                "nullable": true
              },
              "resolutionOfAddressDiscrepancies": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ResolutionOfAddressDiscrepanciesInfo"
                  }
                ]
              },
              "trust": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TrustInfo"
                  }
                ]
              },
              "businessTrustInd": {
                "type": "boolean",
                "nullable": true
              },
              "publiclyTradedInd": {
                "type": "boolean",
                "nullable": true
              },
              "legalEntityIdentifier": {
                "type": "string",
                "nullable": true
              },
              "beneficialOwners": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BeneficialOwnerInfo"
                }
              },
              "subordinatedDebtId": {
                "type": "string",
                "nullable": true
              },
              "typeOtherDesc": {
                "type": "string",
                "nullable": true
              },
              "duplicateReviewMessage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DuplicateReviewMessageInfo"
                  }
                ]
              },
              "partyServiceId": {
                "type": "string",
                "nullable": true
              },
              "searchType": {
                "type": "string",
                "nullable": true
              },
              "isErrorInPartyCreateOrUpdate": {
                "type": "boolean",
                "nullable": true
              },
              "genderType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GenderData"
                  }
                ]
              },
              "ethnicityType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EthnicityType"
                }
              },
              "otherHispanicOrLatinoDesc": {
                "type": "string",
                "nullable": true
              },
              "raceType": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/RaceType"
                }
              },
              "americanIndianOrAlaskaNativeDesc": {
                "type": "string",
                "nullable": true
              },
              "otherAsianDesc": {
                "type": "string",
                "nullable": true
              },
              "otherPacificIslander": {
                "type": "string",
                "nullable": true
              },
              "ethnicityDeterminant": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EthnicityDeterminantType"
                  }
                ]
              },
              "genderDeterminant": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GenderDeterminantType"
                  }
                ]
              },
              "raceDeterminant": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RaceDeterminantType"
                  }
                ]
              },
              "demographicInformationIsProvidedBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DemographicInformationProvidedByType"
                  }
                ]
              },
              "monthlyIncomeAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "excludeAgeInd": {
                "type": "boolean",
                "nullable": true
              },
              "hmdaAppliesInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "PartyDetailAddressInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "useCurrentAddressforMailing": {
            "type": "boolean",
            "nullable": true
          },
          "ownRent": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HousingStatusType"
              }
            ]
          },
          "ownRentOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "yearsAtAddress": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AlternativeNameInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IdentificationInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "identificationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IdentificationType"
              }
            ]
          },
          "typeOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "issuedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "issuedByType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IssuedBy"
              }
            ]
          },
          "issuedByOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "primaryID": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "PolicyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "authorityDocumentInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "NearestRelativeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "home": {
            "type": "string",
            "nullable": true
          },
          "cell": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PowerOfAttorneyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "poaEmailAddress": {
            "type": "string",
            "nullable": true
          },
          "powerOfAttorneyDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "powerOfAttorneyDescription": {
            "type": "string",
            "nullable": true
          },
          "certificationOfContinuingPowerOfAttorneyInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "EmploymentDetailsInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "employmentType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EmploymentType"
              }
            ]
          },
          "selfEmployedInd": {
            "type": "boolean",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "yearsEmployed": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "employerName": {
            "type": "string",
            "nullable": true
          },
          "contactName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "streetLine1": {
            "type": "string",
            "nullable": true
          },
          "unitType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressUnitType"
              }
            ]
          },
          "unitNo": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "currentIncome": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/IncomeInfo"
            }
          },
          "previousIncome": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/IncomeInfo"
            }
          },
          "employmentOrder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "verbalVerificationInd": {
            "type": "boolean",
            "nullable": true
          },
          "contactTitle": {
            "type": "string",
            "nullable": true
          },
          "thirdPartySource": {
            "type": "string",
            "nullable": true
          },
          "additionalInformation": {
            "type": "string",
            "nullable": true
          },
          "verificationOfEmploymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "verifierName": {
            "type": "string",
            "nullable": true
          },
          "verifierTitle": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IncomeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "incomeType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IncomeType"
              }
            ]
          },
          "incomeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "OtherIncomeInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "incomeType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/OtherIncomeType"
              }
            ]
          },
          "incomeDescription": {
            "type": "string",
            "nullable": true
          },
          "incomeAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "incomeReceivedUnder": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/IncomeReceivedUnder"
              }
            ]
          }
        }
      },
      "CreditScoreItemInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "riskBasedPricingForm": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RiskBasedPricingForm"
              }
            ]
          },
          "creditReportIdentifier": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Source"
              }
            ]
          },
          "creditScoringModel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CreditScoringModel"
              }
            ]
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "score": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "percentile": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lowCreditScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "highCreditScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "creditScoreNAInd": {
            "type": "boolean",
            "nullable": true
          },
          "creditScoreUsedForRiskBasedPricingInd": {
            "type": "boolean",
            "nullable": true
          },
          "creditScoreUsedOnNoticeOfActionInd": {
            "type": "boolean",
            "nullable": true
          },
          "creditScoreUsedForLoanDecisionInd": {
            "type": "boolean",
            "nullable": true
          },
          "factorItems": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FactorItemInfo"
            }
          },
          "originalScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "usedForHMDAInd": {
            "type": "boolean",
            "nullable": true
          },
          "hmdaMoreThanOneScoringModelInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "FactorItemInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "factorText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreditModelInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "creditModelType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CreditScoringModel"
              }
            ]
          },
          "lowCreditScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "highCreditScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AliasNameInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResolutionOfAddressDiscrepanciesInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "additionalInformationDesc": {
            "type": "string",
            "nullable": true
          },
          "agencyNotifiedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "applicationAddress": {
            "type": "string",
            "nullable": true
          },
          "consumerReportAddress": {
            "type": "string",
            "nullable": true
          },
          "accountTypeDesc": {
            "type": "string",
            "nullable": true
          },
          "correctAddress": {
            "type": "string",
            "nullable": true
          },
          "resolutionOfAddressDiscrepanciesInd": {
            "type": "boolean",
            "nullable": true
          },
          "methodAccountEstablishedOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "methodAccountEstablishedType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MethodAccountEstablishedType"
              }
            ]
          },
          "methodIdentityVerifiedOtherDesc": {
            "type": "string",
            "nullable": true
          },
          "accountEstablishedInd": {
            "type": "boolean",
            "nullable": true
          },
          "methodIdentityVerifiedType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MethodIdentityVerifiedType"
              }
            ]
          },
          "reportingAgencyDesc": {
            "type": "string",
            "nullable": true
          },
          "verifiedByDesc": {
            "type": "string",
            "nullable": true
          },
          "verifiedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "verifiedIdentityInd": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "TrustInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "revocableInd": {
            "type": "boolean",
            "nullable": true
          },
          "recordedCounty": {
            "type": "string",
            "nullable": true
          },
          "recordedDistrictDesc": {
            "type": "string",
            "nullable": true
          },
          "recordedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "declarationRecordingType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DeclarationRecordingType"
              }
            ]
          },
          "recordedBookDesc": {
            "type": "string",
            "nullable": true
          },
          "recordedPageDesc": {
            "type": "string",
            "nullable": true
          },
          "documentIdentifier": {
            "type": "string",
            "nullable": true
          },
          "certificateOfTitleIdentifier": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BeneficialOwnerInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "title": {
                "type": "string",
                "nullable": true
              },
              "role": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/BeneficialOwnerRole"
                }
              },
              "ownershipPercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "nonUSOwnerInd": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "GenderData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isMaleGenderType": {
            "type": "boolean",
            "nullable": true
          },
          "isFemaleGenderType": {
            "type": "boolean",
            "nullable": true
          },
          "informationNotProvidedByApplicant": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "ModificationSummaryPartiesListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "parties": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ModificationSummaryInfo"
                }
              },
              "confirmRelease": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ModificationSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyId": {
            "type": "string",
            "nullable": true
          },
          "partyRole": {
            "type": "string",
            "nullable": true
          },
          "modificationStatus": {
            "type": "string",
            "nullable": true
          },
          "transactionRole": {
            "type": "string",
            "nullable": true
          },
          "modificationCreationType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DeleteLoanPartyResponse": {
        "type": "object",
        "description": "Response payload returned when a loan party is deleted.",
        "additionalProperties": false,
        "properties": {
          "loanFile": {
            "description": "Gets or sets the updated loan file.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanFile"
              }
            ]
          },
          "isErrorInPartyCreateOrUpdate": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether the Party Management database update failed\nwhile unlinking the parent parties.",
            "nullable": true
          }
        }
      },
      "RelatedPartyDetailsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfRelatedPartyDetailsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfRelatedPartyDetailsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfRelatedPartyDetailsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfRelatedPartyDetailsInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/RelatedPartyDetailsInfo"
              }
            ]
          }
        }
      },
      "RelatedPartyDetailsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "borrowingPartyId": {
                "type": "string"
              },
              "requiredSignatures": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "relatedParties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RelatedPartyInfo"
                }
              }
            }
          }
        ]
      },
      "ModificationSummaryListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfModificationSummaryPartiesListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfModificationSummaryPartiesListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfModificationSummaryPartiesListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfModificationSummaryPartiesListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ModificationSummaryPartiesListInfo"
              }
            ]
          }
        }
      },
      "ReviewDuplicateOptionsViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCustomerSearchResponseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCustomerSearchResponseInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCustomerSearchResponseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCustomerSearchResponseInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerSearchResponseInfo"
              }
            ]
          }
        }
      },
      "CustomerSearchResponseInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "customers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CustomerInfo"
                }
              },
              "customerSearchType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSearchType"
                  }
                ]
              },
              "searchToken": {
                "type": "string",
                "nullable": true
              },
              "duplicateReviewMessage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DuplicateReviewMessageInfo"
                  }
                ]
              }
            }
          }
        ]
      },
      "CustomerInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "integrationPartyId": {
            "type": "string",
            "nullable": true
          },
          "partyServiceId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "legalName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PartyDetailAddressInfo"
              }
            ]
          },
          "mailing": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PartyDetailAddressInfo"
              }
            ]
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "orderNo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "dbaName": {
            "type": "string",
            "nullable": true
          },
          "home": {
            "type": "string",
            "nullable": true
          },
          "preferred": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PhoneType"
              }
            ]
          },
          "cell": {
            "type": "string",
            "nullable": true
          },
          "work": {
            "type": "string",
            "nullable": true
          },
          "workExt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identification": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/IdentificationInfo"
            }
          },
          "ein": {
            "type": "string",
            "nullable": true
          },
          "establishedState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EstablishedState"
              }
            ]
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "organizationId": {
            "type": "string",
            "nullable": true
          },
          "sourceSystem": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "lastModifiedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "partySearchType": {
            "$ref": "#/components/schemas/PartySearchType"
          },
          "requiredSignatures": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "relatedParties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelatedPartyInfo"
            }
          },
          "eTag": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PartySearchType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CoreIntegration",
          "PartyManagement"
        ],
        "enum": [
          "CoreIntegration",
          "PartyManagement"
        ]
      },
      "CustomerSearchType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Core",
          "PartyDatabase"
        ],
        "enum": [
          "Core",
          "PartyDatabase"
        ]
      },
      "PartyCreateResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "isCreated": {
            "type": "boolean",
            "nullable": true
          },
          "errorResponse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Party_ErrorResponse"
              }
            ]
          },
          "duplicateConflictResponse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Party_DuplicateConflictResponse"
              }
            ]
          }
        }
      },
      "Party_ErrorResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "nullable": true
          }
        }
      },
      "Party_DuplicateConflictResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "duplicateMatches": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Party_DuplicateMatch"
            }
          }
        }
      },
      "Party_DuplicateMatch": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "ssnOrEin": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PartyUpdateResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "isUpdated": {
            "type": "boolean",
            "nullable": true
          },
          "problemDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Party_ProblemDetails"
              }
            ]
          }
        }
      },
      "Party_ProblemDetails": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          },
          "extensions": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          }
        }
      },
      "PartyUpdateRequestInfo": {
        "type": "object",
        "description": "Request payload for updating a party in the Party Management database.",
        "additionalProperties": false,
        "properties": {
          "partyServiceId": {
            "type": "string",
            "description": "Gets or sets the party service identifier (Party Management database id) to update.",
            "nullable": true
          },
          "partyId": {
            "type": "string",
            "description": "Gets or sets the borrowing party id identifier to update.",
            "nullable": true
          },
          "version": {
            "type": "string",
            "description": "Gets or sets version of entity.",
            "nullable": true
          }
        }
      },
      "DuplicateReviewSearchRequestInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyId": {
            "type": "string",
            "nullable": true
          },
          "continuationToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "RefreshPartiesResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "notFoundPartyIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "isPartiesCreated": {
            "type": "boolean",
            "nullable": true
          },
          "isPartiesUpdated": {
            "type": "boolean",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "createdPartyIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "updatedPartyIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "problemDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Party_ProblemDetails"
              }
            ]
          }
        }
      },
      "PartyGridSearchResponseInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyGridResponseInfos": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PartyGridResponseInfo"
            }
          },
          "token": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PartyGridResponseInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "integrationPartyId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "dbaName": {
            "type": "string",
            "nullable": true
          },
          "ssnOrEin": {
            "type": "string",
            "nullable": true
          },
          "hasLinkedParties": {
            "type": "boolean",
            "nullable": true
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "nullable": true
          },
          "modifiedOn": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "relatedParties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RelatedParty"
            }
          },
          "linkedParties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LinkedPartyInfo"
            }
          }
        }
      },
      "LinkedPartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "relationshipType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PartyGridSearchRequestInfo": {
        "type": "object",
        "description": "Represents the search criteria used to query parties from the Party Database.",
        "additionalProperties": false,
        "properties": {
          "searchText": {
            "type": "string",
            "description": "Gets or sets the optional search text used to filter parties. A blank value returns all parties.",
            "nullable": true
          },
          "token": {
            "type": "string",
            "description": "Gets or sets the optional continuation token used to retrieve the next page of results.",
            "nullable": true
          }
        }
      },
      "Party_DeletePartyResponse": {
        "type": "object",
        "additionalProperties": {},
        "properties": {
          "partyId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomerSearchRequestInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCustomerSearchRequestInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCustomerSearchRequestInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCustomerSearchRequestInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCustomerSearchRequestInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerSearchRequestInfo"
              }
            ]
          }
        }
      },
      "CustomerSearchRequestInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "searchType": {
            "type": "string",
            "nullable": true
          },
          "searchCriteria": {
            "type": "string",
            "nullable": true
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "entity": {
            "type": "string",
            "nullable": true
          },
          "firstLastName": {
            "type": "string",
            "nullable": true
          },
          "dba": {
            "type": "string",
            "nullable": true
          },
          "integrationPartyId": {
            "type": "string",
            "nullable": true
          },
          "ein": {
            "type": "string",
            "nullable": true
          },
          "searchToken": {
            "type": "string",
            "nullable": true
          },
          "partyDatabaseSSN": {
            "type": "string",
            "nullable": true
          },
          "partyDatabaseEIN": {
            "type": "string",
            "nullable": true
          },
          "partyServiceId": {
            "type": "string",
            "nullable": true
          },
          "excludePartyServiceIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CustomerSearchResult": {
        "type": "object",
        "description": "Carries the result of a customer search invocation, including the response view model\nand whether the loan file's audit-validation state was mutated in-memory.\nThe caller is responsible for persisting the loan file when LoanFileModified is\ntrue.",
        "additionalProperties": false,
        "properties": {
          "viewModel": {
            "description": "Gets the mapped customer search response view model.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomerSearchResponseInfoViewModel"
              }
            ]
          },
          "loanFile": {
            "description": "Gets the (potentially mutated) loan file.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanFile"
              }
            ]
          },
          "loanFileModified": {
            "type": "boolean",
            "description": "Gets a value indicating whether the loan file audit-validation state was changed and the caller\nmust persist it via ExecuteUpdateCommandAsync."
          }
        }
      },
      "CustomerSearchResponseInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCustomerSearchResponseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "PaymentScheduleListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPaymentScheduleListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPaymentScheduleListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPaymentScheduleListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPaymentScheduleListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PaymentScheduleListInfo"
              }
            ]
          }
        }
      },
      "PaymentScheduleListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "maturityDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "interestRate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "headerTemplate": {
                "type": "string",
                "nullable": true
              },
              "paymentSchedule": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PaymentScheduleInfo"
                }
              },
              "consolidatedPaymentScheduleList": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConsolidatedPaymentScheduleInfo"
                }
              }
            }
          }
        ]
      },
      "PaymentScheduleInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "paymentNumber": {
            "type": "integer",
            "format": "int32"
          },
          "paymentDueDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "numberOfDaysInUnitPeriod": {
            "type": "integer",
            "format": "int32"
          },
          "paymentAmount": {
            "type": "number",
            "format": "decimal"
          },
          "interestAmount": {
            "type": "number",
            "format": "decimal"
          },
          "principalAmount": {
            "type": "number",
            "format": "decimal"
          },
          "outstandingBalance": {
            "type": "number",
            "format": "decimal"
          },
          "interestRate": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "ConsolidatedPaymentScheduleInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "paymentFrequency": {
                "$ref": "#/components/schemas/LoanPaymentFrequencyType"
              },
              "startDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "paymentNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "minPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "maxPaymentAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "paymentAmount": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "PayoffListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "payoffs": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PayoffInfo"
                }
              }
            }
          }
        ]
      },
      "PayoffInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "payeeNameDesc": {
                "type": "string",
                "nullable": true
              },
              "paidFrom": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeePaidFrom"
                  }
                ]
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "PayoffListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPayoffListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPayoffListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPayoffListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPayoffListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PayoffListInfo"
              }
            ]
          }
        }
      },
      "PayoffInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfPayoffInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfPayoffInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfPayoffInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfPayoffInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PayoffInfo"
              }
            ]
          }
        }
      },
      "UserPagedResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "results": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/User"
            }
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "User": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "phoneExtension": {
            "type": "string",
            "nullable": true
          },
          "isServiceAccount": {
            "type": "boolean",
            "nullable": true
          },
          "isWhiteLabel": {
            "type": "boolean",
            "nullable": true
          },
          "isRegistered": {
            "type": "boolean",
            "nullable": true
          },
          "suppressEmails": {
            "type": "boolean",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid",
              "nullable": true
            }
          },
          "userDescription": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isPendingPasswordReset": {
            "type": "boolean",
            "nullable": true
          },
          "isLockedOut": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "IndexRateData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "rate": {
            "type": "number",
            "format": "double"
          },
          "indexType": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CollateralRelatedPartyInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfCollateralRelatedPartyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfCollateralRelatedPartyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfCollateralRelatedPartyInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfCollateralRelatedPartyInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralRelatedPartyInfo"
              }
            ]
          }
        }
      },
      "CollateralRelatedPartyInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "preparedBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RelatedPartyContactInfo"
                  }
                ]
              },
              "returnedTo": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RelatedPartyContactInfo"
                  }
                ]
              },
              "recordingRequestedBy": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RelatedPartyContactInfo"
                  }
                ]
              }
            }
          }
        ]
      },
      "RelatedPartyContactInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "printOptIndicator": {
            "type": "boolean",
            "nullable": true
          },
          "returnedToPartyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ReturnedToPartyType"
              }
            ]
          },
          "preparedByPartyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ReturnedToPartyType"
              }
            ]
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "contactName": {
            "type": "string",
            "nullable": true
          },
          "deliveryType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DeliveryType"
              }
            ]
          }
        }
      },
      "ApiResult": {
        "type": "object",
        "description": "Class: ApiResult",
        "additionalProperties": false,
        "properties": {
          "response": {
            "description": "Gets or sets the response.",
            "nullable": true
          },
          "entityType": {
            "type": "string",
            "description": "Gets or sets the type of the entity."
          }
        }
      },
      "SettingsNavInfo": {
        "type": "object",
        "description": "Class: SettingsNavInfo.",
        "additionalProperties": false,
        "properties": {
          "navigationItems": {
            "type": "array",
            "description": "Gets or sets the navigation items.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AccountInfo": {
        "type": "object",
        "description": "Class: AccountInfo.",
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string",
            "description": "Gets or sets the account identifier.",
            "nullable": true
          },
          "accountName": {
            "type": "string",
            "description": "Gets or sets the account name.",
            "nullable": true
          },
          "accountType": {
            "type": "string",
            "description": "Gets or sets the account type.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gets or sets the account name.",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "Gets or sets the account unique identifier.",
            "format": "guid"
          }
        }
      },
      "BranchInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "branchCode": {
            "type": "string",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "settingsType": {
            "$ref": "#/components/schemas/SettingsType"
          },
          "isCopyOrganizationDefault": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "SettingsType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Account",
          "Branch"
        ],
        "enum": [
          "account",
          "branch"
        ]
      },
      "UserSettingsInfo": {
        "type": "object",
        "description": "Class: UserSettingsInfo.",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "description": "Gets or sets the user identifier.",
            "nullable": true
          },
          "userSettingsData": {
            "type": "object",
            "description": "Gets or sets the user settings data.",
            "nullable": true,
            "additionalProperties": {}
          }
        }
      },
      "UserSettingsDTO": {
        "type": "object",
        "description": "Class: UserSettingsDTO.",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "description": "Gets or sets the user identifier.",
            "nullable": true
          },
          "area": {
            "type": "string",
            "description": "Gets or sets the area.",
            "nullable": true
          },
          "userSettingsData": {
            "type": "object",
            "description": "Gets or sets the user settings data.",
            "nullable": true,
            "additionalProperties": {}
          }
        }
      },
      "BranchSettingsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "branchName": {
            "type": "string",
            "nullable": true
          },
          "branchCode": {
            "type": "string",
            "nullable": true
          },
          "branchId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "isCopyOrganizationDefault": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "LoanDocumentsInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanDocumentsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanDocumentsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanDocumentsInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanDocumentsInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanDocumentsInfo"
              }
            ]
          }
        }
      },
      "LoanDocumentsInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "stateSpecific": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StateSpecificInfo"
                  }
                ]
              },
              "smartSignPackages": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SmartSignPackage"
                }
              }
            }
          }
        ]
      },
      "StateSpecificInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "iaDeferralChargeInd": {
            "type": "boolean",
            "nullable": true
          },
          "txFormTexasPledgeOfMultiplePartyAccountNoticeInd": {
            "type": "boolean",
            "nullable": true
          },
          "wiFormNoticeOfRelationShipWisconsinReceivedDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimateType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ThirdPartyFeesTotalEstimateType"
              }
            ]
          },
          "wiThirdPartyFeesTotalEstimateAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimatePercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimateRangeFromAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimateRangeToAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimateRangeFromPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "wiThirdPartyFeesTotalEstimateRangeToPercent": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "flDocStampTaxPmtType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DocStampPaymentType"
              }
            ]
          },
          "flDocStampFeeCertId": {
            "type": "string",
            "nullable": true
          },
          "wiSubsidiaryName": {
            "type": "string",
            "description": "The name of the subsidiary.",
            "nullable": true
          },
          "wiSubsidiaryStreetAddress": {
            "type": "string",
            "nullable": true
          },
          "wiSubsidiaryCity": {
            "type": "string",
            "nullable": true
          },
          "wiSubsidiaryState": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StateAbbr"
              }
            ]
          },
          "wiSubsidiaryZip": {
            "type": "string",
            "nullable": true
          },
          "wiInstrumentCopyIncludedInd": {
            "type": "boolean",
            "nullable": true
          },
          "wiNoticeOfRightToCancelOptionalInsInd": {
            "type": "boolean",
            "nullable": true
          },
          "wiOptionalInsuranceDescription": {
            "type": "string",
            "nullable": true
          },
          "wiOptionalInsurancePremiumAmount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "kyIncludeKentuckyPartialPaymentApplOfPaymentsOrderInd": {
            "type": "boolean",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceInd": {
            "type": "boolean",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceBeneficiaryName": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceBeneficiaryAddress": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceCoverage1Desc": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceCoverage2Desc": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceCoverage3Desc": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceCoverage4Desc": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceCoverage5Desc": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsuranceInsCompanyName": {
            "type": "string",
            "nullable": true
          },
          "nmAuthorizationToObtainInsurancePremium1Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nmAuthorizationToObtainInsurancePremium2Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nmAuthorizationToObtainInsurancePremium3Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nmAuthorizationToObtainInsurancePremium4Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nmAuthorizationToObtainInsurancePremium5Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "sdState": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SDStateInfo"
            }
          },
          "marylandFeesDesc": {
            "type": "string",
            "description": "A description of the points loan origination fees loan discount fees and other similar fees the Borrower agrees to pay in connection with the note.",
            "nullable": true
          },
          "maSmallBusinessInd": {
            "type": "boolean",
            "description": "If true there is at least one borrower that had gross revenues of $1,000,000.00 or less in its preceding fiscal year.",
            "nullable": true
          },
          "maSmallBusinessParties": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/MASmallBusinessPartyInfo"
            }
          }
        }
      },
      "SDStateInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ownerId": {
            "type": "string",
            "description": "The owner identifier that links this SD record to a specific Trust party.",
            "nullable": true
          },
          "ownerName": {
            "type": "string",
            "description": "The name of the Trust party (from BorrowingParty.EntityName).",
            "nullable": true
          },
          "alsoKnownAsName": {
            "type": "string",
            "description": "An 'also known as' or alternate name or names of the collateral owner.",
            "nullable": true
          },
          "courtImposedRestrictionsDesc": {
            "type": "string",
            "description": "Restrictions imposed on trustees of the owner by a court.",
            "nullable": true
          },
          "originalTrusteeNames": {
            "type": "string",
            "description": "The names of all the original trustees of an owner that is a trust.",
            "nullable": true
          },
          "trustProvisionsDesc": {
            "type": "string",
            "description": "Describe other pertinent trust provisions.",
            "nullable": true
          },
          "trustSupervisedInd": {
            "type": "boolean",
            "description": "If true, the trust is supervised by a court.",
            "nullable": true
          },
          "trustRelatedParties": {
            "type": "array",
            "description": "List of related parties with GrantorTrustorSettlor relationship and their title type.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/TrustRelatedPartyInfo"
            }
          }
        }
      },
      "TrustRelatedPartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "relatedPartyId": {
            "type": "string",
            "description": "The identifier of the related party.",
            "nullable": true
          },
          "partyName": {
            "type": "string",
            "description": "The name of the Grantor/Trustor/Settlor party.",
            "nullable": true
          },
          "trustorNameTitleType": {
            "description": "The title type for the Grantor/Trustor/Settlor (Unknown, Trustor, Grantor, or Settlor).",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TrustorNameTitleType"
              }
            ]
          }
        }
      },
      "MASmallBusinessPartyInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partyId": {
            "type": "string",
            "description": "The identifier of the borrower selected as a Massachusetts small business.",
            "nullable": true
          },
          "maGrossAnnualRevenue": {
            "type": "number",
            "description": "The gross annual revenue amount for the borrower in its preceding fiscal year.",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "SubordinatedDebtListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "subordinatedDebts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SubordinatedDebtInfo"
                }
              },
              "maxSubordinatedDebts": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "SubordinatedDebtInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              },
              "borrower": {
                "type": "string",
                "nullable": true
              },
              "creditor": {
                "type": "string",
                "nullable": true
              },
              "amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "indebtednessSecuredInd": {
                "type": "boolean",
                "nullable": true
              },
              "underlyingNoteInd": {
                "type": "boolean",
                "nullable": true
              },
              "paymentsPermitted": {
                "type": "boolean",
                "nullable": true
              },
              "paymentExceptionType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentExceptionType"
                  }
                ]
              },
              "limitedMaximumType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LimitedMaximumType"
                  }
                ]
              },
              "permittedPaymentsAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "borrowerName": {
                "type": "string",
                "nullable": true
              },
              "creditorName": {
                "type": "string",
                "nullable": true
              },
              "isEditDisabled": {
                "type": "boolean",
                "nullable": true
              },
              "isDeleteDisabled": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ]
      },
      "SubordinatedDebtInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfSubordinatedDebtInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfSubordinatedDebtInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfSubordinatedDebtInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfSubordinatedDebtInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SubordinatedDebtInfo"
              }
            ]
          }
        }
      },
      "SubordinatedDebtListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfSubordinatedDebtListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfSubordinatedDebtListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfSubordinatedDebtListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfSubordinatedDebtListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SubordinatedDebtListInfo"
              }
            ]
          }
        }
      },
      "LoanTemplateInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "templateId": {
                "type": "string",
                "nullable": true
              },
              "templateName": {
                "type": "string",
                "nullable": true
              },
              "templateStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateStatusType"
                  }
                ]
              },
              "lineOfBusiness": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineOfBusinessType"
                  }
                ]
              },
              "branchCode": {
                "type": "string",
                "nullable": true
              },
              "loanType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LoanType"
                  }
                ]
              },
              "purpose": {
                "type": "string",
                "nullable": true
              },
              "packageType": {
                "type": "string",
                "nullable": true
              },
              "amortType": {
                "type": "string",
                "nullable": true
              },
              "createdBy": {
                "type": "string",
                "nullable": true
              },
              "createdOn": {
                "type": "string",
                "nullable": true
              },
              "lastModified": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LoanTemplateInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanTemplateInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanTemplateInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanTemplateInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanTemplateInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanTemplateInfo"
              }
            ]
          }
        }
      },
      "CreateLoanFromTemplateInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lineOfBusiness": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LineOfBusinessType"
              }
            ]
          },
          "template": {
            "type": "string",
            "nullable": true
          },
          "partyType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BorrowingPartyType"
              }
            ]
          },
          "transactionRoles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/TransactionRole"
            }
          },
          "entityName": {
            "type": "string",
            "nullable": true
          },
          "loanNumber": {
            "type": "string",
            "nullable": true
          },
          "branch": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LoanTemplateListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfLoanTemplateListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfLoanTemplateListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfLoanTemplateListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfLoanTemplateListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LoanTemplateListInfo"
              }
            ]
          }
        }
      },
      "LoanTemplateListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanTemplateInfos": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LoanTemplateInfo"
                }
              },
              "maxLoanTemplate": {
                "type": "integer",
                "format": "int32"
              },
              "totalLoanTemplate": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "UserAccountInfo": {
        "type": "object",
        "description": "DTO for a user's accessible account, used for both deserialization of\nthe wk-account claim and as the API response contract.",
        "additionalProperties": false,
        "properties": {
          "AccountId": {
            "type": "integer",
            "description": "Gets or sets the account identifier.",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "description": "Gets or sets the account name."
          },
          "PermissionCodes": {
            "type": "array",
            "description": "Gets or sets the permission codes for this account.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "ProductClaims": {
            "type": "array",
            "description": "Gets or sets the product claims for this account.",
            "nullable": true,
            "items": {}
          },
          "IpFilterEnabled": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether IP filtering is enabled for this account."
          },
          "UniqueId": {
            "type": "string",
            "description": "Gets or sets the unique identifier for this account.",
            "nullable": true
          },
          "CustomerNumber": {
            "type": "string",
            "description": "Gets or sets the customer number for this account.",
            "nullable": true
          }
        }
      },
      "AllAccountsResultItem": {
        "type": "object",
        "description": "A single result item returned by the Support Line all-accounts endpoint. See AC 2.",
        "additionalProperties": false,
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "Gets or sets the account's unique identifier."
          },
          "name": {
            "type": "string",
            "description": "Gets or sets the account name."
          },
          "accountId": {
            "type": "integer",
            "description": "Gets or sets the account's legacy integer identifier.",
            "format": "int32"
          }
        }
      },
      "ValuationResponse": {
        "type": "object",
        "description": "Represents the response from a Valuation service, including the PDF content, status, and any associated error\nmessage.",
        "additionalProperties": false,
        "properties": {
          "pdf": {
            "type": "string",
            "description": "Gets or sets the PDF content as a string.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets or sets the status of the credit response.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the error message associated with the credit response.",
            "nullable": true
          },
          "link": {
            "type": "string",
            "description": "Gets or sets the hyperlink associated with the object.",
            "nullable": true
          }
        }
      },
      "ValuationOrderSummaryInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "valuationOrderInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ValuationOrderInfo"
              }
            ]
          },
          "valuationHeader": {
            "type": "string",
            "nullable": true
          },
          "mustReorderValuationInd": {
            "type": "boolean",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "valuationType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ValuationType"
              }
            ]
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "collateralDetailsMotorVehicle": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CollateralDetailsMotorVehicleInfo"
              }
            ]
          },
          "collateralReferenceId": {
            "type": "string",
            "nullable": true
          },
          "vinInfo": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "valuationMotorVehicleInfos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValuationMotorVehicleInfo"
            }
          },
          "actionStates": {
            "$ref": "#/components/schemas/ValuationActionInfo"
          },
          "orderType": {
            "type": "string",
            "nullable": true
          },
          "motorVehicle": {
            "type": "string",
            "nullable": true
          },
          "alertsummary": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AlertSummary"
              }
            ]
          }
        }
      },
      "ValuationOrderInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "referenceNumber": {
                "type": "string",
                "nullable": true
              },
              "documentTitle": {
                "type": "string",
                "nullable": true
              },
              "user": {
                "type": "string",
                "nullable": true
              },
              "orderTimestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "expireTimestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "status": {
                "type": "string",
                "nullable": true
              },
              "id": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ValuationMotorVehicleInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "collateralDetailsMotorVehicleInfo": {
            "$ref": "#/components/schemas/CollateralDetailsMotorVehicleInfo"
          },
          "collateralReferenceId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ValuationActionInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "canRetrieveFromDocumentTitle": {
            "type": "boolean"
          },
          "canDownload": {
            "type": "boolean"
          },
          "canReorder": {
            "type": "boolean"
          },
          "vinChanged": {
            "type": "boolean"
          },
          "expired": {
            "type": "boolean"
          },
          "orderTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expireTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "currentVin": {
            "type": "string",
            "nullable": true
          },
          "originalVin": {
            "type": "string",
            "nullable": true
          },
          "collateralId": {
            "type": "string",
            "nullable": true
          },
          "valuationId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ValuationOrderListInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfValuationOrderListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfValuationOrderListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfValuationOrderListInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfValuationOrderListInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ValuationOrderListInfo"
              }
            ]
          }
        }
      },
      "ValuationOrderListInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "valuationOrderSummaryInfo": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ValuationOrderSummaryInfo"
                }
              },
              "alertsummary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlertSummary"
                  }
                ]
              },
              "errorMessagesSummary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AlertSummary"
                  }
                ]
              },
              "canOrderValuation": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ValuationOrderSummaryInfoViewModel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FullViewModelOfValuationOrderSummaryInfo"
          },
          {
            "type": "object",
            "additionalProperties": false
          }
        ]
      },
      "FullViewModelOfValuationOrderSummaryInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ViewModelOfValuationOrderSummaryInfo"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ModelState"
                  }
                ]
              }
            }
          }
        ]
      },
      "ViewModelOfValuationOrderSummaryInfo": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "model": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ValuationOrderSummaryInfo"
              }
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Paste your JWT access token here (without the 'Bearer ' prefix).",
        "in": "header",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "XSRF-TOKEN": {
        "type": "apiKey",
        "description": "Paste the value of the XSRF-TOKEN cookie here.",
        "name": "X-XSRF-TOKEN",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    },
    {
      "XSRF-TOKEN": []
    }
  ]
}